Package org.apache.hadoop.hbase.master
Class TestClientMetaServiceRPCs
java.lang.Object
org.apache.hadoop.hbase.master.TestClientMetaServiceRPCs
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static org.apache.hadoop.conf.Configurationprivate static final intprivate static org.apache.hadoop.hbase.ipc.RpcClientprivate static intprivate static final HBaseTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static org.apache.hadoop.hbase.shaded.protobuf.generated.RegistryProtos.ClientMetaService.BlockingInterfacegetMasterStub(org.apache.hadoop.hbase.ServerName server) private static org.apache.hadoop.hbase.ipc.HBaseRpcControllerstatic voidsetUp()static voidtearDown()voidVerifies the active master ServerName as seen by all masters.voidVerifies the cluster ID from all running masters.voidVerifies that the meta region locations RPC returns consistent results across all masters.
-
Field Details
-
CLASS_RULE
-
MASTER_COUNT
- See Also:
-
TEST_UTIL
-
conf
-
rpcTimeout
-
rpcClient
-
-
Constructor Details
-
TestClientMetaServiceRPCs
public TestClientMetaServiceRPCs()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
getMasterStub
private static org.apache.hadoop.hbase.shaded.protobuf.generated.RegistryProtos.ClientMetaService.BlockingInterface getMasterStub(org.apache.hadoop.hbase.ServerName server) throws IOException - Throws:
IOException
-
getRpcController
-
TestClusterID
Verifies the cluster ID from all running masters.- Throws:
Exception
-
TestActiveMaster
Verifies the active master ServerName as seen by all masters.- Throws:
Exception
-
TestMetaLocations
Verifies that the meta region locations RPC returns consistent results across all masters.- Throws:
Exception
-