Explorar el Código

YARN-6166. Unnecessary INFO logs in AMRMClientAsyncImpl$CallbackHandlerThread.run (Contributed by Grant Whiteheart via Daniel Templeton)

(cherry picked from commit 1238fa71f8e62cecde6e2437d1b83ad3922295f8)
Daniel Templeton hace 8 años
padre
commit
7c3578ca17

+ 2 - 1
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/api/async/impl/AMRMClientAsyncImpl.java

@@ -310,7 +310,8 @@ extends AMRMClientAsync<T> {
           try {
             object = responseQueue.take();
           } catch (InterruptedException ex) {
-            LOG.info("Interrupted while waiting for queue", ex);
+            LOG.debug("Interrupted while waiting for queue", ex);
+            Thread.currentThread().interrupt();
             continue;
           }
           if (object instanceof Throwable) {