You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Lars Hofhansl (JIRA)" <ji...@apache.org> on 2012/05/21 07:08:41 UTC

[jira] [Commented] (HBASE-1645) HBase could be a little more dainty when zk is pulled out from under it

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

Lars Hofhansl commented on HBASE-1645:
--------------------------------------

I think this is fixed by HBASE-5682
                
> 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: HBase
>          Issue Type: Sub-task
>            Reporter: stack
>            Assignee: Andrew Purtell
>            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.SelectionKeyImpl@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.SelectionKeyImpl@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/%3C31a243e70906231232h51c6abfdr2e3265f8e81f6f41@mail.gmail.com%3E
> This is not a biggy.  Just noting it.  No ZK, no HB.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira