Browse Source

YARN-6208. Improve the log when FinishAppEvent sent to the NodeManager which didn't run the application
(Contributed by Akira Ajisaka via Daniel Templeton)

Daniel Templeton 8 years ago
parent
commit
73ecb19312

+ 4 - 2
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/ContainerManagerImpl.java

@@ -1475,8 +1475,10 @@ public class ContainerManagerImpl extends CompositeService implements
       for (ApplicationId appID : appsFinishedEvent.getAppsToCleanup()) {
         Application app = this.context.getApplications().get(appID);
         if (app == null) {
-          LOG.warn("couldn't find application " + appID + " while processing"
-              + " FINISH_APPS event");
+          LOG.info("couldn't find application " + appID + " while processing"
+              + " FINISH_APPS event. The ResourceManager allocated resources"
+              + " for this application to the NodeManager but no active"
+              + " containers were found to process.");
           continue;
         }