HDDS-623. On SCM UI, Node Manager info is empty (#523)
* HDDS-623. On SCM UI, Node Manager info is empty. Contributed by Elek, Marton.
This commit is contained in:
parent
cb0fa0ce3f
commit
90c37ac40d
|
@ -36,25 +36,9 @@
|
||||||
<td>Datanode Rpc port</td>
|
<td>Datanode Rpc port</td>
|
||||||
<td>{{$ctrl.overview.jmx.DatanodeRpcPort}}</td>
|
<td>{{$ctrl.overview.jmx.DatanodeRpcPort}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
|
||||||
<td>Block Manager: Open containers</td>
|
|
||||||
<td>{{$ctrl.blockmanagermetrics.OpenContainersNo}}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Node Manager: Minimum chill mode nodes</td>
|
|
||||||
<td>{{$ctrl.nodemanagermetrics.MinimumChillModeNodes}}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Node Manager: Out-of-node chill mode</td>
|
|
||||||
<td>{{$ctrl.nodemanagermetrics.OutOfNodeChillMode}}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>Node Manager: Chill mode status</td>
|
<td>Node Manager: Chill mode status</td>
|
||||||
<td>{{$ctrl.scmmetrics.InChillMode}}</td>
|
<td>{{$ctrl.scmmetrics.InChillMode}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
|
||||||
<td>Node Manager: Manual chill mode</td>
|
|
||||||
<td>{{$ctrl.nodemanagermetrics.InManualChillMode}}</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -26,10 +26,6 @@
|
||||||
},
|
},
|
||||||
controller: function ($http) {
|
controller: function ($http) {
|
||||||
var ctrl = this;
|
var ctrl = this;
|
||||||
$http.get("jmx?qry=Hadoop:service=BlockManager,name=*")
|
|
||||||
.then(function (result) {
|
|
||||||
ctrl.blockmanagermetrics = result.data.beans[0];
|
|
||||||
});
|
|
||||||
$http.get("jmx?qry=Hadoop:service=SCMNodeManager,name=SCMNodeManagerInfo")
|
$http.get("jmx?qry=Hadoop:service=SCMNodeManager,name=SCMNodeManagerInfo")
|
||||||
.then(function (result) {
|
.then(function (result) {
|
||||||
ctrl.nodemanagermetrics = result.data.beans[0];
|
ctrl.nodemanagermetrics = result.data.beans[0];
|
||||||
|
|
Loading…
Reference in New Issue