HBASE-17798 RpcServer.Listener.Reader can abort due to CancelledKeyException (Guangxu Cheng)

This commit is contained in:
tedyu 2017-03-21 08:06:56 -07:00
parent b973d3fd46
commit 9726c71681
1 changed files with 2 additions and 1 deletions

View File

@ -721,7 +721,8 @@ public class RpcServer implements RpcServerInterface, ConfigurationObserver {
}
} catch (InterruptedException e) {
LOG.debug("Interrupted while sleeping");
return;
} catch (CancelledKeyException e) {
LOG.error(getName() + ": CancelledKeyException in Reader", e);
} catch (IOException ex) {
LOG.info(getName() + ": IOException in Reader", ex);
}