Package org.apache.hadoop.hbase
Class TestRESTApiClusterManager
java.lang.Object
org.apache.hadoop.hbase.TestRESTApiClusterManager
-
Field Summary
Modifier and TypeFieldDescriptionprivate ClusterManager
static MockHttpApiRule
private static HBaseCommonTestingUtility
final org.junit.rules.TestName
static final HBaseClassTestRule
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
before()
static void
private static void
configureClusterManager
(org.apache.hadoop.conf.Configuration conf) void
private static void
registerHost
(String hostName, String hostId) private static void
registerHostProperties
(String clusterName, String serviceName, String hostId, ClusterManager.ServiceType serviceType, Map<String, String> properties) private static void
registerServiceName
(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)
-