Skip to content

Commit b307754

Browse files
virajjasaniferhui
authored andcommitted
HADOOP-17808. Avoid excessive logging for interruption (ADDENDUM) (#3267)
(cherry picked from commit 9fe1f24)
1 parent 72508e6 commit b307754

File tree

1 file changed

+3
-3
lines changed
  • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc

1 file changed

+3
-3
lines changed

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,7 @@ private synchronized boolean waitForWork() {
10521052
try {
10531053
wait(timeout);
10541054
} catch (InterruptedException e) {
1055-
LOG.info("Interrupted while waiting to retrieve RPC response.", e);
1055+
LOG.trace("Interrupted while waiting to retrieve RPC response.");
10561056
Thread.currentThread().interrupt();
10571057
}
10581058
}
@@ -1386,8 +1386,8 @@ public void stop() {
13861386
try {
13871387
emptyCondition.wait();
13881388
} catch (InterruptedException e) {
1389-
LOG.info("Interrupted while waiting on all connections to be closed.",
1390-
e);
1389+
LOG.trace(
1390+
"Interrupted while waiting on all connections to be closed.");
13911391
Thread.currentThread().interrupt();
13921392
}
13931393
}

0 commit comments

Comments
 (0)