Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-15012 Flakies: Umbrella issue to hang current set of flakies from
  3. HBASE-15262

TestZooKeeperMainServer#testCommandLineWorks fails with CancelledKeyException

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None
    • This unit test does not exist anymore.

    Description

      
      

      2016-02-11 11:34:50,418 ERROR [SyncThread:0] server.NIOServerCnxn(178): Unexpected Exception:
      java.nio.channels.CancelledKeyException
      at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:73)
      at sun.nio.ch.SelectionKeyImpl.interestOps(SelectionKeyImpl.java:77)
      at org.apache.zookeeper.server.NIOServerCnxn.sendBuffer(NIOServerCnxn.java:151)
      at org.apache.zookeeper.server.ZooKeeperServer.finishSessionInit(ZooKeeperServer.java:607)
      at org.apache.zookeeper.server.FinalRequestProcessor.processRequest(FinalRequestProcessor.java:181)
      at org.apache.zookeeper.server.SyncRequestProcessor.flush(SyncRequestProcessor.java:200)
      at org.apache.zookeeper.server.SyncRequestProcessor.run(SyncRequestProcessor.java:131)
      [code}

      The test is expecting zk to do a System.exit but an existing zk or previous test is getting us this CancelledKeyException...

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: