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

svn merge --ignore-ancestry -c 1527205 ../../trunk/


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1527206 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Vinod Kumar Vavilapalli 2013-09-28 16:30:28 +00:00
parent f5ecb84344
commit 83ef3a1ab5
2 changed files with 6 additions and 1 deletions

View File

@ -60,6 +60,10 @@ Release 2.1.2 - UNRELEASED
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
BUG FIXES

View File

@ -151,7 +151,8 @@ public class RMAppManager implements EventHandler<RMAppManagerEvent>,
.add("trackingUrl", trackingUrl)
.add("appMasterHost", host)
.add("startTime", app.getStartTime())
.add("finishTime", app.getFinishTime());
.add("finishTime", app.getFinishTime())
.add("finalStatus", app.getFinalApplicationStatus());
return summary;
}