From 062876bed726e3921d5585825b49749253c04497 Mon Sep 17 00:00:00 2001 From: Mahadev Konar Date: Fri, 28 Oct 2011 06:04:51 +0000 Subject: [PATCH] MAPREDUCE-3185. RM Web UI does not sort the columns in some cases. (Jonathan Eagles via mahadev) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1190165 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-mapreduce-project/CHANGES.txt | 3 +++ .../hadoop/yarn/server/resourcemanager/webapp/AppsList.java | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/hadoop-mapreduce-project/CHANGES.txt b/hadoop-mapreduce-project/CHANGES.txt index c9d61a6ec79..e076d16336e 100644 --- a/hadoop-mapreduce-project/CHANGES.txt +++ b/hadoop-mapreduce-project/CHANGES.txt @@ -1835,6 +1835,9 @@ Release 0.23.0 - Unreleased MAPREDUCE-3290. Fixed a NPE in ClientRMService. (acmurthy) + MAPREDUCE-3185. RM Web UI does not sort the columns in some cases. + (Jonathan Eagles via mahadev) + Release 0.22.0 - Unreleased INCOMPATIBLE CHANGES diff --git a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/AppsList.java b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/AppsList.java index b23080564d9..57e695c9248 100644 --- a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/AppsList.java +++ b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/AppsList.java @@ -71,7 +71,8 @@ class AppsList implements ToJSON { append(escapeHtml(app.getUser().toString())).append(_SEP). append(escapeHtml(app.getName().toString())).append(_SEP). append(escapeHtml(app.getQueue())).append(_SEP). - append(app.getState().toString()).append(_SEP); + append(app.getState().toString()).append(_SEP). + append(app.getFinalApplicationStatus().toString()).append(_SEP); appendProgressBar(out, app.getProgress()).append(_SEP); appendLink(out, ui, rc.prefix(), trackingUrlIsNotReady ?