YARN-3552. RM Web UI shows -1 running containers for completed apps. Contributed by Rohith
This commit is contained in:
parent
318081ccd7
commit
9356cf8676
@ -305,6 +305,9 @@ Release 2.8.0 - UNRELEASED
|
||||
YARN-2725. Added test cases of retrying creating znode in ZKRMStateStore.
|
||||
(Tsuyoshi Ozawa via jianhe)
|
||||
|
||||
YARN-3552. RM Web UI shows -1 running containers for completed apps
|
||||
(Rohith via jlowe)
|
||||
|
||||
Release 2.7.1 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -133,7 +133,8 @@ public FairSchedulerAppsBlock(ResourceManager rm, ViewContext ctx,
|
||||
.append(appInfo.getFinishTime()).append("\",\"")
|
||||
.append(appInfo.getState()).append("\",\"")
|
||||
.append(appInfo.getFinalStatus()).append("\",\"")
|
||||
.append(appInfo.getRunningContainers()).append("\",\"")
|
||||
.append(appInfo.getRunningContainers() == -1 ? "N/A" : String
|
||||
.valueOf(appInfo.getRunningContainers())).append("\",\"")
|
||||
// Progress bar
|
||||
.append("<br title='").append(percent)
|
||||
.append("'> <div class='").append(C_PROGRESSBAR).append("' title='")
|
||||
|
@ -110,7 +110,8 @@ protected void renderData(Block html) {
|
||||
.append("\",\"")
|
||||
.append(app.getFinalAppStatus())
|
||||
.append("\",\"")
|
||||
.append(String.valueOf(app.getRunningContainers()))
|
||||
.append(app.getRunningContainers() == -1 ? "N/A" : String
|
||||
.valueOf(app.getRunningContainers()))
|
||||
.append("\",\"")
|
||||
// Progress bar
|
||||
.append("<br title='").append(percent).append("'> <div class='")
|
||||
|
Loading…
Reference in New Issue
Block a user