public class TestClientMetaServiceRPCs extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.conf.Configuration |
conf |
private static int |
MASTER_COUNT |
private static org.apache.hadoop.hbase.ipc.RpcClient |
rpcClient |
private static int |
rpcTimeout |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestClientMetaServiceRPCs() |
Modifier and Type | Method and Description |
---|---|
private static org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.ClientMetaService.BlockingInterface |
getMasterStub(org.apache.hadoop.hbase.ServerName server) |
private static org.apache.hadoop.hbase.ipc.HBaseRpcController |
getRpcController() |
static void |
setUp() |
static void |
tearDown() |
void |
TestActiveMaster()
Verifies the active master ServerName as seen by all masters.
|
void |
TestClusterID()
Verifies the cluster ID from all running masters.
|
void |
TestMetaLocations()
Verifies that the meta region locations RPC returns consistent results across all masters.
|
public static final HBaseClassTestRule CLASS_RULE
private static final int MASTER_COUNT
private static final HBaseTestingUtility TEST_UTIL
private static org.apache.hadoop.conf.Configuration conf
private static int rpcTimeout
private static org.apache.hadoop.hbase.ipc.RpcClient rpcClient
public TestClientMetaServiceRPCs()
private static org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.ClientMetaService.BlockingInterface getMasterStub(org.apache.hadoop.hbase.ServerName server) throws IOException
IOException
private static org.apache.hadoop.hbase.ipc.HBaseRpcController getRpcController()
public void TestClusterID() throws Exception
Exception
public void TestActiveMaster() throws Exception
Exception
public void TestMetaLocations() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.