HDDS-527. Show SCM chill mode status in SCM UI. Contributed by Yiqun Lin.

This commit is contained in:
Márton Elek 2018-10-17 12:44:53 +02:00
parent 9df1c84be0
commit a9a63ae4a8
2 changed files with 5 additions and 1 deletions

View File

@ -50,7 +50,7 @@
</tr>
<tr>
<td>Node Manager: Chill mode status</td>
<td>{{$ctrl.nodemanagermetrics.ChillModeStatus}}</td>
<td>{{$ctrl.scmmetrics.InChillMode}}</td>
</tr>
<tr>
<td>Node Manager: Manual chill mode</td>

View File

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