HADOOP-17808. Avoid excessive logging for interruption (ADDENDUM) (#3267)
(cherry picked from commit 9fe1f24ec1
)
This commit is contained in:
parent
72508e6430
commit
b3077543cf
@ -1052,7 +1052,7 @@ private synchronized boolean waitForWork() {
|
||||
try {
|
||||
wait(timeout);
|
||||
} catch (InterruptedException e) {
|
||||
LOG.info("Interrupted while waiting to retrieve RPC response.", e);
|
||||
LOG.trace("Interrupted while waiting to retrieve RPC response.");
|
||||
Thread.currentThread().interrupt();
|
||||
}
|
||||
}
|
||||
@ -1386,8 +1386,8 @@ public void stop() {
|
||||
try {
|
||||
emptyCondition.wait();
|
||||
} catch (InterruptedException e) {
|
||||
LOG.info("Interrupted while waiting on all connections to be closed.",
|
||||
e);
|
||||
LOG.trace(
|
||||
"Interrupted while waiting on all connections to be closed.");
|
||||
Thread.currentThread().interrupt();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user