public class TestLocalHBaseCluster extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestLocalHBaseCluster.MyHMaster
A private master class similar to that used by HMasterCommandLine when
running in local mode.
|
static class |
TestLocalHBaseCluster.MyHRegionServer
A private regionserver class with a dummy method for testing casts
|
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestLocalHBaseCluster() |
Modifier and Type | Method and Description |
---|---|
void |
testLocalHBaseCluster()
Check that we can start a local HBase cluster specifying a custom master
and regionserver class and then cast back to those classes; also that
the cluster will launch and terminate cleanly.
|
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
public TestLocalHBaseCluster()
public void testLocalHBaseCluster() throws Exception
Exception
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.