From 90c37ac40de5827335b4f739e6330e1d3558971e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elek=2C=20M=C3=A1rton?= Date: Mon, 4 Mar 2019 23:35:00 +0100 Subject: [PATCH] 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. --- .../resources/webapps/scm/scm-overview.html | 18 +----------------- .../src/main/resources/webapps/scm/scm.js | 4 ---- 2 files changed, 1 insertion(+), 21 deletions(-) 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 de4894ab12b..fedfcdfd1ff 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 @@ -36,25 +36,9 @@ Datanode Rpc port {{$ctrl.overview.jmx.DatanodeRpcPort}} - - Block Manager: Open containers - {{$ctrl.blockmanagermetrics.OpenContainersNo}} - - - Node Manager: Minimum chill mode nodes - {{$ctrl.nodemanagermetrics.MinimumChillModeNodes}} - - - Node Manager: Out-of-node chill mode - {{$ctrl.nodemanagermetrics.OutOfNodeChillMode}} - Node Manager: Chill mode status {{$ctrl.scmmetrics.InChillMode}} - - Node Manager: Manual chill mode - {{$ctrl.nodemanagermetrics.InManualChillMode}} - - \ No newline at end of file + 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 7c6dc9132c9..2942a561dea 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 @@ -26,10 +26,6 @@ }, controller: function ($http) { 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") .then(function (result) { ctrl.nodemanagermetrics = result.data.beans[0];