YARN-6208. Improve the log when FinishAppEvent sent to the NodeManager which didn't run the application

(Contributed by Akira Ajisaka via Daniel Templeton)

(cherry picked from commit 73ecb19312)
This commit is contained in:
Daniel Templeton 2017-06-02 08:50:19 -07:00
parent 8e119f1e90
commit 0bcbf2a09b
1 changed files with 4 additions and 2 deletions

View File

@ -1372,8 +1372,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;
}