private void setupLlapRegistryService(LlapRegistryService service) {
    try {
      consumeInitialInstances(service);
      service.registerStateChangeListener(this);
    } catch (IOException ex) {
      LOG.error(ex.getMessage(), ex);
    }
  }
Collect metrics from the llap daemons in every given milliseconds.
llap-tez/src/java/org/apache/hadoop/hive/llap/tezplugins/metrics/LlapMetricsCollector.java