YARN-6068. Log aggregation get failed when NM restart even with recovery (Junping Du via Varun Saxena)
This commit is contained in:
parent
94f1d06f20
commit
f59e36b4ce
@ -498,8 +498,8 @@ public void run() {
|
|||||||
+ appId, e);
|
+ appId, e);
|
||||||
doAppLogAggregationPostCleanUp();
|
doAppLogAggregationPostCleanUp();
|
||||||
} finally {
|
} finally {
|
||||||
if (!this.appAggregationFinished.get()) {
|
if (!this.appAggregationFinished.get() && !this.aborted.get()) {
|
||||||
LOG.warn("Aggregation did not complete for application " + appId);
|
LOG.warn("Log aggregation did not complete for application " + appId);
|
||||||
this.dispatcher.getEventHandler().handle(
|
this.dispatcher.getEventHandler().handle(
|
||||||
new ApplicationEvent(this.appId,
|
new ApplicationEvent(this.appId,
|
||||||
ApplicationEventType.APPLICATION_LOG_HANDLING_FAILED));
|
ApplicationEventType.APPLICATION_LOG_HANDLING_FAILED));
|
||||||
|
Loading…
Reference in New Issue
Block a user