HBase could be a little more dainty when zk is pulled out from under it
-----------------------------------------------------------------------

                 Key: HBASE-1645
                 URL: https://issues.apache.org/jira/browse/HBASE-1645
             Project: Hadoop HBase
          Issue Type: Bug
            Reporter: stack
            Priority: Minor


Currently does this over and over:

{code}
#
2009-07-10 22:43:44,553 [main-SendThread] INFO org.apache.zookeeper.ClientCnxn: 
Server connection successful
#
2009-07-10 22:43:44,596 [main-SendThread] WARN org.apache.zookeeper.ClientCnxn: 
Exception closing session 0x12266d1f85e0000 to 
sun.nio.ch.selectionkeyi...@54a9387
#
java.io.IOException: Read error rc = -1 java.nio.DirectByteBuffer[pos=0 lim=4 
cap=4]
#
        at org.apache.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:653)
#
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:897)
#
2009-07-10 22:43:44,596 [main-SendThread] WARN org.apache.zookeeper.ClientCnxn: 
Ignoring exception during shutdown input
#
java.net.SocketException: Transport endpoint is not connected
#
        at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
#
        at sun.nio.ch.SocketChannelImpl.shutdownInput(Unknown Source)
#
        at sun.nio.ch.SocketAdaptor.shutdownInput(Unknown Source)
#
        at 
org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:951)
#
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:922)
#
2009-07-10 22:43:44,596 [main-SendThread] WARN org.apache.zookeeper.ClientCnxn: 
Ignoring exception during shutdown output
#
java.net.SocketException: Transport endpoint is not connected
#
        at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
#
        at sun.nio.ch.SocketChannelImpl.shutdownOutput(Unknown Source)
#
        at sun.nio.ch.SocketAdaptor.shutdownOutput(Unknown Source)
#
        at 
org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:956)
#
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:922)
#
2009-07-10 22:43:44,803 [main-SendThread] INFO org.apache.zookeeper.ClientCnxn: 
Attempting connection to server 
aa0-000-12.u.powerset.com/fdfb:c1e8:7640:2:2e0:81ff:fe40:8826:2181
#
2009-07-10 22:43:44,803 [main-SendThread] INFO org.apache.zookeeper.ClientCnxn: 
Priming connection to java.nio.channels.SocketChannel[connected 
local=/fdfb:c1e8:7640:2:2e0:81ff:fe41:b98a:47170 
remote=aa0-000-12.u.powerset.com/fdfb:c1e8:7640:2:2e0:81ff:fe40:8826:2181]
#
2009-07-10 22:43:44,803 [main-SendThread] INFO org.apache.zookeeper.ClientCnxn: 
Server connection successful
#
2009-07-10 22:43:44,806 [main-SendThread] WARN org.apache.zookeeper.ClientCnxn: 
Exception closing session 0x12266d1f85e0000 to 
sun.nio.ch.selectionkeyi...@631b86c7
#
java.io.IOException: Read error rc = -1 java.nio.DirectByteBuffer[pos=0 lim=4 
cap=4]
#
        at org.apache.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:653)
#
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:897)
#
2009-07-10 22:43:44,806 [main-SendThread] WARN org.apache.zookeeper.ClientCnxn: 
Ignoring exception during shutdown input
...
{code}

You then have to do killjava -9 to get it to go down.

Here is related mail: 
http://mail-archives.apache.org/mod_mbox/hadoop-zookeeper-user/200906.mbox/%[email protected]%3e

This is not a biggy.  Just noting it.  No ZK, no HB.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to