zey1996 commented on issue #23843:
URL: https://github.com/apache/pulsar/issues/23843#issuecomment-2588817084

   I add `-Djava.net.preferIPv4Stack=false` opt in broker launch command.
   and I still get exception, like this:
   ```
   containers:
     - args:
       - |
         bin/apply-config-from-env.py conf/broker.conf; bin/gen-yml-from-env.py 
conf/functions_worker.yml; echo "OK" > status; bin/pulsar zookeeper-shell 
-server my-release-pulsar-zookeeper:2181 get 
/loadbalance/brokers/${HOSTNAME}.my-release-pulsar-broker.milvus.svc.cluster.local:8080;
 while [ $? -eq 0 ]; do
           echo "broker 
${HOSTNAME}.my-release-pulsar-broker.milvus.svc.cluster.local znode still 
exists ... check in 10 seconds ...";
           sleep 10;
           bin/pulsar zookeeper-shell -server my-release-pulsar-zookeeper:2181 
get 
/loadbalance/brokers/${HOSTNAME}.my-release-pulsar-broker.milvus.svc.cluster.local:8080;
         done; cat conf/pulsar_env.sh; OPTS="${OPTS} 
-Dlog4j2.formatMsgNoLookups=true -Djava.net.preferIPv4Stack=false" exec 
bin/pulsar broker;
       command:
       - sh
       - -c
   ```
   It doesn't seem to work. Maybe I did was wrong,or it's a new problem?


-- 
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...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to