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

(cherry picked from commit 8a37983990)
This commit is contained in:
Sunil G 2018-10-11 16:15:25 +05:30
parent fd9cd5f3c1
commit 52d270ef8c
1 changed files with 5 additions and 1 deletions

View File

@ -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";