diff --git a/hadoop-hdds/server-scm/src/main/resources/webapps/scm/scm-overview.html b/hadoop-hdds/server-scm/src/main/resources/webapps/scm/scm-overview.html index fca23baa043..de4894ab12b 100644 --- a/hadoop-hdds/server-scm/src/main/resources/webapps/scm/scm-overview.html +++ b/hadoop-hdds/server-scm/src/main/resources/webapps/scm/scm-overview.html @@ -50,7 +50,7 @@ Node Manager: Chill mode status - {{$ctrl.nodemanagermetrics.ChillModeStatus}} + {{$ctrl.scmmetrics.InChillMode}} Node Manager: Manual chill mode diff --git a/hadoop-hdds/server-scm/src/main/resources/webapps/scm/scm.js b/hadoop-hdds/server-scm/src/main/resources/webapps/scm/scm.js index bcfa8b7b7b7..7c6dc9132c9 100644 --- a/hadoop-hdds/server-scm/src/main/resources/webapps/scm/scm.js +++ b/hadoop-hdds/server-scm/src/main/resources/webapps/scm/scm.js @@ -34,6 +34,10 @@ .then(function (result) { ctrl.nodemanagermetrics = result.data.beans[0]; }); + $http.get("jmx?qry=Hadoop:service=StorageContainerManager,name=StorageContainerManagerInfo,component=ServerRuntime") + .then(function (result) { + ctrl.scmmetrics = result.data.beans[0]; + }); var statusSortOrder = { "HEALTHY": "a",