HDDS-527. Show SCM chill mode status in SCM UI. Contributed by Yiqun Lin.
This commit is contained in:
parent
9df1c84be0
commit
a9a63ae4a8
|
@ -50,7 +50,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Node Manager: Chill mode status</td>
|
<td>Node Manager: Chill mode status</td>
|
||||||
<td>{{$ctrl.nodemanagermetrics.ChillModeStatus}}</td>
|
<td>{{$ctrl.scmmetrics.InChillMode}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Node Manager: Manual chill mode</td>
|
<td>Node Manager: Manual chill mode</td>
|
||||||
|
|
|
@ -34,6 +34,10 @@
|
||||||
.then(function (result) {
|
.then(function (result) {
|
||||||
ctrl.nodemanagermetrics = result.data.beans[0];
|
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 = {
|
var statusSortOrder = {
|
||||||
"HEALTHY": "a",
|
"HEALTHY": "a",
|
||||||
|
|
Loading…
Reference in New Issue