phunt / zkconf Goto Github PK
View Code? Open in Web Editor NEWApache ZooKeeper quorum configuration generator
Home Page: https://zookeeper.apache.org
License: Apache License 2.0
Apache ZooKeeper quorum configuration generator
Home Page: https://zookeeper.apache.org
License: Apache License 2.0
nc doesn't recognize -1 option but works good without "-q 1".
Env: arch linux, netcat 0.7.1
stop.sh doesn't work because fuser on macosx doesn't have the -k option. I can't seem to get the version of fuser on my machine :(
status.sh outputs the "-n" from the "echo -n" call for some reason on my box. I think that it's using the shell's echo command, which says it supports the -n flag but doesn't seem to. I'm running bash 3.2.48(1)-relase (x86_64-apple-darwin10.0).
./zkconf.py --count=1 ~/zookeeper-3.2.1 ~/zk2
generates the directory correctly, but running start.sh gives this error:
2009-12-09 16:53:48,418 - FATAL [main:QuorumPeerMain@86] - Unexpected exception, exiting abnormally
java.lang.RuntimeException: My id 0 not in the peer list
at org.apache.zookeeper.server.quorum.QuorumPeer.startLeaderElection(QuorumPeer.java:333)
at org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:314)
at org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:137)
at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:102)
at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:75)
Is --count=1 not supported?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.