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:
parent
056cc72885
commit
73ecb19312
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user