Package org.apache.hadoop.hbase
Class TestRESTApiClusterManager
java.lang.Object
org.apache.hadoop.hbase.TestRESTApiClusterManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ClusterManagerstatic MockHttpApiRuleprivate static HBaseCommonTestingUtilfinal org.junit.rules.TestNamestatic final HBaseClassTestRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbefore()static voidprivate static voidconfigureClusterManager(org.apache.hadoop.conf.Configuration conf) voidprivate static voidregisterHost(String hostName, String hostId) private static voidregisterHostProperties(String clusterName, String serviceName, String hostId, ClusterManager.ServiceType serviceType, Map<String, String> properties) private static voidregisterServiceName(String clusterName, RESTApiClusterManager.Service service, String serviceName)
-
Field Details
-
testRule
-
mockHttpApi
-
testName
-
testingUtility
-
clusterManager
-
-
Constructor Details
-
TestRESTApiClusterManager
public TestRESTApiClusterManager()
-
-
Method Details
-
beforeClass
-
before
-
isRunningPositive
- Throws:
IOException
-
configureClusterManager
-
registerServiceName
private static void registerServiceName(String clusterName, RESTApiClusterManager.Service service, String serviceName) -
registerHost
-
registerHostProperties
private static void registerHostProperties(String clusterName, String serviceName, String hostId, ClusterManager.ServiceType serviceType, Map<String, String> properties)
-