You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by sh...@apache.org on 2018/10/12 05:46:42 UTC

[26/50] [abbrv] hadoop git commit: YARN-8753. [UI2] Lost nodes representation missing from Nodemanagers Chart. Contributed by Yesha Vora.

YARN-8753. [UI2] Lost nodes representation missing from Nodemanagers Chart. Contributed by Yesha Vora.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/8a379839
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/8a379839
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/8a379839

Branch: refs/heads/HDFS-12943
Commit: 8a379839909197690af170afc13c49ef7aa54286
Parents: d3da741
Author: Sunil G <su...@apache.org>
Authored: Thu Oct 11 16:15:25 2018 +0530
Committer: Sunil G <su...@apache.org>
Committed: Thu Oct 11 16:15:25 2018 +0530

----------------------------------------------------------------------
 .../src/main/webapp/app/models/cluster-metric.js               | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/8a379839/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/models/cluster-metric.js
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/models/cluster-metric.js b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/models/cluster-metric.js
index 764723a..4075aea 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/models/cluster-metric.js
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/models/cluster-metric.js
@@ -97,8 +97,12 @@ export default DS.Model.extend({
       label: "Decomissioned",
       value: this.get("decommissionedNodes")
     });
+    arr.push({
+      label: "Lost",
+      value: this.get("lostNodes")
+    });
     return arr;
-  }.property("activeNodes", "unhealthyNodes", "decommissioningNodes", "decommissionedNodes"),
+  }.property("activeNodes", "unhealthyNodes", "decommissioningNodes", "decommissionedNodes", "lostNodes"),
 
   getMemoryDataForDonutChart: function() {
     var type = "MB";


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org