@AfterClass
  public static void tearDown() {
    contextMap.get(getContextHandle()).stop();
  }
shutdown an hbase cluster instance ant the end of the test suite
itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/hbase/SkeletonHBaseTest.java