Github user kkhatua commented on a diff in the pull request:
https://github.com/apache/drill/pull/1160#discussion_r176592068
--- Diff: exec/java-exec/src/main/resources/rest/index.ftl ---
@@ -192,6 +199,8 @@
var port = getPortNum();
var timeout;
var size = $("#size").html();
+ reloadMemory();
+ setInterval(reloadMemory, refreshTime);
--- End diff --
That's because the scheduler for graceful shutdown can change, while in
this case we need a periodic refresh that shouldn't change.
As for a Drillbit going down, it can always come back online. As long as
the page continues to list the Drillbit and it does get updated to reflect the
status as "ONLINE" again, we should be pinging for the metrics too.
---