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.

LocalPravegaEmulator does not work with ZooKeeper 3.6.x on the classpath

See original GitHub issue

Problem description While updating ZooKeeper dependency from 3.5.6 to 3.6.1 in EmailSuccess we got into this problem.

java.lang.NoSuchMethodError: 'void org.apache.zookeeper.server.ServerCnxnFactory.configure(java.net.InetSocketAddress, int, boolean)'
	at io.pravega.segmentstore.storage.impl.bookkeeper.ZooKeeperServiceRunner.start(ZooKeeperServiceRunner.java:106)
	at io.pravega.local.InProcPravegaCluster.startLocalZK(InProcPravegaCluster.java:214)
	at io.pravega.local.InProcPravegaCluster.start(InProcPravegaCluster.java:186)
	at io.pravega.local.LocalPravegaEmulator.start(LocalPravegaEmulator.java:147)**Problem location**

Suggestions for an improvement

  • Implement a flag to not start ZooKeeper Server in LocalPravegaEmulator/InProcPravegaCluster or use Curator TestingServer (that handles compatibility with all versions of ZK)
  • Upgrade to ZooKeeper 3.6.1

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
RaulGraciacommented, Jul 23, 2020

Thanks @eolivelli! We are close to testing/releasing 0.8, so I don’t know if upgrading such dependencies is going to be the safest thing to do at this point. As it is not a trivial upgrade and it may involve other changes, would it be ok if we address this issue for 0.9 version?

0reactions
RaulGraciacommented, Apr 12, 2021

Fixed via #4999.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ZooKeeper Administrator's Guide.
Logging; Troubleshooting; Configuration Parameters; ZooKeeper Commands; Data File Management; Things to Avoid; Best Practices. Designing a ZooKeeper Deployment.
Read more >
apache zookeeper - Error from Zookeper 3.4.6 version
First I ran sh /path-to-zookeeper/bin/zkServer.sh start but didn't not work I got the same error. I ran it with sudo /bin/bash /path-to-zookeeper/bin/zkServer.
Read more >
Octoscreen (Raspberry pi GPIO controll) - OctoScreen - GitAnswer
OctoScreen does not support this, and I don't see this happening too soon. ... LocalPravegaEmulator does not work with ZooKeeper 3.6.x on the...
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