@AfterClass
  public static void classLevelTearDown() throws IOException {
    primary.close();
    replica.close();
  }
TestMetaStoreEventListenerInRepl - Test metastore events created by replication.
itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestMetaStoreEventListenerInRepl.java