@Override
  protected void serviceInit(Configuration conf) throws Exception {
    super.serviceInit(conf);
    threshold = HiveConf.getFloatVar(conf, HiveConf.ConfVars.HIVE_TEST_LOAD_UTILIZATION);
    if (threshold < 0 || threshold > 1.0) {
      throw new IllegalArgumentException(HiveConf.ConfVars.HIVE_TEST_LOAD_UTILIZATION.varname + " should " +
        "be between 0.0 and 1.0. The configuration specified [" + threshold + "]");
    }
    victimsHostName = HiveConf.getTrimmedStringsVar(conf, HiveConf.ConfVars.HIVE_TEST_LOAD_HOSTNAMES);
    interval = HiveConf.getTimeVar(conf, HiveConf.ConfVars.HIVE_TEST_LOAD_INTERVAL, TimeUnit.MILLISECONDS);
    LOG.info("LlapLoadGeneratorService init with {} {} {}", interval, threshold, victimsHostName);
  }
Extra load generator service for LLAP.
llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/LlapLoadGeneratorService.java