@Override
  public void tearDown() throws Exception {
    if (null != miniCluster) {
      miniCluster.shutdown();
      miniCluster = null;
    }
    super.tearDown();
  }
Start and stop a Kudu MiniCluster for testing purposes.
itests/util/src/main/java/org/apache/hadoop/hive/kudu/KuduTestSetup.java