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

(Contributed by Akira Ajisaka via Daniel Templeton)
This commit is contained in:
Daniel Templeton 2017-06-02 08:50:19 -07:00
parent 056cc72885
commit 73ecb19312
1 changed files with 4 additions and 2 deletions

View File

@ -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;
}