You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Rakesh Kumar Singh (JIRA)" <ji...@apache.org> on 2016/09/23 05:11:20 UTC

[jira] [Assigned] (ZOOKEEPER-2533) Close the zkCli using "close" command and then connect using "connect" then provide some invalid input, it closing the channel and connecting again

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-2533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rakesh Kumar Singh reassigned ZOOKEEPER-2533:
---------------------------------------------

    Assignee: Rakesh Kumar Singh

> Close the zkCli using "close" command and then connect using "connect" then provide some invalid input, it closing the channel and connecting again
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2533
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2533
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: java client
>    Affects Versions: 3.5.1
>            Reporter: Rakesh Kumar Singh
>            Assignee: Rakesh Kumar Singh
>            Priority: Minor
>
> Close the zkCli using "close" command and then connect using "connect" then provide some invalid input, it closing the channel and connecting again
> Steps to reproduce:-
> 1. Connect the Zookeeper server using zkCli
> 2. close the connection using "close"
> 3. Connect again using "connect host"
> 4. Once connected, input space " " and hit enter
> It is closing the channel and establishing again.
> Console log is as below:-
> [zk: localhost:2181(CONNECTED) 5] close
> 2016-08-25 16:59:04,854 [myid:] - INFO  [main:ClientCnxnSocketNetty@201] - channel is told closing
> 2016-08-25 16:59:04,855 [myid:] - INFO  [main:ZooKeeper@1110] - Session: 0x101a00305cc0008 closed
> [zk: localhost:2181(CLOSED) 6] 2016-08-25 16:59:04,855 [myid:] - INFO  [main-EventThread:ClientCnxn$EventThread@542] - EventThread shut down for session: 0x101a00305cc0008
> 2016-08-25 16:59:04,856 [myid:] - INFO  [New I/O worker #1:ClientCnxnSocketNetty$ZKClientHandler@377] - channel is disconnected: [id: 0xd9735868, /0:0:0:0:0:0:0:1:44595 :> localhost/0:0:0:0:0:0:0:1:2181]
> 2016-08-25 16:59:04,856 [myid:] - INFO  [New I/O worker #1:ClientCnxnSocketNetty@201] - channel is told closing
> connect 10.18.101.80
> 2016-08-25 16:59:14,410 [myid:] - INFO  [main:ZooKeeper@716] - Initiating client connection, connectString=10.18.101.80 sessionTimeout=30000 watcher=org.apache.zookeeper.ZooKeeperMain$MyWatcher@19c50523
> [zk: 10.18.101.80(CONNECTING) 7] 2016-08-25 16:59:14,417 [myid:] - INFO  [main-SendThread(10.18.101.80:2181):ClientCnxn$SendThread@1138] - Opening socket connection to server 10.18.101.80/10.18.101.80:2181. Will not attempt to authenticate using SASL (unknown error)
> 2016-08-25 16:59:14,426 [myid:] - INFO  [main-SendThread(10.18.101.80:2181):ClientCnxnSocketNetty$ZKClientPipelineFactory@363] - SSL handler added for channel: null
> 2016-08-25 16:59:14,428 [myid:] - INFO  [New I/O worker #10:ClientCnxn$SendThread@980] - Socket connection established, initiating session, client: /10.18.101.80:58871, server: 10.18.101.80/10.18.101.80:2181
> 2016-08-25 16:59:14,428 [myid:] - INFO  [New I/O worker #10:ClientCnxnSocketNetty$1@146] - channel is connected: [id: 0xa8f6b724, /10.18.101.80:58871 => 10.18.101.80/10.18.101.80:2181]
> 2016-08-25 16:59:14,473 [myid:] - INFO  [New I/O worker #10:ClientCnxn$SendThread@1400] - Session establishment complete on server 10.18.101.80/10.18.101.80:2181, sessionid = 0x101a00305cc0009, negotiated timeout = 30000
> WATCHER::
> WatchedEvent state:SyncConnected type:None path:null



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