Zookeeper-server-start

From wikieduonline
Revision as of 08:23, 9 July 2021 by Welcome (talk | contribs)
Jump to navigation Jump to search
zookeeper-server-start
USAGE: /usr/local/Cellar/kafka/2.8.0/libexec/bin/zookeeper-server-start.sh [-daemon] zookeeper.properties


zookeeper-server-start /usr/local/etc/kafka/zookeeper.properties
[2021-07-09 12:20:14,082] INFO Reading configuration from: /usr/local/etc/kafka/zookeeper.properties 
(org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2021-07-09 12:20:14,098] INFO clientPortAddress is 0.0.0.0:2181 (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2021-07-09 12:20:14,099] INFO secureClientPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2021-07-09 12:20:14,103] INFO autopurge.snapRetainCount set to 3 (org.apache.zookeeper.server.DatadirCleanupManager)
[2021-07-09 12:20:14,104] INFO autopurge.purgeInterval set to 0 (org.apache.zookeeper.server.DatadirCleanupManager)
[2021-07-09 12:20:14,104] INFO Purge task is not scheduled. (org.apache.zookeeper.server.DatadirCleanupManager)
[2021-07-09 12:20:14,105] WARN Either no config or no quorum defined in config, running  in standalone mode 
(org.apache.zookeeper.server.quorum.QuorumPeerMain)
[2021-07-09 12:20:14,112] INFO Log4j 1.2 jmx support found and enabled. (org.apache.zookeeper.jmx.ManagedUtil)
[2021-07-09 12:20:14,129] INFO Reading configuration from: /usr/local/etc/kafka/zookeeper.properties
(org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2021-07-09 12:20:14,130] INFO clientPortAddress is 0.0.0.0:2181 (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2021-07-09 12:20:14,130] INFO secureClientPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2021-07-09 12:20:14,130] INFO Starting server (org.apache.zookeeper.server.ZooKeeperServerMain)
[2021-07-09 12:20:14,136] INFO zookeeper.snapshot.trust.empty : false (org.apache.zookeeper.server.persistence.FileTxnSnapLog)
[2021-07-09 12:20:14,138] ERROR Unable to access datadir, exiting abnormally (org.apache.zookeeper.server.ZooKeeperServerMain)
org.apache.zookeeper.server.persistence.FileTxnSnapLog$DatadirException: Unable to create data directory /usr/local/var/lib/zookeeper/version-2 
 	at org.apache.zookeeper.server.persistence.FileTxnSnapLog.<init>(FileTxnSnapLog.java:127) 
	at org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:125)
	at org.apache.zookeeper.server.ZooKeeperServerMain.initializeAndRun(ZooKeeperServerMain.java:107)
	at org.apache.zookeeper.server.ZooKeeperServerMain.main(ZooKeeperServerMain.java:65)
	at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:128)
	at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:82)
Unable to access datadir, exiting abnormally

See also

Advertising: