YARN-1246. Added application finish-status to ApplicationSummary for the sake of testing given ApplicationHistoryServer is not yet ready. Contributed by Arpit Gupta.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1527205 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Vinod Kumar Vavilapalli 2013-09-28 16:29:58 +00:00
parent 990e494556
commit 4ce930ea44
2 changed files with 6 additions and 1 deletions

View File

@ -75,6 +75,10 @@ Release 2.1.2 - UNRELEASED
IMPROVEMENTS IMPROVEMENTS
YARN-1246. Added application finish-status to ApplicationSummary for the sake
of testing given ApplicationHistoryServer is not yet ready. (Arpit Gupta via
vinodkv)
OPTIMIZATIONS OPTIMIZATIONS
BUG FIXES BUG FIXES

View File

@ -151,7 +151,8 @@ public static SummaryBuilder createAppSummary(RMApp app) {
.add("trackingUrl", trackingUrl) .add("trackingUrl", trackingUrl)
.add("appMasterHost", host) .add("appMasterHost", host)
.add("startTime", app.getStartTime()) .add("startTime", app.getStartTime())
.add("finishTime", app.getFinishTime()); .add("finishTime", app.getFinishTime())
.add("finalStatus", app.getFinalApplicationStatus());
return summary; return summary;
} }