You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in /etc/zookeeper/conf/environment file is CLASSPATH set only for archive install method:
<% if scope.lookupvar('zookeeper::install_method') != 'archive' -%>
# TODO this is really ugly
# How to find out, which jars are needed?
# seems, that log4j requires the log4j.properties file to be in the classpath
CLASSPATH="$ZOOCFGDIR:/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"
<% end -%>
Any progress on this issue? It's currently hosing me on centos 7 it appears. Error: Could not find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain
Currently the
CLASSPATH
environment variable is reconfigured at multiple places, customsystemd
config looks like this:in
/etc/zookeeper/conf/environment
file isCLASSPATH
set only forarchive
install method:Each OS might have slightly different
CLASSPATH
:/usr/share/java/zookeeper.jar
/usr/lib/zookeeper/lib/*:/usr/lib/zookeeper/zookeeper.jar
Originally reported in #103.
The text was updated successfully, but these errors were encountered: