@Before
  public void setUp() throws Exception {
    // Empty string for leader indicates that the HMS is leader.
    internalSetup("some_non_leader_host.domain1.domain", true);
  }
Test for specifying HMS leader other than the current one.
itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestMetastoreHousekeepingNonLeader.java