drawal1 commented on issue #9793: URL: https://github.com/apache/pinot/issues/9793#issuecomment-1325578883
Thanks to @mayankshriv for pointing me in the right direction. The key is setting pinot.set.instance.id.to.hostname to true. Here is what I did to ensure that controller/broker/server id's were not based on IP address, but set tot the hostname: 1 Use config files for starting controller/broker/server. For example, here are my commands from the kube yaml: - pinot-admin.sh StartController -configFileName /pinot-config/pinot-controller.conf - pinot-admin.sh StartBroker -clusterName pinot -zkAddress zookeeper:2181 -configFileName /pinot-config/pinot-broker.conf - pinot-admin.sh StartServer -clusterName pinot -zkAddress zookeeper:2181 -configFileName /pinot-config/pinot-server.conf 2. Set pinot.set.instance.id.to.hostname to true in pinot-controller.conf, pinot-broker.conf, and pinot-server.conf. For example, here is what my conf files look like: **pinot-controller.conf:** controller.helix.cluster.name=pinot controller.port=9000 #controller.vip.host=pinot-controller #controller.vip.port=9000 controller.access.protocols.http.port=9000 controller.data.dir=/data controller.zk.str=zookeeper:2181 pinot.set.instance.id.to.hostname=true **pinot-broker.conf:** pinot.broker.client.queryPort=8099 pinot.broker.routing.table.builder.class=random pinot.set.instance.id.to.hostname=true **pinot-server.conf:** pinot.server.netty.port=8098 pinot.server.adminapi.port=8097 pinot.server.instance.dataDir=/data pinot.set.instance.id.to.hostname=true -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org