stack created HBASE-15262:
-----------------------------
Summary: TestZooKeeperMainServer#testCommandLineWorks fails with
CancelledKeyException
Key: HBASE-15262
URL: https://issues.apache.org/jira/browse/HBASE-15262
Project: HBase
Issue Type: Sub-task
Reporter: stack
{code}
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...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)