Skip to content

Commit

Permalink
YARN-3430. Made headroom data available on app attempt page of RM Web…
Browse files Browse the repository at this point in the history
…UI. Contributed by Xuan Gong.
  • Loading branch information
zjshen14 committed Apr 1, 2015
1 parent ed72daa commit 8366a36
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions hadoop-yarn-project/CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,9 @@ Release 2.7.0 - UNRELEASED
removing inconsistencies in the default values. (Junping Du and Karthik
Kambatla via vinodkv)

YARN-3430. Made headroom data available on app attempt page of RM WebUI.
(Xuan Gong via zjshen)

Release 2.6.0 - 2014-11-18

INCOMPATIBLE CHANGES
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,12 @@ protected void createAttemptHeadRoomTable(Block html) {
if (attempt != null) {
if (!isApplicationInFinalState(YarnApplicationAttemptState
.valueOf(attempt.getAppAttemptState().toString()))) {
RMAppAttemptMetrics metrics = attempt.getRMAppAttemptMetrics();
DIV<Hamlet> pdiv = html._(InfoBlock.class).div(_INFO_WRAP);
info("Application Attempt Overview").clear();
info("Application Attempt Metrics")._(
"Application Attempt Headroom : ", 0);
"Application Attempt Headroom : ", metrics == null ? "N/A" :
metrics.getApplicationAttemptHeadroom());
pdiv._();
}
}
Expand Down

0 comments on commit 8366a36

Please sign in to comment.