Skip to content

bump up Zookeeper version from 3.4 to be able to use on arm64 #66

@konstan

Description

@konstan

Official Zookeeper images https://hub.docker.com/_/zookeeper start supporting arm64 from 3.5

However, ATM I'm not able to run them as part of compose Nuvla deployment on M1 (arm64) because of this NPE

2022-01-27 07:35:44,952 [myid:3] - ERROR [ContainerManagerTask:ContainerManager$1@102] - Error checking containers
java.lang.NullPointerException
        at org.apache.zookeeper.server.ContainerManager.getCandidates(ContainerManager.java:161)
        at org.apache.zookeeper.server.ContainerManager.checkContainers(ContainerManager.java:128)
        at org.apache.zookeeper.server.ContainerManager$1.run(ContainerManager.java:96)
        at java.base/java.util.TimerThread.mainLoop(Unknown Source)
        at java.base/java.util.TimerThread.run(Unknown Source)

As pointed out here https://issues.apache.org/jira/browse/ZOOKEEPER-4238, this might be an issue with the propagation of env vars to the container from compose.

Starting the image from CLI works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions