Package org.apache.hadoop.hbase.client
Class TestTableFavoredNodes
java.lang.Object
org.apache.hadoop.hbase.client.TestTableFavoredNodes
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.apache.hadoop.hbase.client.Adminstatic final HBaseClassTestRuleprivate org.apache.hadoop.hbase.favored.FavoredNodesManagerprivate static final org.slf4j.Loggerorg.junit.rules.TestNameprivate final intprivate static final intprivate final byte[][]private static final HBaseTestingUtilprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcheckIfDaughterInherits2FN(List<org.apache.hadoop.hbase.ServerName> parentFN, List<org.apache.hadoop.hbase.ServerName> daughterFN) private voidcheckIfFavoredNodeInformationIsCorrect(org.apache.hadoop.hbase.TableName tableName) private voidcheckNoFNForDeletedTable(List<org.apache.hadoop.hbase.client.RegionInfo> regions) voidsetup()static voidstatic voidvoidvoidvoidvoidvoidprivate voidwaitUntilTableRegionCountReached(org.apache.hadoop.hbase.TableName tableName, int numRegions)
-
Field Details
-
CLASS_RULE
-
LOG
-
TEST_UTIL
-
WAIT_TIMEOUT
- See Also:
-
SLAVES
- See Also:
-
fnm
-
admin
-
splitKeys
-
NUM_REGIONS
-
name
-
-
Constructor Details
-
TestTableFavoredNodes
public TestTableFavoredNodes()
-
-
Method Details
-
setupBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
setup
- Throws:
IOException
-
testCreateTable
- Throws:
Exception
-
testTruncateTable
- Throws:
Exception
-
testSplitTable
- Throws:
Exception
-
testMergeTable
- Throws:
Exception
-
checkNoFNForDeletedTable
-
checkIfFavoredNodeInformationIsCorrect
private void checkIfFavoredNodeInformationIsCorrect(org.apache.hadoop.hbase.TableName tableName) throws Exception - Throws:
Exception
-
testSystemTables
- Throws:
Exception
-
checkIfDaughterInherits2FN
private void checkIfDaughterInherits2FN(List<org.apache.hadoop.hbase.ServerName> parentFN, List<org.apache.hadoop.hbase.ServerName> daughterFN) -
waitUntilTableRegionCountReached
private void waitUntilTableRegionCountReached(org.apache.hadoop.hbase.TableName tableName, int numRegions) throws Exception - Throws:
Exception
-