Github user kkhatua commented on a diff in the pull request:

    https://github.com/apache/drill/pull/1160#discussion_r176590360
  
    --- Diff: exec/java-exec/src/main/resources/rest/index.ftl ---
    @@ -291,6 +300,46 @@
                 var url = protocol + "//" + host + requestPath;
                 return url;
           }
    +
    +      //Iterates through all the nodes for update
    +      function reloadMemory () {
    +          for (i = 1; i <= size; i++) {
    +              var address = 
$("#row-"+i).find("#address").contents().get(0).nodeValue.trim();
    +              updateMemory(address, i);
    +          }
    +      }
    +
    +      //Update memory
    +      function updateMemory(drillbit,idx) {
    +        var result = $.ajax({
    +          type: 'GET',
    +          url: "http://"+drillbit+":8047/status/metrics";,
    --- End diff --
    
    Actually, this is a challenge. We don't seem to be exposing any information 
on the http-port.  The only information I am getting back into DrillbitInfo are 
the other 3 ports: control, data and user. If I need to had HTTP to this (which 
I think it should), we need to modify the protobuf (UserBitShared). :(
    Do you have any suggestions?


---

Reply via email to