public class TestAsyncTableUseMetaReplicas extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestAsyncTableUseMetaReplicas.FailPrimaryMetaScanCp |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static boolean |
FAIL_PRIMARY_SCAN |
private static byte[] |
FAMILY |
private static byte[] |
QUALIFIER |
private static byte[] |
ROW |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
private static HBaseTestingUtility |
UTIL |
private static byte[] |
VALUE |
Constructor and Description |
---|
TestAsyncTableUseMetaReplicas() |
Modifier and Type | Method and Description |
---|---|
static void |
setUp() |
static void |
tearDown() |
void |
tearDownAfterTest() |
void |
testNotUseMetaReplicas() |
private void |
testRead(boolean useMetaReplicas) |
void |
testUseMetaReplicas() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility UTIL
private static org.apache.hadoop.hbase.TableName TABLE_NAME
private static byte[] FAMILY
private static byte[] QUALIFIER
private static byte[] ROW
private static byte[] VALUE
private static volatile boolean FAIL_PRIMARY_SCAN
public TestAsyncTableUseMetaReplicas()
public void tearDownAfterTest()
private void testRead(boolean useMetaReplicas) throws IOException, InterruptedException, ExecutionException
public void testNotUseMetaReplicas() throws IOException, InterruptedException, ExecutionException
public void testUseMetaReplicas() throws IOException, InterruptedException, ExecutionException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.