YARN-4028. AppBlock page key update and diagnostics value null on
recovery. Contributed by Bibin A Chundatt
This commit is contained in:
parent
7ecbfd44aa
commit
22dc5fc209
@ -780,6 +780,9 @@ Release 2.8.0 - UNRELEASED
|
||||
YARN-3987. Send AM container completed msg to NM once AM finishes.
|
||||
(sandflee via jianhe)
|
||||
|
||||
YARN-4028. AppBlock page key update and diagnostics value null on recovery
|
||||
(Bibin A Chundatt via xgong)
|
||||
|
||||
Release 2.7.2 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -195,13 +195,13 @@ public ApplicationReport run() throws Exception {
|
||||
&& webUiType.equals(YarnWebParams.RM_WEB_UI)) {
|
||||
LogAggregationStatus status = getLogAggregationStatus();
|
||||
if (status == null) {
|
||||
overviewTable._("Log Aggregation Status", "N/A");
|
||||
overviewTable._("Log Aggregation Status:", "N/A");
|
||||
} else if (status == LogAggregationStatus.DISABLED
|
||||
|| status == LogAggregationStatus.NOT_START
|
||||
|| status == LogAggregationStatus.SUCCEEDED) {
|
||||
overviewTable._("Log Aggregation Status", status.name());
|
||||
overviewTable._("Log Aggregation Status:", status.name());
|
||||
} else {
|
||||
overviewTable._("Log Aggregation Status",
|
||||
overviewTable._("Log Aggregation Status:",
|
||||
root_url("logaggregationstatus", app.getAppId()), status.name());
|
||||
}
|
||||
}
|
||||
|
@ -782,7 +782,8 @@ public void recover(RMState state) {
|
||||
LOG.info("Recovering app: " + getApplicationId() + " with " +
|
||||
+ appState.getAttemptCount() + " attempts and final state = "
|
||||
+ this.recoveredFinalState );
|
||||
this.diagnostics.append(appState.getDiagnostics());
|
||||
this.diagnostics.append(null == appState.getDiagnostics() ? "" : appState
|
||||
.getDiagnostics());
|
||||
this.storedFinishTime = appState.getFinishTime();
|
||||
this.startTime = appState.getStartTime();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user