Ensure ZK prioritizes IPv4
This commit is contained in:
parent
457e18a850
commit
72df058684
|
@ -5,6 +5,6 @@ ZOOCFG=/etc/zookeeper/conf/zoo.cfg
|
||||||
ZOO_LOG_DIR=/var/log/zookeeper
|
ZOO_LOG_DIR=/var/log/zookeeper
|
||||||
ZOO_LOG4J_PROP=INFO,ROLLINGFILE
|
ZOO_LOG4J_PROP=INFO,ROLLINGFILE
|
||||||
JMXLOCALONLY=false
|
JMXLOCALONLY=false
|
||||||
JAVA_OPTS=""
|
JAVA_OPTS="-Djava.net.preferIPv4Stack=True"
|
||||||
JAVA=/usr/bin/java
|
JAVA=/usr/bin/java
|
||||||
CLASSPATH="/etc/zookeeper/conf:/usr/share/java/jline.jar:/usr/share/java/log4j-1.2.jar:/usr/share/java/xercesImpl.jar:/usr/share/java/xmlParserAPIs.jar:/usr/share/java/netty.jar:/usr/share/java/slf4j-api.jar:/usr/share/java/slf4j-log4j12.jar:/usr/share/java/zookeeper.jar"
|
CLASSPATH="/etc/zookeeper/conf:/usr/share/java/jline.jar:/usr/share/java/log4j-1.2.jar:/usr/share/java/xercesImpl.jar:/usr/share/java/xmlParserAPIs.jar:/usr/share/java/netty.jar:/usr/share/java/slf4j-api.jar:/usr/share/java/slf4j-log4j12.jar:/usr/share/java/zookeeper.jar"
|
||||||
|
|
Loading…
Reference in New Issue