zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guy Moshkowich (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-2004) zkCli doesn't output command
Date Mon, 18 May 2015 05:54:00 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14547568#comment-14547568
] 

Guy Moshkowich commented on ZOOKEEPER-2004:
-------------------------------------------

[~gnoremac]: 
can you please close this as duplicate of ZOOKEEPER-1897?


> zkCli doesn't output command
> ----------------------------
>
>                 Key: ZOOKEEPER-2004
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2004
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 3.4.6
>         Environment: linux 
>            Reporter: Nelson
>             Fix For: 3.3.6
>
>
> Hi,
> With zookeeper 3.3.6, output is as expected (cf last line which returns the result of
ls /
> {code}
> nelson@nelson-laptop (0) $ ./zookeeper-3.3.6/bin/zkCli.sh -server 127.0.0.1:2181 ls /
> Connecting to 127.0.0.1:2181
> .... LOGS ....
> 2014-08-04 16:22:53,032 - INFO  [main:Environment@97] - Client environment:user.name=nelson
> 2014-08-04 16:22:53,032 - INFO  [main:Environment@97] - Client environment:user.home=/home/nelson
> 2014-08-04 16:22:53,033 - INFO  [main:Environment@97] - Client environment:user.dir=/home/nelson/git/
> 2014-08-04 16:22:53,035 - INFO  [main:ZooKeeper@379] - Initiating client connection,
connectString=127.0.0.1:2181 sessionTimeout=30000 watcher=org.apache.zookeeper.ZooKeeperMain$MyWatcher@75af8109
> 2014-08-04 16:22:53,056 - INFO  [main-SendThread():ClientCnxn$SendThread@1058] - Opening
socket connection to server /127.0.0.1:2181
> 2014-08-04 16:22:53,158 - INFO  [main-SendThread(127.0.0.1:2181):ClientCnxn$SendThread@947]
- Socket connection established to127.0.0.1:2181, initiating session
> 2014-08-04 16:22:53,216 - INFO  [main-SendThread(127.0.0.1:2181):ClientCnxn$SendThread@736]
- Session establishment complete on server 127.0.0.1:2181, sessionid = 0x147a10f7d02005a,
negotiated timeout = 30000
> WATCHER::
> WatchedEvent state:SyncConnected type:None path:null
> [kafka, zookeeper, mesos, marathon, chronos]
> nelson@nelson-laptop (0) $ 
> {code}
> With zookeeper 3.4.6 no output
> {code}
> nelson@nelson-laptop (0) $ ./zookeeper-3.4.6/bin/zkCli.sh -server 127.0.0.1:2181 ls /
> Connecting to 127.0.0.1:2181
> .... LOGS ....
> 2014-08-04 16:22:56,480 [myid:] - INFO  [main:Environment@100] - Client environment:user.name=nelson
> 2014-08-04 16:22:56,480 [myid:] - INFO  [main:Environment@100] - Client environment:user.home=/home/nelson
> 2014-08-04 16:22:56,480 [myid:] - INFO  [main:Environment@100] - Client environment:user.dir=/home/nelson/git/
> 2014-08-04 16:22:56,481 [myid:] - INFO  [main:ZooKeeper@438] - Initiating client connection,
connectString=127.0.0.1:2181 sessionTimeout=30000 watcher=org.apache.zookeeper.ZooKeeperMain$MyWatcher@87d53d8
> nelson@nelson-laptop (0) $ 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message