@After public void tearDown() throws IOException { TEST_UTIL.shutdownMiniDFSCluster(); }
@AfterClass public static void shutdownCluster() throws IOException { UTIL.shutdownMiniDFSCluster(); }
@AfterClass public static void tearDownAfterClass() throws Exception { TEST_UTIL.shutdownMiniDFSCluster(); }
@AfterClass public static void stopCluster() throws Exception { UTIL.shutdownMiniDFSCluster(); }
@AfterClass public static void tearDownAfterClass() throws Exception { cleanup(); TEST_UTIL.shutdownMiniDFSCluster(); }
@After public void tearDown() throws Exception { testUtil.cleanupTestDir(); testUtil.shutdownMiniDFSCluster(); }
@AfterClass public static void tearDownAfterClass() throws Exception { TEST_UTIL.shutdownMiniZKCluster(); TEST_UTIL.shutdownMiniDFSCluster(); }
@AfterClass public static void tearDownAfterClass() throws IOException { FACTORY.close(); UTIL.shutdownMiniDFSCluster(); }
/** * Stops mini hbase, zk, and hdfs clusters. * @throws IOException * @see #startMiniCluster(int) */ public void shutdownMiniCluster() throws Exception { LOG.info("Shutting down minicluster"); shutdownMiniHBaseCluster(); shutdownMiniDFSCluster(); shutdownMiniZKCluster(); cleanupTestDir(); miniClusterRunning = false; LOG.info("Minicluster is down"); }
@AfterClass public static void tearDownAfterClass() throws Exception { LOG.info("Cleaning test directory: " + TEST_UTIL.getDataTestDir()); TEST_UTIL.cleanupTestDir(); TEST_UTIL.shutdownMiniDFSCluster(); }
@AfterClass public static void tearDownAfterClass() throws Exception { TEST_UTIL_PEER.shutdownMiniHBaseCluster(); TEST_UTIL.shutdownMiniHBaseCluster(); TEST_UTIL.shutdownMiniDFSCluster(); }
@AfterClass public static void tearDown() throws IOException, InterruptedException { if (EVENT_LOOP_GROUP != null) { EVENT_LOOP_GROUP.shutdownGracefully().sync(); } TEST_UTIL.shutdownMiniDFSCluster(); }
@After public void tearDown() throws Exception { cluster.shutdown(); cluster.join(); testUtil.shutdownMiniZKCluster(); testUtil.shutdownMiniDFSCluster(); }
@After public void tearDown() throws Exception { cluster.shutdown(); cluster.join(); testUtil.shutdownMiniZKCluster(); testUtil.shutdownMiniDFSCluster(); }
@AfterClass public static void tearDownAfterClass() throws Exception { if (WALS != null) { WALS.close(); } EVENT_LOOP_GROUP.shutdownGracefully().syncUninterruptibly(); UTIL.shutdownMiniDFSCluster(); }
assertTrue(ok); } finally { htu.shutdownMiniDFSCluster(); htu.shutdownMiniDFSCluster(); blocksDistribution.getTopHosts().size()); } finally { htu.shutdownMiniDFSCluster();
util.shutdownMiniDFSCluster(); util.cleanupTestDir();
fs.delete(cf1Dir, true); fs.delete(cf2Dir, true); util.shutdownMiniDFSCluster();
assertFalse(appenders[i].isException()); TEST_UTIL.shutdownMiniDFSCluster();