public class TestCheckAndMutateWithByteBuff extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestCheckAndMutateWithByteBuff.TestCheckAndMutateRegion
An override of HRegion to allow sleep after get(), waiting for the release of DBB
|
Modifier and Type | Field and Description |
---|---|
private static org.apache.hadoop.hbase.client.Admin |
admin |
private static byte[] |
CF |
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.conf.Configuration |
conf |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestCheckAndMutateWithByteBuff() |
Modifier and Type | Method and Description |
---|---|
private org.apache.hadoop.hbase.client.Table |
createTable(org.apache.hadoop.hbase.TableName tableName,
org.apache.hadoop.hbase.io.encoding.DataBlockEncoding dbe) |
static void |
setupBeforeClass() |
static void |
tearDownAfterClass() |
private void |
testCheckAndMutateWithByteBuff(org.apache.hadoop.hbase.TableName tableName,
org.apache.hadoop.hbase.io.encoding.DataBlockEncoding dbe) |
void |
testCheckAndMutateWithByteBuffEncode() |
void |
testCheckAndMutateWithByteBuffNoEncode() |
private static final org.slf4j.Logger LOG
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
private static final byte[] CF
private static final HBaseTestingUtility TEST_UTIL
private static final org.apache.hadoop.conf.Configuration conf
private static org.apache.hadoop.hbase.client.Admin admin
public TestCheckAndMutateWithByteBuff()
public static void setupBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testCheckAndMutateWithByteBuffNoEncode() throws Exception
Exception
public void testCheckAndMutateWithByteBuffEncode() throws Exception
Exception
private void testCheckAndMutateWithByteBuff(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding dbe) throws Exception
Exception
private org.apache.hadoop.hbase.client.Table createTable(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding dbe) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.