LocalPravegaEmulator does not work with ZooKeeper 3.6.x on the classpath
See original GitHub issueProblem 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:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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?
Fixed via #4999.