HDDS-527. Show SCM chill mode status in SCM UI. Contributed by Yiqun Lin.
(cherry picked from commit a9a63ae4a8367e66d5ec86b0097326b8491e4b1e)
This commit is contained in:
parent
c09f808853
commit
b2ab592e0a
@ -50,7 +50,7 @@ <h2>Status</h2>
|
||||
</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>
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user