Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-2183 Ride over restart
  3. HBASE-1645

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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Currently does this over and over:

      #
      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
      ...
      

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            stack Michael Stack
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: