question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to add cluster on 3.0.0.1

See original GitHub issue

Using the latest CMAK release (3.0.0.1) this happens while trying to add a cluster:

2020-02-21 12:42:37,602 - [ERROR] k.m.KafkaManager - Failed on input : KMAddCluster(ClusterConfig(TEST,CuratorConfig(server:2181/cmak,100,100,1000),true,2.1.1,false,None,None,false,false,false,false,false,false,Some(ClusterTuning(Some(30),Some(2),Some(100),Some(2),Some(100),Some(2),Some(100),Some(30),Some(5),Some(4),Some(1000),Some(4),Some(1000),Some(4),Some(1000),Some(30000),Some(1000000),Some(7))),PLAINTEXT,None,None))
org.apache.zookeeper.KeeperException$UnimplementedException: KeeperErrorCode = Unimplemented for /kafka-manager/mutex
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:106)
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
        at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:1538)
        at org.apache.curator.utils.ZKPaths.mkdirs(ZKPaths.java:291)
        at org.apache.curator.framework.imps.CreateBuilderImpl$11.call(CreateBuilderImpl.java:746)
        at org.apache.curator.framework.imps.CreateBuilderImpl$11.call(CreateBuilderImpl.java:723)
        at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:109)
        at org.apache.curator.framework.imps.CreateBuilderImpl.pathInForeground(CreateBuilderImpl.java:720)
        at org.apache.curator.framework.imps.CreateBuilderImpl.protectedPathInForeground(CreateBuilderImpl.java:484)
        at org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:474)
2020-02-21 12:42:37,602 - [ERROR] k.m.ApiError$ - error : KeeperErrorCode = Unimplemented for /kafka-manager/mutex
org.apache.zookeeper.KeeperException$UnimplementedException: KeeperErrorCode = Unimplemented for /kafka-manager/mutex
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:106)
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
        at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:1538)
        at org.apache.curator.utils.ZKPaths.mkdirs(ZKPaths.java:291)
        at org.apache.curator.framework.imps.CreateBuilderImpl$11.call(CreateBuilderImpl.java:746)
        at org.apache.curator.framework.imps.CreateBuilderImpl$11.call(CreateBuilderImpl.java:723)
        at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:109)
        at org.apache.curator.framework.imps.CreateBuilderImpl.pathInForeground(CreateBuilderImpl.java:720)
        at org.apache.curator.framework.imps.CreateBuilderImpl.protectedPathInForeground(CreateBuilderImpl.java:484)
        at org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:474)

I am using Zookeeper 3.4.9.

Is this a configuration issue?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:8
  • Comments:21

github_iconTop GitHub Comments

82reactions
zhigangcommented, Jun 15, 2020
  • my docker image version
    • zookeeper:3.4.14
    • wurstmeister/kafka:2.12-2.4.1
    • kafkamanager/kafka-manager:3.0.0.4
  • this worked for me
➜ docker exec -it zookeeper bash
root@98747a9eac65:/zookeeper-3.4.14# ./bin/zkCli.sh
[zk: localhost:2181(CONNECTED) 2] ls /kafka-manager
[configs, deleteClusters, clusters]
[zk: localhost:2181(CONNECTED) 3] create /kafka-manager/mutex ""
Created /kafka-manager/mutex
[zk: localhost:2181(CONNECTED) 5] create /kafka-manager/mutex/locks ""
Created /kafka-manager/mutex/locks
[zk: localhost:2181(CONNECTED) 6] create /kafka-manager/mutex/leases ""
Created /kafka-manager/mutex/leases
4reactions
mahkorayemcommented, Nov 24, 2020
  • my docker image version

    • zookeeper:3.4.14
    • wurstmeister/kafka:2.12-2.4.1
    • kafkamanager/kafka-manager:3.0.0.4
  • this worked for me

➜ docker exec -it zookeeper bash
root@98747a9eac65:/zookeeper-3.4.14# ./bin/zkCli.sh
[zk: localhost:2181(CONNECTED) 2] ls /kafka-manager
[configs, deleteClusters, clusters]
[zk: localhost:2181(CONNECTED) 3] create /kafka-manager/mutex ""
Created /kafka-manager/mutex
[zk: localhost:2181(CONNECTED) 5] create /kafka-manager/mutex/locks ""
Created /kafka-manager/mutex/locks
[zk: localhost:2181(CONNECTED) 6] create /kafka-manager/mutex/leases ""
Created /kafka-manager/mutex/leases

Worked like a charm

Read more comments on GitHub >

github_iconTop Results From Across the Web

After the upgrade to scaleIO 2.0.0.3 unable to see ... - Dell
ViPR 3.0.0.1.38 installed. After the upgrade from scaleIO version 1.32.2451.4 to scaleIO 2.0.0.3, unable to see scaleIO storage in ViPR GUI.
Read more >
How to install Cluster Manager for Apache Kafka
I have encountered the Unimplemented for /kafka-manager/mutex issue described in Failed to add cluster on 3.0.0.1 #731.
Read more >
Nutanix Files - Alert - A160020 - FileServerDNSUpdatePending
Cause of failure, Failed to add or remove DNS entries ... As of AOS 5.6 and Nutanix Files 3.0.0.1, a new global Nutanix...
Read more >
Known issues in IBM Security Key Lifecycle Manager, Version ...
Issue 3: Db2 installation fails when you install IBM Security Key ... Issue 8: When you migrate a Multi-Master cluster from version 3.0...
Read more >
1941840 – Authentication operator's endpoints controller fails ...
failed cluster, after recovery, openshift-authentication-operator ... 0 1437424 17676 0 S 3.0 0.1 6:23.38 cluster-kube-sc 14656 nfsnobo+ 20 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found