@Override
  public long runFrequency(TimeUnit unit) {
    return MetastoreConf.getTimeVar(conf, ConfVars.REPL_METRICS_CLEANUP_FREQUENCY,
        unit);
  }
Metastore task to remove old replication metrics.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ReplicationMetricsMaintTask.java