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 dcc0c2997d..0be0d83f47 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 @@ -89,7 +89,7 @@ export default DS.Model.extend({ }); arr.push({ label: "Decommissioning", - value: this.get("decommissioningNodes") + value: this.get("decommissioningNodes") || 0 }); arr.push({ label: "Decomissioned",