Skip to content

[BUG] The dev branch is started using the docker-compose default configuration and displays zookeeper errors(dev 分支使用docker-compose默认配置启动,显示zookeeper 错误) #2640

@gumupaier

Description

@gumupaier

*For better global communication, please give priority to using English description, thx! *

Describe the bug
The screenshot below
image

The default configuration is used

The startup log is as follows

`zookeeper 17:18:20.12 Welcome to the Bitnami zookeeper container
zookeeper 17:18:20.12 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-zookeeper
zookeeper 17:18:20.12 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-zookeeper/issues
zookeeper 17:18:20.12
zookeeper 17:18:20.12 INFO ==> ** Starting ZooKeeper setup **
zookeeper 17:18:20.14 WARN ==> You have set the environment variable ALLOW_ANONYMOUS_LOGIN=yes. For safety reasons, do not use this flag in a production environment.
zookeeper 17:18:20.15 INFO ==> Initializing ZooKeeper...
zookeeper 17:18:20.15 INFO ==> User injected custom configuration detected!
zookeeper 17:18:20.15 INFO ==> Deploying ZooKeeper with persisted data...
zookeeper 17:18:20.15 INFO ==> ** ZooKeeper setup finished! **

zookeeper 17:18:20.17 INFO ==> ** Starting ZooKeeper **
/opt/bitnami/java/bin/java
ZooKeeper JMX enabled by default
Using config: /opt/bitnami/zookeeper/bin/../conf/zoo.cfg
2020-05-08 17:18:20,805 [myid:] - INFO [main:QuorumPeerConfig@173] - Reading configuration from: /opt/bitnami/zookeeper/bin/../conf/zoo.cfg
2020-05-08 17:18:20,821 [myid:] - INFO [main:QuorumPeerConfig@459] - clientPortAddress is 0.0.0.0:2181
2020-05-08 17:18:20,821 [myid:] - INFO [main:QuorumPeerConfig@463] - secureClientPort is not set
2020-05-08 17:18:20,821 [myid:] - INFO [main:QuorumPeerConfig@479] - observerMasterPort is not set
2020-05-08 17:18:20,822 [myid:] - INFO [main:QuorumPeerConfig@496] - metricsProvider.className is org.apache.zookeeper.metrics.impl.DefaultMetricsProvider
2020-05-08 17:18:20,828 [myid:1] - INFO [main:DatadirCleanupManager@78] - autopurge.snapRetainCount set to 3
2020-05-08 17:18:20,828 [myid:1] - INFO [main:DatadirCleanupManager@79] - autopurge.purgeInterval set to 0
2020-05-08 17:18:20,828 [myid:1] - INFO [main:DatadirCleanupManager@101] - Purge task is not scheduled.
2020-05-08 17:18:20,828 [myid:1] - WARN [main:QuorumPeerMain@138] - Either no config or no quorum defined in config, running in standalone mode
2020-05-08 17:18:20,835 [myid:1] - INFO [main:ManagedUtil@44] - Log4j 1.2 jmx support found and enabled.
2020-05-08 17:18:20,856 [myid:1] - INFO [main:QuorumPeerConfig@173] - Reading configuration from: /opt/bitnami/zookeeper/bin/../conf/zoo.cfg
2020-05-08 17:18:20,857 [myid:1] - INFO [main:QuorumPeerConfig@459] - clientPortAddress is 0.0.0.0:2181
2020-05-08 17:18:20,857 [myid:1] - INFO [main:QuorumPeerConfig@463] - secureClientPort is not set
2020-05-08 17:18:20,857 [myid:1] - INFO [main:QuorumPeerConfig@479] - observerMasterPort is not set
2020-05-08 17:18:20,857 [myid:1] - INFO [main:QuorumPeerConfig@496] - metricsProvider.className is org.apache.zookeeper.metrics.impl.DefaultMetricsProvider
2020-05-08 17:18:20,857 [myid:1] - INFO [main:ZooKeeperServerMain@122] - Starting server
2020-05-08 17:18:20,877 [myid:1] - INFO [main:ServerMetrics@62] - ServerMetrics initialized with provider org.apache.zookeeper.metrics.impl.DefaultMetricsProvider@1018bde2
2020-05-08 17:18:20,882 [myid:1] - INFO [main:FileTxnSnapLog@124] - zookeeper.snapshot.trust.empty : false
2020-05-08 17:18:20,891 [myid:1] - INFO [main:ZookeeperBanner@42] -
2020-05-08 17:18:20,892 [myid:1] - INFO [main:ZookeeperBanner@42] - ______ _
2020-05-08 17:18:20,892 [myid:1] - INFO [main:ZookeeperBanner@42] - |___ / | |
2020-05-08 17:18:20,892 [myid:1] - INFO [main:ZookeeperBanner@42] - / / ___ ___ | | __ ___ ___ _ __ ___ _ __
2020-05-08 17:18:20,892 [myid:1] - INFO [main:ZookeeperBanner@42] - / / / _ \ / _ \ | |/ / / _ \ / _ \ | '_ \ / _ \ | '|
2020-05-08 17:18:20,892 [myid:1] - INFO [main:ZookeeperBanner@42] - / /
| () | | () | | < | / | / | |_) | | / | |
2020-05-08 17:18:20,893 [myid:1] - INFO [main:ZookeeperBanner@42] - /
| _
/ _/ |_|_\ _| _| | ./ __| ||
2020-05-08 17:18:20,893 [myid:1] - INFO [main:ZookeeperBanner@42] - | |
2020-05-08 17:18:20,893 [myid:1] - INFO [main:ZookeeperBanner@42] - |
|
2020-05-08 17:18:20,893 [myid:1] - INFO [main:ZookeeperBanner@42] -
2020-05-08 17:18:20,894 [myid:1] - INFO [main:Environment@98] - Server environment:zookeeper.version=3.6.1--104dcb3e3fb464b30c5186d229e00af9f332524b, built on 04/21/2020 15:01 GMT
2020-05-08 17:18:20,894 [myid:1] - INFO [main:Environment@98] - Server environment:host.name=6d9a31a8232e
2020-05-08 17:18:20,895 [myid:1] - INFO [main:Environment@98] - Server environment:java.version=11.0.7
2020-05-08 17:18:20,895 [myid:1] - INFO [main:Environment@98] - Server environment:java.vendor=BellSoft
2020-05-08 17:18:20,895 [myid:1] - INFO [main:Environment@98] - Server environment:java.home=/opt/bitnami/java
2020-05-08 17:18:20,895 [myid:1] - INFO [main:Environment@98] - Server environment:java.class.path=/opt/bitnami/zookeeper/bin/../zookeeper-server/target/classes:/opt/bitnami/zookeeper/bin/../build/classes:/opt/bitnami/zookeeper/bin/../zookeeper-server/target/lib/.jar:/opt/bitnami/zookeeper/bin/../build/lib/.jar:/opt/bitnami/zookeeper/bin/../lib/zookeeper-prometheus-metrics-3.6.1.jar:/opt/bitnami/zookeeper/bin/../lib/zookeeper-jute-3.6.1.jar:/opt/bitnami/zookeeper/bin/../lib/zookeeper-3.6.1.jar:/opt/bitnami/zookeeper/bin/../lib/snappy-java-1.1.7.jar:/opt/bitnami/zookeeper/bin/../lib/slf4j-log4j12-1.7.25.jar:/opt/bitnami/zookeeper/bin/../lib/slf4j-api-1.7.25.jar:/opt/bitnami/zookeeper/bin/../lib/simpleclient_servlet-0.6.0.jar:/opt/bitnami/zookeeper/bin/../lib/simpleclient_hotspot-0.6.0.jar:/opt/bitnami/zookeeper/bin/../lib/simpleclient_common-0.6.0.jar:/opt/bitnami/zookeeper/bin/../lib/simpleclient-0.6.0.jar:/opt/bitnami/zookeeper/bin/../lib/netty-transport-native-unix-common-4.1.48.Final.jar:/opt/bitnami/zookeeper/bin/../lib/netty-transport-native-epoll-4.1.48.Final.jar:/opt/bitnami/zookeeper/bin/../lib/netty-transport-4.1.48.Final.jar:/opt/bitnami/zookeeper/bin/../lib/netty-resolver-4.1.48.Final.jar:/opt/bitnami/zookeeper/bin/../lib/netty-handler-4.1.48.Final.jar:/opt/bitnami/zookeeper/bin/../lib/netty-common-4.1.48.Final.jar:/opt/bitnami/zookeeper/bin/../lib/netty-codec-4.1.48.Final.jar:/opt/bitnami/zookeeper/bin/../lib/netty-buffer-4.1.48.Final.jar:/opt/bitnami/zookeeper/bin/../lib/metrics-core-3.2.5.jar:/opt/bitnami/zookeeper/bin/../lib/log4j-1.2.17.jar:/opt/bitnami/zookeeper/bin/../lib/json-simple-1.1.1.jar:/opt/bitnami/zookeeper/bin/../lib/jline-2.11.jar:/opt/bitnami/zookeeper/bin/../lib/jetty-util-9.4.24.v20191120.jar:/opt/bitnami/zookeeper/bin/../lib/jetty-servlet-9.4.24.v20191120.jar:/opt/bitnami/zookeeper/bin/../lib/jetty-server-9.4.24.v20191120.jar:/opt/bitnami/zookeeper/bin/../lib/jetty-security-9.4.24.v20191120.jar:/opt/bitnami/zookeeper/bin/../lib/jetty-io-9.4.24.v20191120.jar:/opt/bitnami/zookeeper/bin/../lib/jetty-http-9.4.24.v20191120.jar:/opt/bitnami/zookeeper/bin/../lib/javax.servlet-api-3.1.0.jar:/opt/bitnami/zookeeper/bin/../lib/jackson-databind-2.10.3.jar:/opt/bitnami/zookeeper/bin/../lib/jackson-core-2.10.3.jar:/opt/bitnami/zookeeper/bin/../lib/jackson-annotations-2.10.3.jar:/opt/bitnami/zookeeper/bin/../lib/commons-lang-2.6.jar:/opt/bitnami/zookeeper/bin/../lib/commons-cli-1.2.jar:/opt/bitnami/zookeeper/bin/../lib/audience-annotations-0.5.0.jar:/opt/bitnami/zookeeper/bin/../zookeeper-.jar:/opt/bitnami/zookeeper/bin/../zookeeper-server/src/main/resources/lib/.jar:/opt/bitnami/zookeeper/bin/../conf:
2020-05-08 17:18:20,895 [myid:1] - INFO [main:Environment@98] - Server environment:java.library.path=/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib
2020-05-08 17:18:20,895 [myid:1] - INFO [main:Environment@98] - Server environment:java.io.tmpdir=/tmp
2020-05-08 17:18:20,895 [myid:1] - INFO [main:Environment@98] - Server environment:java.compiler=
2020-05-08 17:18:20,895 [myid:1] - INFO [main:Environment@98] - Server environment:os.name=Linux
2020-05-08 17:18:20,896 [myid:1] - INFO [main:Environment@98] - Server environment:os.arch=amd64
2020-05-08 17:18:20,896 [myid:1] - INFO [main:Environment@98] - Server environment:os.version=4.4.0-148-generic
2020-05-08 17:18:20,896 [myid:1] - INFO [main:Environment@98] - Server environment:user.name=?
2020-05-08 17:18:20,896 [myid:1] - INFO [main:Environment@98] - Server environment:user.home=?
2020-05-08 17:18:20,896 [myid:1] - INFO [main:Environment@98] - Server environment:user.dir=/
2020-05-08 17:18:20,896 [myid:1] - INFO [main:Environment@98] - Server environment:os.memory.free=1009MB
2020-05-08 17:18:20,896 [myid:1] - INFO [main:Environment@98] - Server environment:os.memory.max=1024MB
2020-05-08 17:18:20,896 [myid:1] - INFO [main:Environment@98] - Server environment:os.memory.total=1024MB
2020-05-08 17:18:20,896 [myid:1] - INFO [main:ZooKeeperServer@128] - zookeeper.enableEagerACLCheck = false
2020-05-08 17:18:20,897 [myid:1] - INFO [main:ZooKeeperServer@136] - zookeeper.digest.enabled = true
2020-05-08 17:18:20,897 [myid:1] - INFO [main:ZooKeeperServer@140] - zookeeper.closeSessionTxn.enabled = true
2020-05-08 17:18:20,897 [myid:1] - INFO [main:ZooKeeperServer@1434] - zookeeper.flushDelay=0
2020-05-08 17:18:20,897 [myid:1] - INFO [main:ZooKeeperServer@1443] - zookeeper.maxWriteQueuePollTime=0
2020-05-08 17:18:20,897 [myid:1] - INFO [main:ZooKeeperServer@1452] - zookeeper.maxBatchSize=1000
2020-05-08 17:18:20,897 [myid:1] - INFO [main:ZooKeeperServer@241] - zookeeper.intBufferStartingSizeBytes = 1024
2020-05-08 17:18:20,898 [myid:1] - INFO [main:BlueThrottle@141] - Weighed connection throttling is disabled
2020-05-08 17:18:20,899 [myid:1] - INFO [main:ZooKeeperServer@1246] - minSessionTimeout set to 4000
2020-05-08 17:18:20,899 [myid:1] - INFO [main:ZooKeeperServer@1255] - maxSessionTimeout set to 40000
2020-05-08 17:18:20,901 [myid:1] - INFO [main:ResponseCache@45] - Response cache size is initialized with value 400.
2020-05-08 17:18:20,901 [myid:1] - INFO [main:ResponseCache@45] - Response cache size is initialized with value 400.
2020-05-08 17:18:20,902 [myid:1] - INFO [main:RequestPathMetricsCollector@111] - zookeeper.pathStats.slotCapacity = 60
2020-05-08 17:18:20,902 [myid:1] - INFO [main:RequestPathMetricsCollector@112] - zookeeper.pathStats.slotDuration = 15
2020-05-08 17:18:20,902 [myid:1] - INFO [main:RequestPathMetricsCollector@113] - zookeeper.pathStats.maxDepth = 6
2020-05-08 17:18:20,902 [myid:1] - INFO [main:RequestPathMetricsCollector@114] - zookeeper.pathStats.initialDelay = 5
2020-05-08 17:18:20,902 [myid:1] - INFO [main:RequestPathMetricsCollector@115] - zookeeper.pathStats.delay = 5
2020-05-08 17:18:20,903 [myid:1] - INFO [main:RequestPathMetricsCollector@116] - zookeeper.pathStats.enabled = false
2020-05-08 17:18:20,905 [myid:1] - INFO [main:ZooKeeperServer@1471] - The max bytes for all large requests are set to 104857600
2020-05-08 17:18:20,905 [myid:1] - INFO [main:ZooKeeperServer@1485] - The large request threshold is set to -1
2020-05-08 17:18:20,906 [myid:1] - INFO [main:ZooKeeperServer@329] - Created server with tickTime 2000 minSessionTimeout 4000 maxSessionTimeout 40000 clientPortListenBacklog -1 datadir /bitnami/zookeeper/data/version-2 snapdir /bitnami/zookeeper/data/version-2
2020-05-08 17:18:20,933 [myid:1] - INFO [main:Log@169] - Logging initialized @736ms to org.eclipse.jetty.util.log.Slf4jLog
2020-05-08 17:18:21,034 [myid:1] - WARN [main:ContextHandler@1520] - o.e.j.s.ServletContextHandler@5b38c1ec{/,null,UNAVAILABLE} contextPath ends with /*
2020-05-08 17:18:21,034 [myid:1] - WARN [main:ContextHandler@1531] - Empty contextPath
2020-05-08 17:18:21,053 [myid:1] - INFO [main:Server@359] - jetty-9.4.24.v20191120; built: 2019-11-20T21:37:49.771Z; git: 363d5f2df3a8a28de40604320230664b9c793c16; jvm 11.0.7+10-LTS
2020-05-08 17:18:21,090 [myid:1] - INFO [main:DefaultSessionIdManager@333] - DefaultSessionIdManager workerName=node0
2020-05-08 17:18:21,090 [myid:1] - INFO [main:DefaultSessionIdManager@338] - No SessionScavenger set, using defaults
2020-05-08 17:18:21,092 [myid:1] - INFO [main:HouseKeeper@140] - node0 Scavenging every 600000ms
2020-05-08 17:18:21,101 [myid:1] - INFO [main:ContextHandler@825] - Started o.e.j.s.ServletContextHandler@5b38c1ec{/,null,AVAILABLE}
2020-05-08 17:18:21,127 [myid:1] - INFO [main:AbstractConnector@330] - Started ServerConnector@7161d8d1{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
2020-05-08 17:18:21,127 [myid:1] - INFO [main:Server@399] - Started @930ms
2020-05-08 17:18:21,128 [myid:1] - INFO [main:JettyAdminServer@178] - Started AdminServer on address 0.0.0.0, port 8080 and command URL /commands
2020-05-08 17:18:21,133 [myid:1] - INFO [main:ServerCnxnFactory@169] - Using org.apache.zookeeper.server.NIOServerCnxnFactory as server connection factory
2020-05-08 17:18:21,134 [myid:1] - WARN [main:ServerCnxnFactory@309] - maxCnxns is not configured, using default value 0.
2020-05-08 17:18:21,136 [myid:1] - INFO [main:NIOServerCnxnFactory@666] - Configuring NIO connection handler with 10s sessionless connection timeout, 1 selector thread(s), 8 worker threads, and 64 kB direct buffers.
2020-05-08 17:18:21,137 [myid:1] - INFO [main:NIOServerCnxnFactory@674] - binding to port 0.0.0.0/0.0.0.0:2181
2020-05-08 17:18:21,153 [myid:1] - INFO [main:WatchManagerFactory@42] - Using org.apache.zookeeper.server.watch.WatchManager as watch manager
2020-05-08 17:18:21,153 [myid:1] - INFO [main:WatchManagerFactory@42] - Using org.apache.zookeeper.server.watch.WatchManager as watch manager
2020-05-08 17:18:21,154 [myid:1] - INFO [main:ZKDatabase@132] - zookeeper.snapshotSizeFactor = 0.33
2020-05-08 17:18:21,154 [myid:1] - INFO [main:ZKDatabase@152] - zookeeper.commitLogCount=500
2020-05-08 17:18:21,158 [myid:1] - INFO [main:SnapStream@61] - zookeeper.snapshot.compression.method = CHECKED
2020-05-08 17:18:21,159 [myid:1] - INFO [main:FileSnap@85] - Reading snapshot /bitnami/zookeeper/data/version-2/snapshot.0
2020-05-08 17:18:21,161 [myid:1] - INFO [main:DataTree@1737] - The digest value is empty in snapshot
2020-05-08 17:18:21,427 [myid:1] - INFO [main:FileTxnSnapLog@363] - 6869 txns loaded in 262 ms
2020-05-08 17:18:21,428 [myid:1] - INFO [main:ZKDatabase@289] - Snapshot loaded in 273 ms, highest zxid is 0x1ad5, digest is 28899694010
2020-05-08 17:18:21,428 [myid:1] - INFO [main:FileTxnSnapLog@470] - Snapshotting: 0x1ad5 to /bitnami/zookeeper/data/version-2/snapshot.1ad5
2020-05-08 17:18:21,430 [myid:1] - INFO [main:ZooKeeperServer@519] - Snapshot taken in 2 ms
2020-05-08 17:18:21,440 [myid:1] - INFO [main:RequestThrottler@74] - zookeeper.request_throttler.shutdownTimeout = 10000
2020-05-08 17:18:21,470 [myid:1] - INFO [main:ContainerManager@83] - Using checkIntervalMs=60000 maxPerMinute=10000 maxNeverUsedIntervalMs=0
2020-05-08 17:18:21,471 [myid:1] - INFO [main:ZKAuditProvider@42] - ZooKeeper audit is disabled.
2020-05-08 17:18:21,789 [myid:1] - INFO [SyncThread:0:FileTxnLog@284] - Creating new log file: log.1ad6
2020-05-08 17:18:24,382 [myid:1] - INFO [NIOWorkerThread-1:FourLetterCommands@223] - The list of known four letter word commands is : [{1936881266=srvr, 1937006964=stat, 2003003491=wchc, 1685417328=dump, 1668445044=crst, 1936880500=srst, 1701738089=envi, 1668247142=conf, -720899=telnet close, 1751217000=hash, 2003003507=wchs, 2003003504=wchp, 1684632179=dirs, 1668247155=cons, 1835955314=mntr, 1769173615=isro, 1920298859=ruok, 1735683435=gtmk, 1937010027=stmk}]
2020-05-08 17:18:24,383 [myid:1] - INFO [NIOWorkerThread-1:FourLetterCommands@224] - The list of enabled four letter word commands is : [[mntr, srvr]]`

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions