ArafatKhan2198 commented on code in PR #3488:
URL: https://github.com/apache/ozone/pull/3488#discussion_r891955411


##########
hadoop-hdds/server-scm/src/main/resources/webapps/scm/scm.js:
##########
@@ -26,6 +26,12 @@
         },
         controller: function ($http) {
             var ctrl = this;
+
+            
$http.get("http://localhost:9874/jmx?qry=Ratis:service=RaftServer,group=*,id=*";)
+                .then(function (result){
+                    ctrl.role = result.data.beans[0]

Review Comment:
   Thanks for the find !! "
   I forgot to use it in the SCM UI, I have added it now !!
   



##########
hadoop-hdds/server-scm/src/main/resources/webapps/scm/scm.js:
##########
@@ -26,6 +26,12 @@
         },
         controller: function ($http) {
             var ctrl = this;
+
+            
$http.get("http://localhost:9874/jmx?qry=Ratis:service=RaftServer,group=*,id=*";)
+                .then(function (result){
+                    ctrl.role = result.data.beans[0]

Review Comment:
   Thanks for the find !! 
   I forgot to use it in the SCM UI, I have added it now !!
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to