private void resetThreadStatus() {
    threadNames.forEach((name, status) -> threadNames.put(name, false));
    threadClasses.forEach((thread, status) -> threadClasses.put(thread, false));
  }
Base class for HMS leader config testing.
itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/MetastoreHousekeepingLeaderTestBase.java