From 73ecb19312879d54e1cbe80199fe950d81c81104 Mon Sep 17 00:00:00 2001 From: Daniel Templeton Date: Fri, 2 Jun 2017 08:50:19 -0700 Subject: [PATCH] YARN-6208. Improve the log when FinishAppEvent sent to the NodeManager which didn't run the application (Contributed by Akira Ajisaka via Daniel Templeton) --- .../nodemanager/containermanager/ContainerManagerImpl.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/ContainerManagerImpl.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/ContainerManagerImpl.java index 50268b9a46..cbf617b6d1 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/ContainerManagerImpl.java +++ b/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 void handle(ContainerManagerEvent event) { 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; }