org.apache.hadoop.hbase.HBaseTestingUtility.shutdownMiniCluster()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(3.6k)|赞(0)|评价(0)|浏览(207)

本文整理了Java中org.apache.hadoop.hbase.HBaseTestingUtility.shutdownMiniCluster()方法的一些代码示例,展示了HBaseTestingUtility.shutdownMiniCluster()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。HBaseTestingUtility.shutdownMiniCluster()方法的具体详情如下:
包路径:org.apache.hadoop.hbase.HBaseTestingUtility
类名称:HBaseTestingUtility
方法名:shutdownMiniCluster

HBaseTestingUtility.shutdownMiniCluster介绍

[英]Stops mini hbase, zk, and hdfs clusters.
[中]停止迷你hbase、zk和hdfs群集。

代码示例

代码示例来源:origin: apache/hbase

@AfterClass
 public static void tearDownAfterClass() throws Exception {
  TEST_UTIL.shutdownMiniCluster();
 }
}

代码示例来源:origin: apache/hbase

/**
 * @throws java.lang.Exception
 */
@AfterClass
public static void afterClass() throws Exception {
 TEST_UTIL.shutdownMiniCluster();
}

代码示例来源:origin: apache/hbase

/**
 * @throws java.lang.Exception
 */
@AfterClass
public static void tearDownAfterClass() throws Exception {
 TEST_UTIL.shutdownMiniCluster();
}

代码示例来源:origin: apache/hbase

/**
 * @throws java.lang.Exception
 */
@AfterClass
public static void tearDownAfterClass() throws Exception {
 TEST_UTIL.shutdownMiniCluster();
}

代码示例来源:origin: apache/hbase

@AfterClass
public static void cleanupTest() throws Exception {
 try {
  UTIL.shutdownMiniCluster();
 } catch (Exception e) {
  // NOOP;
 }
}

代码示例来源:origin: apache/hbase

/**
 * @throws java.lang.Exception
 */
@AfterClass
public static void tearDownAfterClass() throws Exception {
 TEST_UTIL.shutdownMiniCluster();
}

代码示例来源:origin: apache/hbase

/**
 * @throws java.lang.Exception
 */
@AfterClass
public static void tearDownAfterClass() throws Exception {
 TEST_UTIL.shutdownMiniCluster();
}

代码示例来源:origin: apache/hbase

@AfterClass
 public static void tearDownAfterClass() throws Exception {
  TEST_UTIL.shutdownMiniCluster();
 }
}

代码示例来源:origin: apache/hbase

@AfterClass
public static void tearDown() throws Exception {
 IOUtils.closeQuietly(CONN);
 TEST_UTIL.shutdownMiniCluster();
}

代码示例来源:origin: apache/hbase

@AfterClass
public static void tearDown() throws Exception {
 IOUtils.closeQuietly(REGISTRY);
 TEST_UTIL.shutdownMiniCluster();
}

代码示例来源:origin: apache/hbase

@AfterClass
public static void cleanupTest() throws Exception {
 try {
  UTIL.shutdownMiniCluster();
 } catch (Exception e) {
  LOG.warn("failure shutting down cluster", e);
 }
}

代码示例来源:origin: apache/hbase

@AfterClass
public static void cleanupTest() throws Exception {
 try {
  UTIL.shutdownMiniCluster();
 } catch (Exception e) {
  LOG.warn("failure shutting down cluster", e);
 }
}

代码示例来源:origin: apache/hbase

@AfterClass
public static void tearDownAfterClass() throws Exception {
 IOUtils.closeQuietly(ASYNC_CONN);
 TEST_UTIL.shutdownMiniCluster();
}

代码示例来源:origin: apache/hbase

/**
 * @throws Exception if closing the filesystem or shutting down the mini cluster fails
 */
@AfterClass
public static void tearDownAfterClass() throws Exception {
 if (fs != null) {
  fs.close();
 }
 TEST_UTIL.shutdownMiniCluster();
}

代码示例来源:origin: apache/hbase

@AfterClass
public static void tearDownAfterClass() throws Exception {
 IOUtils.closeQuietly(CONN);
 TEST_UTIL.shutdownMiniCluster();
}

代码示例来源:origin: apache/hbase

@AfterClass
public static void cleanupTest() throws Exception {
 try {
  UTIL.shutdownMiniCluster();
 } catch (Exception e) {
  LOG.warn("failure shutting down cluster", e);
 }
}

代码示例来源:origin: apache/hbase

@AfterClass
public static void tearDown() throws Exception {
 IOUtils.closeQuietly(REGISTRY);
 TEST_UTIL.shutdownMiniCluster();
}

代码示例来源:origin: apache/hbase

@AfterClass
public static void tearDownAfterClass() throws Exception {
 REST_TEST_UTIL.shutdownServletContainer();
 TEST_UTIL.shutdownMiniCluster();
}

代码示例来源:origin: apache/hbase

@AfterClass
public static void tearDownAfterClass() throws Exception {
 REST_TEST_UTIL.shutdownServletContainer();
 TEST_UTIL.shutdownMiniCluster();
}

代码示例来源:origin: apache/hbase

@AfterClass
public static void tearDown() throws Exception {
 CONN.close();
 TEST_UTIL.shutdownMiniCluster();
}

相关文章

HBaseTestingUtility类方法