public class TestFSTableDescriptors extends Object
FSTableDescriptors.| Modifier and Type | Class and Description |
|---|---|
private static class |
TestFSTableDescriptors.FSTableDescriptorsTest |
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private static HBaseTestingUtility |
UTIL |
| Constructor and Description |
|---|
TestFSTableDescriptors() |
| Modifier and Type | Method and Description |
|---|---|
private org.apache.hadoop.fs.Path |
assertWriteAndReadSequenceId(int i) |
void |
testCacheConsistency() |
void |
testCreateAndUpdate() |
void |
testCreateTableDescriptorUpdatesIfExistsAlready() |
void |
testFormatTableInfoSequenceId() |
void |
testGetAll() |
void |
testGetAllOrdering() |
void |
testNoSuchTable() |
void |
testReadingHTDFromFS() |
void |
testReadingInvalidDirectoryFromFS() |
void |
testReadingOldHTDFromFS() |
void |
testRegexAgainstOldStyleTableInfo() |
void |
testRemoves() |
void |
testSequenceIdAdvancesOnTableInfo() |
void |
testTableDescriptors() |
void |
testTableDescriptorsNoCache() |
void |
testTableInfoFileStatusComparator() |
void |
testUpdates() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility UTIL
private static final org.slf4j.Logger LOG
public org.junit.rules.TestName name
public TestFSTableDescriptors()
public void testRegexAgainstOldStyleTableInfo()
public void testCreateAndUpdate() throws IOException
IOExceptionpublic void testSequenceIdAdvancesOnTableInfo() throws IOException
IOExceptionpublic void testFormatTableInfoSequenceId()
private org.apache.hadoop.fs.Path assertWriteAndReadSequenceId(int i)
public void testRemoves() throws IOException
IOExceptionpublic void testReadingHTDFromFS() throws IOException
IOExceptionpublic void testReadingOldHTDFromFS() throws IOException, org.apache.hadoop.hbase.exceptions.DeserializationException
IOExceptionorg.apache.hadoop.hbase.exceptions.DeserializationExceptionpublic void testTableDescriptors() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testTableDescriptorsNoCache() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testGetAll() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testGetAllOrdering() throws Exception
Exceptionpublic void testCacheConsistency() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testNoSuchTable() throws IOException
IOExceptionpublic void testUpdates() throws IOException
IOExceptionpublic void testTableInfoFileStatusComparator()
public void testReadingInvalidDirectoryFromFS() throws IOException
IOExceptionpublic void testCreateTableDescriptorUpdatesIfExistsAlready() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.