MarvinCai opened a new issue, #16904:
URL: https://github.com/apache/pulsar/issues/16904

   **Describe the bug**
   We set `-Djava.net.preferIPv4Stack=true` by default to support running in 
ipv4 env for most users. But if user want to run Pulsar in ipv6 env they should 
be able to override the behavior by setting 
`BOOKIE_EXTRA_OPTS=-Djava.net.preferIPv4Stack=false` for the bookkeeper init 
command to work, however this doesn't work due to the order we apply envs in 
`bin/bookkeeper` script.
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Run `bin/bookkeeper shell initnewcluster` in ipv6 env.
   
   **Expected behavior**
   User provided env should take precedence over default ones.
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to