private void checkEnabledForTests(HiveConf conf) {
    if (enableForTests) {
      conf.set(Constants.SCHEDULED_QUERY_SCHEDULENAME, "pol");
      conf.setLong(Constants.SCHEDULED_QUERY_EXECUTIONID, ++scheduledExecutionIdForTests);
    }
  }
Abstract class for Replication Metric Collection.
ql/src/java/org/apache/hadoop/hive/ql/parse/repl/metric/ReplicationMetricCollector.java