Ensure ZK prioritizes IPv4

This commit is contained in:
Joshua Boniface 2020-08-19 13:10:03 -04:00
parent c9b487f5e6
commit 774595cdb7
1 changed files with 1 additions and 1 deletions

View File

@ -5,6 +5,6 @@ ZOOCFG=/etc/zookeeper/conf/zoo.cfg
ZOO_LOG_DIR=/var/log/zookeeper
ZOO_LOG4J_PROP=INFO,ROLLINGFILE
JMXLOCALONLY=false
JAVA_OPTS=""
JAVA_OPTS="-Djava.net.preferIPv4Stack=True"
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"