@Override
    protected HashMap<String, LegacyMetricsScope> initialValue() {
      return new HashMap<String, LegacyMetricsScope>();
    }
Closes scope if open, and reopens it
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/common/metrics/LegacyMetrics.java