Difference between revisions of "Zookeeper-server-start"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
USAGE: /usr/local/Cellar/kafka/2.8.0/libexec/bin/zookeeper-server-start.sh [-daemon] zookeeper.properties | USAGE: /usr/local/Cellar/kafka/2.8.0/libexec/bin/zookeeper-server-start.sh [-daemon] zookeeper.properties | ||
+ | zookeeper-server-start /Users/user/brew/etc/kafka/[[zookeeper.properties]] | ||
− | + | [2024-01-06 18:21:53,100] WARN Either no config or no quorum defined in config, running in [[standalone mode]] | |
+ | |||
+ | [2024-01-06 18:21:53,130] WARN [[maxCnxns]] is not configured, using default value 0. (org.apache.zookeeper.server.ServerCnxnFactory) | ||
Latest revision as of 17:29, 6 January 2024
zookeeper-server-start USAGE: /usr/local/Cellar/kafka/2.8.0/libexec/bin/zookeeper-server-start.sh [-daemon] zookeeper.properties
zookeeper-server-start /Users/user/brew/etc/kafka/zookeeper.properties
[2024-01-06 18:21:53,100] WARN Either no config or no quorum defined in config, running in standalone mode
[2024-01-06 18:21:53,130] WARN maxCnxns is not configured, using default value 0. (org.apache.zookeeper.server.ServerCnxnFactory)
Examples[edit]
zookeeper-server-start /Users/user/brew/etc/kafka/zookeeper.properties [2024-01-06 18:21:53,096] INFO Reading configuration from: /Users/user/brew/etc/kafka/zookeeper.properties (org.apache.zookeeper.server.quorum.QuorumPeerConfig) [2024-01-06 18:21:53,098] INFO clientPortAddress is 0.0.0.0:2181 (org.apache.zookeeper.server.quorum.QuorumPeerConfig) [2024-01-06 18:21:53,098] INFO secureClientPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig) [2024-01-06 18:21:53,098] INFO observerMasterPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig) [2024-01-06 18:21:53,098] INFO metricsProvider.className is org.apache.zookeeper.metrics.impl.DefaultMetricsProvider (org.apache.zookeeper.server.quorum.QuorumPeerConfig) [2024-01-06 18:21:53,100] INFO autopurge.snapRetainCount set to 3 (org.apache.zookeeper.server.DatadirCleanupManager) [2024-01-06 18:21:53,100] INFO autopurge.purgeInterval set to 0 (org.apache.zookeeper.server.DatadirCleanupManager) [2024-01-06 18:21:53,100] INFO Purge task is not scheduled. (org.apache.zookeeper.server.DatadirCleanupManager) [2024-01-06 18:21:53,100] WARN Either no config or no quorum defined in config, running in standalone mode (org.apache.zookeeper.server.quorum.QuorumPeerMain) [2024-01-06 18:21:53,100] INFO Log4j 1.2 jmx support not found; jmx disabled. (org.apache.zookeeper.jmx.ManagedUtil) [2024-01-06 18:21:53,101] INFO Reading configuration from: /Users/user/brew/etc/kafka/zookeeper.properties (org.apache.zookeeper.server.quorum.QuorumPeerConfig) [2024-01-06 18:21:53,101] INFO clientPortAddress is 0.0.0.0:2181 (org.apache.zookeeper.server.quorum.QuorumPeerConfig) [2024-01-06 18:21:53,101] INFO secureClientPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig) [2024-01-06 18:21:53,101] INFO observerMasterPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig) [2024-01-06 18:21:53,101] INFO metricsProvider.className is org.apache.zookeeper.metrics.impl.DefaultMetricsProvider (org.apache.zookeeper.server.quorum.QuorumPeerConfig) [2024-01-06 18:21:53,101] INFO Starting server (org.apache.zookeeper.server.ZooKeeperServerMain) [2024-01-06 18:21:53,108] INFO ServerMetrics initialized with provider org.apache.zookeeper.metrics.impl.DefaultMetricsProvider@27c86f2d (org.apache.zookeeper.server.ServerMetrics) [2024-01-06 18:21:53,110] INFO ACL digest algorithm is: SHA1 (org.apache.zookeeper.server.auth.DigestAuthenticationProvider) [2024-01-06 18:21:53,110] INFO zookeeper.DigestAuthenticationProvider.enabled = true (org.apache.zookeeper.server.auth.DigestAuthenticationProvider) [2024-01-06 18:21:53,111] INFO zookeeper.snapshot.trust.empty : false (org.apache.zookeeper.server.persistence.FileTxnSnapLog) [2024-01-06 18:21:53,117] INFO (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,117] INFO ______ _ (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,117] INFO |___ / | | (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,117] INFO / / ___ ___ | | __ ___ ___ _ __ ___ _ __ (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,117] INFO / / / _ \ / _ \ | |/ / / _ \ / _ \ | '_ \ / _ \ | '__| (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,117] INFO / /__ | (_) | | (_) | | < | __/ | __/ | |_) | | __/ | | (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,117] INFO /_____| \___/ \___/ |_|\_\ \___| \___| | .__/ \___| |_| (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,117] INFO | | (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,117] INFO |_| (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,117] INFO (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,119] INFO Server environment:zookeeper.version=3.8.3-6ad6d364c7c0bcf0de452d54ebefa3058098ab56, built on 2023-10-05 10:34 UTC (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,119] INFO Server environment:host.name=localhost (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,119] INFO Server environment:java.version=21.0.1 (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,119] INFO Server environment:java.vendor=Homebrew (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,119] INFO Server environment:java.home=/Users/user/brew/Cellar/openjdk/21.0.1/libexec/openjdk.jdk/Contents/Home (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,119] INFO Server environment:java.class.path=/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/activation-1.1.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/aopalliance-repackaged-2.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/argparse4j-0.7.0.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/audience-annotations-0.12.0.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/caffeine-2.9.3.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/checker-qual-3.19.0.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/commons-beanutils-1.9.4.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/commons-cli-1.4.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/commons-collections-3.2.2.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/commons-digester-2.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/commons-io-2.11.0.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/commons-lang3-3.8.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/commons-logging-1.2.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/commons-validator-1.7.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/connect-api-3.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/connect-basic-auth-extension-3.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/connect-json-3.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/connect-mirror-3.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/connect-mirror-client-3.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/connect-runtime-3.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/connect-transforms-3.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/error_prone_annotations-2.10.0.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/hk2-api-2.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/hk2-locator-2.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/hk2-utils-2.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jackson-annotations-2.13.5.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jackson-core-2.13.5.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jackson-databind-2.13.5.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jackson-dataformat-csv-2.13.5.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jackson-datatype-jdk8-2.13.5.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jackson-jaxrs-base-2.13.5.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jackson-jaxrs-json-provider-2.13.5.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jackson-module-jaxb-annotations-2.13.5.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jackson-module-scala_2.13-2.13.5.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jakarta.activation-api-1.2.2.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jakarta.annotation-api-1.3.5.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jakarta.inject-2.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jakarta.validation-api-2.0.2.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jakarta.ws.rs-api-2.1.6.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jakarta.xml.bind-api-2.3.3.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/javassist-3.29.2-GA.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/javax.activation-api-1.2.0.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/javax.annotation-api-1.3.2.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/javax.servlet-api-3.1.0.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/javax.ws.rs-api-2.1.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jaxb-api-2.3.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jersey-client-2.39.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jersey-common-2.39.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jersey-container-servlet-2.39.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jersey-container-servlet-core-2.39.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jersey-hk2-2.39.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jersey-server-2.39.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jetty-client-9.4.52.v20230823.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jetty-continuation-9.4.52.v20230823.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jetty-http-9.4.52.v20230823.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jetty-io-9.4.52.v20230823.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jetty-security-9.4.52.v20230823.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jetty-server-9.4.52.v20230823.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jetty-servlet-9.4.52.v20230823.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jetty-servlets-9.4.52.v20230823.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jetty-util-9.4.52.v20230823.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jetty-util-ajax-9.4.52.v20230823.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jline-3.22.0.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jopt-simple-5.0.4.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jose4j-0.9.3.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/jsr305-3.0.2.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/kafka-clients-3.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/kafka-group-coordinator-3.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/kafka-log4j-appender-3.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/kafka-metadata-3.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/kafka-raft-3.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/kafka-server-common-3.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/kafka-shell-3.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/kafka-storage-3.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/kafka-storage-api-3.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/kafka-streams-3.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/kafka-streams-examples-3.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/kafka-streams-scala_2.13-3.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/kafka-streams-test-utils-3.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/kafka-tools-3.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/kafka-tools-api-3.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/kafka_2.13-3.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/lz4-java-1.8.0.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/maven-artifact-3.8.8.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/metrics-core-2.2.0.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/metrics-core-4.1.12.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/netty-buffer-4.1.100.Final.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/netty-codec-4.1.100.Final.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/netty-common-4.1.100.Final.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/netty-handler-4.1.100.Final.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/netty-resolver-4.1.100.Final.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/netty-transport-4.1.100.Final.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/netty-transport-classes-epoll-4.1.100.Final.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/netty-transport-native-epoll-4.1.100.Final.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/netty-transport-native-unix-common-4.1.100.Final.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/osgi-resource-locator-1.0.3.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/paranamer-2.8.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/pcollections-4.0.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/plexus-utils-3.3.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/reflections-0.10.2.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/reload4j-1.2.25.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/rocksdbjni-7.9.2.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/scala-collection-compat_2.13-2.10.0.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/scala-java8-compat_2.13-1.0.2.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/scala-library-2.13.11.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/scala-logging_2.13-3.9.4.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/scala-reflect-2.13.11.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/slf4j-api-1.7.36.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/slf4j-reload4j-1.7.36.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/snappy-java-1.1.10.5.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/swagger-annotations-2.2.8.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/trogdor-3.6.1.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/zookeeper-3.8.3.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/zookeeper-jute-3.8.3.jar:/Users/user/brew/Cellar/kafka/3.6.1/libexec/bin/../libs/zstd-jni-1.5.5-1.jar (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,120] INFO Server environment:java.library.path=/Users/user/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:. (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,120] INFO Server environment:java.io.tmpdir=/var/folders/fv/dhxvnnqd195gt23kq6rb7bfm0000gn/T/ (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,120] INFO Server environment:java.compiler=<NA> (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,120] INFO Server environment:os.name=Mac OS X (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,120] INFO Server environment:os.arch=aarch64 (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,120] INFO Server environment:os.version=14.2.1 (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,120] INFO Server environment:user.name=user (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,120] INFO Server environment:user.home=/Users/user (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,120] INFO Server environment:user.dir=/Users/user (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,120] INFO Server environment:os.memory.free=491MB (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,120] INFO Server environment:os.memory.max=512MB (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,120] INFO Server environment:os.memory.total=512MB (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,120] INFO zookeeper.enableEagerACLCheck = false (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,120] INFO zookeeper.digest.enabled = true (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,120] INFO zookeeper.closeSessionTxn.enabled = true (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,120] INFO zookeeper.flushDelay = 0 ms (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,120] INFO zookeeper.maxWriteQueuePollTime = 0 ms (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,120] INFO zookeeper.maxBatchSize=1000 (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,120] INFO zookeeper.intBufferStartingSizeBytes = 1024 (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,121] INFO Weighed connection throttling is disabled (org.apache.zookeeper.server.BlueThrottle) [2024-01-06 18:21:53,122] INFO minSessionTimeout set to 6000 ms (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,122] INFO maxSessionTimeout set to 60000 ms (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,123] INFO getData response cache size is initialized with value 400. (org.apache.zookeeper.server.ResponseCache) [2024-01-06 18:21:53,123] INFO getChildren response cache size is initialized with value 400. (org.apache.zookeeper.server.ResponseCache) [2024-01-06 18:21:53,123] INFO zookeeper.pathStats.slotCapacity = 60 (org.apache.zookeeper.server.util.RequestPathMetricsCollector) [2024-01-06 18:21:53,123] INFO zookeeper.pathStats.slotDuration = 15 (org.apache.zookeeper.server.util.RequestPathMetricsCollector) [2024-01-06 18:21:53,123] INFO zookeeper.pathStats.maxDepth = 6 (org.apache.zookeeper.server.util.RequestPathMetricsCollector) [2024-01-06 18:21:53,123] INFO zookeeper.pathStats.initialDelay = 5 (org.apache.zookeeper.server.util.RequestPathMetricsCollector) [2024-01-06 18:21:53,123] INFO zookeeper.pathStats.delay = 5 (org.apache.zookeeper.server.util.RequestPathMetricsCollector) [2024-01-06 18:21:53,123] INFO zookeeper.pathStats.enabled = false (org.apache.zookeeper.server.util.RequestPathMetricsCollector) [2024-01-06 18:21:53,125] INFO The max bytes for all large requests are set to 104857600 (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,125] INFO The large request threshold is set to -1 (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,125] INFO zookeeper.enforce.auth.enabled = false (org.apache.zookeeper.server.AuthenticationHelper) [2024-01-06 18:21:53,125] INFO zookeeper.enforce.auth.schemes = [] (org.apache.zookeeper.server.AuthenticationHelper) [2024-01-06 18:21:53,126] INFO Created server with tickTime 3000 ms minSessionTimeout 6000 ms maxSessionTimeout 60000 ms clientPortListenBacklog -1 datadir /Users/user/brew/var/lib/zookeeper/version-2 snapdir /Users/user/brew/var/lib/zookeeper/version-2 (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,129] INFO Using org.apache.zookeeper.server.NIOServerCnxnFactory as server connection factory (org.apache.zookeeper.server.ServerCnxnFactory) [2024-01-06 18:21:53,130] WARN maxCnxns is not configured, using default value 0. (org.apache.zookeeper.server.ServerCnxnFactory) [2024-01-06 18:21:53,131] INFO Configuring NIO connection handler with 10s sessionless connection timeout, 2 selector thread(s), 16 worker threads, and 64 kB direct buffers. (org.apache.zookeeper.server.NIOServerCnxnFactory) [2024-01-06 18:21:53,136] INFO binding to port 0.0.0.0/0.0.0.0:2181 (org.apache.zookeeper.server.NIOServerCnxnFactory) [2024-01-06 18:21:53,143] INFO Using org.apache.zookeeper.server.watch.WatchManager as watch manager (org.apache.zookeeper.server.watch.WatchManagerFactory) [2024-01-06 18:21:53,143] INFO Using org.apache.zookeeper.server.watch.WatchManager as watch manager (org.apache.zookeeper.server.watch.WatchManagerFactory) [2024-01-06 18:21:53,143] INFO zookeeper.snapshotSizeFactor = 0.33 (org.apache.zookeeper.server.ZKDatabase) [2024-01-06 18:21:53,143] INFO zookeeper.commitLogCount=500 (org.apache.zookeeper.server.ZKDatabase) [2024-01-06 18:21:53,147] INFO zookeeper.snapshot.compression.method = CHECKED (org.apache.zookeeper.server.persistence.SnapStream) [2024-01-06 18:21:53,147] INFO Snapshotting: 0x0 to /Users/user/brew/var/lib/zookeeper/version-2/snapshot.0 (org.apache.zookeeper.server.persistence.FileTxnSnapLog) [2024-01-06 18:21:53,148] INFO Snapshot loaded in 6 ms, highest zxid is 0x0, digest is 1371985504 (org.apache.zookeeper.server.ZKDatabase) [2024-01-06 18:21:53,149] INFO Snapshotting: 0x0 to /Users/user/brew/var/lib/zookeeper/version-2/snapshot.0 (org.apache.zookeeper.server.persistence.FileTxnSnapLog) [2024-01-06 18:21:53,149] INFO Snapshot taken in 0 ms (org.apache.zookeeper.server.ZooKeeperServer) [2024-01-06 18:21:53,154] INFO PrepRequestProcessor (sid:0) started, reconfigEnabled=false (org.apache.zookeeper.server.PrepRequestProcessor) [2024-01-06 18:21:53,154] INFO zookeeper.request_throttler.shutdownTimeout = 10000 ms (org.apache.zookeeper.server.RequestThrottler) [2024-01-06 18:21:53,165] INFO Using checkIntervalMs=60000 maxPerMinute=10000 maxNeverUsedIntervalMs=0 (org.apache.zookeeper.server.ContainerManager) [2024-01-06 18:21:53,165] INFO ZooKeeper audit is disabled. (org.apache.zookeeper.audit.ZKAuditProvider)
Examples[edit]
sudo zookeeper-server-start /usr/local/etc/kafka/zookeeper.properties .../... [2021-07-09 12:25:01,199] INFO Server environment:java.io.tmpdir=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/ (org.apache.zookeeper.server.ZooKeeperServer) [2021-07-09 12:25:01,200] INFO Server environment:java.compiler=<NA> (org.apache.zookeeper.server.ZooKeeperServer) [2021-07-09 12:25:01,200] INFO Server environment:os.name=Mac OS X (org.apache.zookeeper.server.ZooKeeperServer) [2021-07-09 12:25:01,200] INFO Server environment:os.arch=x86_64 (org.apache.zookeeper.server.ZooKeeperServer) [2021-07-09 12:25:01,200] INFO Server environment:os.version=11.3 (org.apache.zookeeper.server.ZooKeeperServer) [2021-07-09 12:25:01,200] INFO Server environment:user.name=root (org.apache.zookeeper.server.ZooKeeperServer) [2021-07-09 12:25:01,201] INFO Server environment:user.home=/var/root (org.apache.zookeeper.server.ZooKeeperServer) [2021-07-09 12:25:01,201] INFO Server environment:user.dir=/usr/local/bin (org.apache.zookeeper.server.ZooKeeperServer) [2021-07-09 12:25:01,201] INFO Server environment:os.memory.free=497MB (org.apache.zookeeper.server.ZooKeeperServer) [2021-07-09 12:25:01,201] INFO Server environment:os.memory.max=512MB (org.apache.zookeeper.server.ZooKeeperServer) [2021-07-09 12:25:01,201] INFO Server environment:os.memory.total=512MB (org.apache.zookeeper.server.ZooKeeperServer) [2021-07-09 12:25:01,205] INFO minSessionTimeout set to 6000 (org.apache.zookeeper.server.ZooKeeperServer) [2021-07-09 12:25:01,205] INFO maxSessionTimeout set to 60000 (org.apache.zookeeper.server.ZooKeeperServer) [2021-07-09 12:25:01,209] INFO Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 60000 datadir /usr/local/var/lib/zookeeper/version-2 snapdir /usr/local/var/lib/zookeeper/version-2 (org.apache.zookeeper.server.ZooKeeperServer) [2021-07-09 12:25:01,275] INFO Using org.apache.zookeeper.server.NIOServerCnxnFactory as server connection factory (org.apache.zookeeper.server.ServerCnxnFactory) [2021-07-09 12:25:01,284] INFO Configuring NIO connection handler with 10s sessionless connection timeout, 1 selector thread(s), 8 worker threads, and 64 kB direct buffers. (org.apache.zookeeper.server.NIOServerCnxnFactory) [2021-07-09 12:25:01,311] INFO binding to port 0.0.0.0/0.0.0.0:2181 (org.apache.zookeeper.server.NIOServerCnxnFactory) [2021-07-09 12:25:01,368] INFO zookeeper.snapshotSizeFactor = 0.33 (org.apache.zookeeper.server.ZKDatabase) [2021-07-09 12:25:01,377] INFO Snapshotting: 0x0 to /usr/local/var/lib/zookeeper/version-2/snapshot.0 (org.apache.zookeeper.server.persistence.FileTxnSnapLog) [2021-07-09 12:25:01,387] INFO Snapshotting: 0x0 to /usr/local/var/lib/zookeeper/version-2/snapshot.0 (org.apache.zookeeper.server.persistence.FileTxnSnapLog) [2021-07-09 12:25:01,442] INFO PrepRequestProcessor (sid:0) started, reconfigEnabled=false (org.apache.zookeeper.server.PrepRequestProcessor) [2021-07-09 12:25:01,456] INFO Using checkIntervalMs=60000 maxPerMinute=10000 (org.apache.zookeeper.server.ContainerManager)
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[edit]
Advertising: