I've created a ZooKeeper Dashboard using Django and the zkpython
bindings, it's available on github: http://bit.ly/1kjQy0
It currently provides some basic information about the ensemble:
* Cluster summary
* Individual server detail
* Client connection detail
* Navigate examine
I would suggest that you create a jira with the config files and your
data directories attached as a compressed archive. We can take a look
and pinpoint the issue. Also detail the release and command line you are
using to start the cluster.
https://issues.apache.org/jira/browse/ZOOKEEPER
Try Patrick's utility for creating the config files and compare the result
to your hand-made files.
On Thu, Oct 22, 2009 at 1:04 PM, Mark Vigeant
mark.vige...@riskmetrics.comwrote:
The file contains the number 1 and nothing else. My other node has the
number 2 (I only have 2 machines right
bummer, donno what to say, what version of python are you using? works
for me in 2.5 and 2.6 (linux jaunty)
$ ls
LICENSE.txt README.html start.py start.pyc stop.py
stop.pyc test3 zoocfg.py zoocfg.pyc
ptestREADME.textile start.py.bak start.tmpl stop.py.bak
Yeah I just figured out the problem with zoocfg.py
I am running as the same user who created myid. Here's my config:
zoo.cfg
tickTime-2000
dataDir=home/mark/zookeeper
clientPort=2181
initLimit=5
syncLimit=2
server.1= hermes:2888:3888
server.2= leela:2888:3888
on the machines hermes and leela
yeah - thought this was it: you've missed the forward slash on
home/mark/zookeeper (this turned up on your exception message).
On Thu, Oct 22, 2009 at 2:55 PM, Mark Vigeant
mark.vige...@riskmetrics.comwrote:
Yeah I just figured out the problem with zoocfg.py
I am running as the same user who
Hello,
I need to restart a single zookeeper server node on the same port within
my unit tests.
I tried stopping the server, having a delay and restarting it on the
same port. But the server doesn't startup. When I re-start on a
different port, it starts up correctly.
Can you let me
Hi Siddharth,
Usually the time of releasing the port is dependent on the OS. So you can
try sleeping a few more seconds to see if the port has been released or it
.. Or just poll on the port to see if its in use or not There isnt an
easier way to restart on the same port.
mahadev
On
It isn't exactly an answer to your question, but sometimes you can start the
server with a @BeforeClass setup and then use a @Before setup to delete
everything before each test. This doesn't avoid your problem, but it does
minimize it because you don't have to restart servers s often.
On
Siddharth Raghavan wrote:
I need to restart a single zookeeper server node on the same port within
my unit tests.
Are you testing c or java client?
I tried stopping the server, having a delay and restarting it on the
same port. But the server doesn't startup. When I re-start on a
different
You have a small typo in your client command, it should be:
bin/zkCli.sh -server 10.16.50.132:2181
(a : not a . prior to the port)
Patrick
chengxiong000 wrote:
Dear zookeepers:
I am a zookeeper user and encount an problem when start zookeeper when start the server and client task .
11 matches
Mail list logo