public class TestTableDescriptorModificationFromClient extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
FAMILY_0 |
private static byte[] |
FAMILY_1 |
org.junit.rules.TestName |
name |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
private static HBaseTestingUtility |
TEST_UTIL |
| Constructor and Description |
|---|
TestTableDescriptorModificationFromClient() |
| Modifier and Type | Method and Description |
|---|---|
static void |
afterAllTests() |
static void |
beforeAllTests()
Start up a mini cluster and put a small table of empty regions into it.
|
void |
setup() |
void |
testAddColumn() |
void |
testAddSameColumnFamilyTwice() |
void |
testDeleteColumn() |
void |
testDeleteSameColumnFamilyTwice() |
void |
testModifyColumnFamily() |
void |
testModifyNonExistingColumnFamily() |
void |
testModifyTable() |
private void |
verifyTableDescriptor(org.apache.hadoop.hbase.client.TableDescriptor htd,
org.apache.hadoop.hbase.TableName tableName,
byte[]... families) |
private void |
verifyTableDescriptor(org.apache.hadoop.hbase.TableName tableName,
byte[]... families) |
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
private static final HBaseTestingUtility TEST_UTIL
private static org.apache.hadoop.hbase.TableName TABLE_NAME
private static final byte[] FAMILY_0
private static final byte[] FAMILY_1
public TestTableDescriptorModificationFromClient()
public static void beforeAllTests() throws Exception
Exceptionpublic void setup()
public static void afterAllTests() throws Exception
Exceptionpublic void testModifyTable() throws IOException
IOExceptionpublic void testAddColumn() throws IOException
IOExceptionpublic void testAddSameColumnFamilyTwice() throws IOException
IOExceptionpublic void testModifyColumnFamily() throws IOException
IOExceptionpublic void testModifyNonExistingColumnFamily() throws IOException
IOExceptionpublic void testDeleteColumn() throws IOException
IOExceptionpublic void testDeleteSameColumnFamilyTwice() throws IOException
IOExceptionprivate void verifyTableDescriptor(org.apache.hadoop.hbase.TableName tableName, byte[]... families) throws IOException
IOExceptionprivate void verifyTableDescriptor(org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.TableName tableName, byte[]... families)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.