소스 검색

HADOOP-17808. Avoid excessive logging for interruption (ADDENDUM) (#3267)

Viraj Jasani 3 년 전
부모
커밋
9fe1f24ec1
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java

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

@@ -1052,7 +1052,7 @@ public class Client implements AutoCloseable {
           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 class Client implements AutoCloseable {
         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();
         }
       }