Package org.apache.hadoop.hbase
Class TestRESTApiClusterManager
java.lang.Object
org.apache.hadoop.hbase.TestRESTApiClusterManager
@Tag("org.apache.hadoop.hbase.testclassification.SmallTests")
public class TestRESTApiClusterManager
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ClusterManagerstatic MockHttpApiRuleprivate static HBaseCommonTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvoidbefore(org.junit.jupiter.api.TestInfo testInfo) static voidprivate static voidconfigureClusterManager(org.apache.hadoop.conf.Configuration conf) voidisRunningPositive(org.junit.jupiter.api.TestInfo testInfo) private 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
-
mockHttpApi
-
testingUtility
-
clusterManager
-
-
Constructor Details
-
TestRESTApiClusterManager
public TestRESTApiClusterManager()
-
-
Method Details
-
beforeClass
- Throws:
Exception
-
afterClass
- Throws:
Exception
-
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)
-