>>> $ ~/bin/java/bin/java -cp
>>> lib/zookeeper-3.4.6.jar:lib/slf4j-log4j12-1.6.4.jar:lib/slf4j-api-1.6.4.jar:lib/log4j-1.2.17.jar
>>> org.apache.zookeeper.ZooKeeperMain -server c2020:2181 ls "/hbase/rs"
>>> i.e. pass a command to ZooKeeperMain on the command-line for it to run?
>>> With 3.4.6 it eats my command and gives me nothing back nothing.
Yes. This has been observed sometime back.
Looks like https://issues.apache.org/jira/browse/ZOOKEEPER-1897, is talking the same. Please
have a look.
Thanks,
Rakesh
-----Original Message-----
From: saint.ack@gmail.com [mailto:saint.ack@gmail.com] On Behalf Of Stack
Sent: 03 April 2014 11:50
To: zookeeper-user
Subject: ZooKeeperMain.main doesn't act on arguments since 3.4.6?
Has anyone else run into the fact that this no longer works:
$ ~/bin/java/bin/java -cp
lib/zookeeper-3.4.6.jar:lib/slf4j-log4j12-1.6.4.jar:lib/slf4j-api-1.6.4.jar:lib/log4j-1.2.17.jar
org.apache.zookeeper.ZooKeeperMain -server c2020:2181 ls "/hbase/rs"
i.e. pass a command to ZooKeeperMain on the command-line for it to run?
With 3.4.6 it eats my command and gives me nothing back nothing.
Works fine w/ 3.4.5.
ZooKeeperMain has two changes since 3.4.5. If I back out ZOOKEEPER-1535<https://issues.apache.org/jira/browse/ZOOKEEPER-1535>
, which is one of them, stuff works again.
Any others run into this?
Thanks,
St.Ack
|