Package org.apache.hadoop.hbase.client
Class TestMasterRegistry
java.lang.Object
org.apache.hadoop.hbase.client.TestMasterRegistry
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static String
generateDummyMastersList
(int size) Generates a string of dummy master addresses in host:port format.static void
setUp()
static void
tearDown()
void
Tests that the list of masters configured in the MasterRegistry is dynamically refreshed in the event of errors.void
Makes sure the master registry parses the master end points in the configuration correctly.void
void
-
Field Details
-
CLASS_RULE
-
TEST_UTIL
-
-
Constructor Details
-
TestMasterRegistry
public TestMasterRegistry()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
generateDummyMastersList
Generates a string of dummy master addresses in host:port format. Every other hostname won't have a port number. -
testMasterAddressParsing
Makes sure the master registry parses the master end points in the configuration correctly.- Throws:
Exception
-
testMasterPortDefaults
- Throws:
Exception
-
testRegistryRPCs
- Throws:
Exception
-
testDynamicMasterConfigurationRefresh
Tests that the list of masters configured in the MasterRegistry is dynamically refreshed in the event of errors.- Throws:
Exception
-