-
Notifications
You must be signed in to change notification settings - Fork 490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoSuchMethodError on createPersistent(Ljava/lang/String;ZLjava/util/List;) #64
Comments
Was there any resolution on this. I am getting a similar exception using Kafka 0.10.1.0, zkClient 0.10 with zookeeper 3.4.8:
|
I am being trapped for several days by this same problem. |
Hey @xiaojimi did you ask in the Kafka list already ? Seems to be a version mismatch, but i'm unfamiliar with which versions kafka used and when... Also not sure if for them time there were using a hacked version since i checked and didn't found a createPersistent(String, List) in any of the released zkClient versions... |
I finally found out the mismatch. the |
@xiaojimi Can you please provide the resolution here for everyone's benefit. Thank you for your efforts. |
@ynpandey @jzillmann , type err last night. In my case, the mismatch was caused by two different version of Zkclinet: a com.github.sgroschupf, b com.101tec(which is introduced by "org.apache.kafka") |
Hi,
We are using Kafka 0.9 version , with zkClient of 0.7 version.
Zookeeper : 3.4.6
We are trying to replicate with apache mirror maker, and got the below error. Request help on the same. We are unable to locate the function : createPersistent(String path, List ACL) anywhere in 0.7 version.
java.lang.NoSuchMethodError: org.I0Itec.zkclient.ZkClient.createPersistent(Ljava/lang/String;ZLjava/util/List;)V
at kafka.utils.ZkPath$.createPersistent(ZkUtils.scala:916)
at kafka.utils.ZkUtils.createParentPath(ZkUtils.scala:339)
at kafka.utils.ZkUtils.updatePersistentPath(ZkUtils.scala:414)
at kafka.mirrormaker.KafkaConnector.commitOffsetToZooKeeper(KafkaConnector.scala:141)
at kafka.mirrormaker.KafkaConnector$$anonfun$commitOffsets$1.apply(KafkaConnector.scala:133)
at kafka.mirrormaker.KafkaConnector$$anonfun$commitOffsets$1.apply(KafkaConnector.scala:132)
at scala.collection.mutable.HashMap$$anonfun$foreach$1.apply(HashMap.scala:98)
at scala.collection.mutable.HashMap$$anonfun$foreach$1.apply(HashMap.scala:98)
at scala.collection.mutable.HashTable$class.foreachEntry(HashTable.scala:226)
at scala.collection.mutable.HashMap.foreachEntry(HashMap.scala:39)
at scala.collection.mutable.HashMap.foreach(HashMap.scala:98)
at kafka.mirrormaker.KafkaConnector.commitOffsets(KafkaConnector.scala:132)
at kafka.mirrormaker.MirrorMakerWorker$.commitOffsets(MirrorMakerWorker.scala:217)
at kafka.mirrormaker.MirrorMakerWorker$MirrorMakerThread.maybeFlushAndCommitOffsets(MirrorMakerWorker.scala:322)
at kafka.mirrormaker.MirrorMakerWorker$MirrorMakerThread.run(MirrorMakerWorker.scala:289)
The text was updated successfully, but these errors were encountered: