HBASE-17798 RpcServer.Listener.Reader can abort due to CancelledKeyException (Guangxu Cheng)
This commit is contained in:
parent
8f4ae0a0dc
commit
1cfd22bf43
|
@ -302,7 +302,8 @@ public class SimpleRpcServer extends RpcServer {
|
|||
if (running) { // unexpected -- log it
|
||||
LOG.info(Thread.currentThread().getName() + " unexpectedly interrupted", e);
|
||||
}
|
||||
return;
|
||||
} catch (CancelledKeyException e) {
|
||||
LOG.error(getName() + ": CancelledKeyException in Reader", e);
|
||||
} catch (IOException ex) {
|
||||
LOG.info(getName() + ": IOException in Reader", ex);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue