https://pinot.apache.org/ logo
#general
Title
# general
a

Alice

03/31/2022, 8:48 AM
If I want to run pinot-admin.sh StartController command using args instead of using a config file. How can I set properties like controller.host, controller.data.dir, etc?
k

Kartik Khare

03/31/2022, 8:49 AM
Yes, that is possible. You can see the supported CLI configs here - https://docs.pinot.apache.org/operators/cli#start-controller
a

Alice

03/31/2022, 9:00 AM
what about pinot.server.instance.id property?
k

Kartik Khare

03/31/2022, 9:04 AM
That is not possible I think. You will have to use config file for that. Can I understand why do you want to avoid a config file? Is it due to limited access to environment, security reasons or something else?
a

Alice

03/31/2022, 9:19 AM
It’s not a problem if I build a Docker image and put the config file in it. Otherwise, I have to use data volume.
I think if it’s not necessary to set instanceId if hostname and port is already set. So, it’s no longer a problem for me. 😅. Thanks @User
k

Kartik Khare

03/31/2022, 9:51 AM
Yeah, it is not necessary. By default, it will use host and port