public class TestWarmupRegion extends Object
TableBuilder
. Sets
up the HBase mini cluster once at start and runs through all client tests. Each creates a table
named for the method and does its stuff against that.Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
COLUMN |
private static byte[] |
FAMILY |
private static org.slf4j.Logger |
LOG |
private static MiniHBaseCluster |
myCluster |
private static int |
numRows |
private static byte[] |
QUALIFIER |
private static byte[] |
ROW |
protected static int |
SLAVES |
private static org.apache.hadoop.hbase.client.Table |
table |
protected org.apache.hadoop.hbase.TableName |
TABLENAME |
protected static HBaseTestingUtility |
TEST_UTIL |
private static byte[] |
VALUE |
Constructor and Description |
---|
TestWarmupRegion() |
Modifier and Type | Method and Description |
---|---|
protected void |
runwarmup() |
void |
setUp() |
static void |
setUpBeforeClass() |
void |
tearDown() |
static void |
tearDownAfterClass() |
void |
testWarmup()
Basic client side validation of HBASE-4536
|
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
protected org.apache.hadoop.hbase.TableName TABLENAME
protected static final HBaseTestingUtility TEST_UTIL
private static byte[] ROW
private static byte[] FAMILY
private static byte[] QUALIFIER
private static byte[] VALUE
private static byte[] COLUMN
private static int numRows
protected static int SLAVES
private static MiniHBaseCluster myCluster
private static org.apache.hadoop.hbase.client.Table table
public TestWarmupRegion()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
protected void runwarmup() throws InterruptedException
InterruptedException
public void testWarmup() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.