You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by Stack <st...@duboce.net> on 2014/04/03 08:20:06 UTC

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

Re: ZooKeeperMain.main doesn't act on arguments since 3.4.6?

Posted by Stack <st...@duboce.net>.
On Wed, Apr 2, 2014 at 11:34 PM, Rakesh R <ra...@huawei.com> wrote:

> >>> $ ~/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.
>

Thank you Rakesh for the pointer.
St.Ack

RE: ZooKeeperMain.main doesn't act on arguments since 3.4.6?

Posted by Rakesh R <ra...@huawei.com>.
>>> $ ~/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