Package org.apache.hadoop.hbase
Class TestLocalHBaseCluster
java.lang.Object
org.apache.hadoop.hbase.TestLocalHBaseCluster
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A private master class similar to that used by HMasterCommandLine when running in local mode.static class
A private regionserver class with a dummy method for testing casts -
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Field Details
-
CLASS_RULE
-
TEST_UTIL
-
-
Constructor Details
-
TestLocalHBaseCluster
public TestLocalHBaseCluster()
-
-
Method Details
-
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. See HBASE-6011. Uses the HBaseTestingUtility facilities for creating a LocalHBaseCluster with custom master and regionserver classes.- Throws:
Exception
-