Browse Source

Merge r1536250 from branch-2 to branch-2.2 for YARN-1022. Unnecessary INFO logs in AMRMClientAsync (haosdent via bikas)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.2@1536251 13f79535-47bb-0310-9956-ffa450edef68
Bikas Saha 11 năm trước cách đây
mục cha
commit
062186454c

+ 2 - 0
hadoop-yarn-project/CHANGES.txt

@@ -53,6 +53,8 @@ Release 2.2.1 - UNRELEASED
 
     YARN-1330. Fair Scheduler: defaultQueueSchedulingPolicy does not take effect
     (Sandy Ryza)
+    
+    YARN-1022. Unnecessary INFO logs in AMRMClientAsync (haosdent via bikas)
 
 Release 2.2.0 - 2013-10-13
 

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

@@ -240,7 +240,7 @@ extends AMRMClientAsync<T> {
               }
               break;
             } catch (InterruptedException ex) {
-              LOG.info("Interrupted while waiting to put on response queue", ex);
+              LOG.debug("Interrupted while waiting to put on response queue", ex);
             }
           }
         }
@@ -248,7 +248,7 @@ extends AMRMClientAsync<T> {
         try {
           Thread.sleep(heartbeatIntervalMs.get());
         } catch (InterruptedException ex) {
-          LOG.info("Heartbeater interrupted", ex);
+          LOG.debug("Heartbeater interrupted", ex);
         }
       }
     }