Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Duplicate
-
3.5.9, 3.6.2
-
None
-
None
-
- Docker preview for M1
- LINUX/arm64/v8 version of docker image
docker-compose up zookeeper
version: '3.5' services: zookeeper: image: zookeeper container_name: COMPANY-zookeeper restart: unless-stopped hostname: zookeeper ports: - "2181:2181" environment: ZOO_PORT: 2181 ZOO_SERVERS: server.1=zookeeper:2888:3888 volumes: - ../.env/zookeeper_data:/var/lib/zookeeper/data - ../.env/zookeeper_txn_logs:/var/lib/zookeeper/log networks: - COMPANY
Docker preview for M1 LINUX/arm64/v8 version of docker image docker-compose up zookeeper version: '3.5' services: zookeeper: image: zookeeper container_name: COMPANY-zookeeper restart: unless-stopped hostname: zookeeper ports: - "2181:2181" environment: ZOO_PORT: 2181 ZOO_SERVERS: server.1=zookeeper:2888:3888 volumes: - ../.env/zookeeper_data:/var/lib/zookeeper/data - ../.env/zookeeper_txn_logs:/var/lib/zookeeper/log networks: - COMPANY
Description
I'm still getting a NPE in ContainerManager, as descripbed in ZOOKEEPER-2464.
... COMPANY-zookeeper | 2021-03-09 07:57:21,320 [myid:1] - INFO [main:Server@399] - Started @445ms COMPANY-zookeeper | 2021-03-09 07:57:21,320 [myid:1] - INFO [main:JettyAdminServer@182] - Started AdminServer on address 0.0.0.0, port 8080 and command URL /commands COMPANY-zookeeper | 2021-03-09 07:57:21,321 [myid:1] - INFO [main:ContainerManager@83] - Using checkIntervalMs=60000 maxPerMinute=10000 maxNeverUsedIntervalMs=0 COMPANY-zookeeper | 2021-03-09 07:57:21,322 [myid:1] - INFO [main:ZKAuditProvider@42] - ZooKeeper audit is disabled. COMPANY-zookeeper | 2021-03-09 07:58:21,331 [myid:1] - ERROR [ContainerManagerTask:ContainerManager$1@102] - Error checking containers COMPANY-zookeeper | java.lang.NullPointerException COMPANY-zookeeper | at org.apache.zookeeper.server.ContainerManager.getCandidates(ContainerManager.java:161) COMPANY-zookeeper | at org.apache.zookeeper.server.ContainerManager.checkContainers(ContainerManager.java:128) COMPANY-zookeeper | at org.apache.zookeeper.server.ContainerManager$1.run(ContainerManager.java:96) COMPANY-zookeeper | at java.base/java.util.TimerThread.mainLoop(Unknown Source) COMPANY-zookeeper | at java.base/java.util.TimerThread.run(Unknown Source) COMPANY-zookeeper | 2021-03-09 07:59:21,326 [myid:1] - ERROR [ContainerManagerTask:ContainerManager$1@102] - Error checking containers COMPANY-zookeeper | java.lang.NullPointerException COMPANY-zookeeper | at org.apache.zookeeper.server.ContainerManager.getCandidates(ContainerManager.java:161) COMPANY-zookeeper | at org.apache.zookeeper.server.ContainerManager.checkContainers(ContainerManager.java:128) COMPANY-zookeeper | at org.apache.zookeeper.server.ContainerManager$1.run(ContainerManager.java:96) COMPANY-zookeeper | at java.base/java.util.TimerThread.mainLoop(Unknown Source) COMPANY-zookeeper | at java.base/java.util.TimerThread.run(Unknown Source) COMPANY-zookeeper | 2021-03-09 08:00:21,325 [myid:1] - ERROR [ContainerManagerTask:ContainerManager$1@102] - Error checking containers COMPANY-zookeeper | java.lang.NullPointerException COMPANY-zookeeper | at org.apache.zookeeper.server.ContainerManager.getCandidates(ContainerManager.java:161) COMPANY-zookeeper | at org.apache.zookeeper.server.ContainerManager.checkContainers(ContainerManager.java:128) COMPANY-zookeeper | at org.apache.zookeeper.server.ContainerManager$1.run(ContainerManager.java:96) COMPANY-zookeeper | at java.base/java.util.TimerThread.mainLoop(Unknown Source) COMPANY-zookeeper | at java.base/java.util.TimerThread.run(Unknown Source) COMPANY-zookeeper | 2021-03-09 08:01:21,322 [myid:1] - ERROR [ContainerManagerTask:ContainerManager$1@102] - Error checking containers ...