HBASE-17798 RpcServer.Listener.Reader can abort due to CancelledKeyException (Guangxu Cheng)
This commit is contained in:
parent
b973d3fd46
commit
9726c71681
|
@ -721,7 +721,8 @@ public class RpcServer implements RpcServerInterface, ConfigurationObserver {
|
||||||
}
|
}
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
LOG.debug("Interrupted while sleeping");
|
LOG.debug("Interrupted while sleeping");
|
||||||
return;
|
} catch (CancelledKeyException e) {
|
||||||
|
LOG.error(getName() + ": CancelledKeyException in Reader", e);
|
||||||
} catch (IOException ex) {
|
} catch (IOException ex) {
|
||||||
LOG.info(getName() + ": IOException in Reader", ex);
|
LOG.info(getName() + ": IOException in Reader", ex);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue