Package org.apache.hadoop.hbase.master
Class TestClientMetaServiceRPCs
java.lang.Object
org.apache.hadoop.hbase.master.TestClientMetaServiceRPCs
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static org.apache.hadoop.conf.Configuration
private static final int
private static org.apache.hadoop.hbase.ipc.RpcClient
private static int
private static final HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static org.apache.hadoop.hbase.shaded.protobuf.generated.RegistryProtos.ClientMetaService.BlockingInterface
getMasterStub
(org.apache.hadoop.hbase.ServerName server) private static org.apache.hadoop.hbase.ipc.HBaseRpcController
static void
setUp()
static void
tearDown()
void
Verifies the active master ServerName as seen by all masters.void
Verifies the cluster ID from all running masters.void
Verifies 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
-