zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Anderson...@banjiewen.net>
Subject Is myid actually limited to [1, 255]?
Date Mon, 13 Jul 2015 17:43:13 GMT
Hi there - I've observed that the documentation[1] suggests that each
node's myid should be an integer in the range [1, 255]. Is that
limitation codified anywhere? A quick perusal of the source suggests
that myid is parsed in to a Long and passed around as such through the

For context, I'm working on automating a ZK deployment and having a
larger range for myid values would make my life easier.


[1]: http://zookeeper.apache.org/doc/r3.4.6/zookeeperAdmin.html

View raw message