From 9fe1f24ec11c3e1c2ed5ee9db801d40a2f7a2ed6 Mon Sep 17 00:00:00 2001 From: Viraj Jasani Date: Fri, 6 Aug 2021 06:57:30 +0530 Subject: [PATCH] HADOOP-17808. Avoid excessive logging for interruption (ADDENDUM) (#3267) --- .../src/main/java/org/apache/hadoop/ipc/Client.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java index 212ab3695c..3c737bafb0 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java @@ -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(); } }