awilliams commented on issue #813: Global and local zookeeper should use 
different stats server ports
URL: 
https://github.com/apache/incubator-pulsar/issues/813#issuecomment-338050464
 
 
   I worked around this by updating `conf/pulsar_env.sh`, changing where 
`PULSAR_EXTRA_OPTS` is overwritten. I then launch global zookeeper with the 
following env variable set:
   
   ```shell
   PULSAR_EXTRA_OPTS="-Dstats_server_port=8081"
   ```
   
   Modified line 
([original](https://github.com/apache/incubator-pulsar/blob/539c8182037fe540433eeb4e7072e4bf2b3eae04/conf/pulsar_env.sh#L51)):
   
   ```
   PULSAR_EXTRA_OPTS="${PULSAR_EXTRA_OPTS} ${PULSAR_MEM} ${PULSAR_GC} 
-Dio.netty.leakDetectionLevel=disabled -Dio.netty.recycler.linkCapacity=1024"
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to