Package org.apache.hadoop.hbase.client
Class TestTableFavoredNodes
java.lang.Object
org.apache.hadoop.hbase.client.TestTableFavoredNodes
-
Field Summary
Modifier and TypeFieldDescriptionprivate org.apache.hadoop.hbase.client.Admin
static final HBaseClassTestRule
private org.apache.hadoop.hbase.favored.FavoredNodesManager
private static final org.slf4j.Logger
org.junit.rules.TestName
private final int
private static final int
private final byte[][]
private static final HBaseTestingUtility
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
checkIfDaughterInherits2FN
(List<org.apache.hadoop.hbase.ServerName> parentFN, List<org.apache.hadoop.hbase.ServerName> daughterFN) private void
checkIfFavoredNodeInformationIsCorrect
(org.apache.hadoop.hbase.TableName tableName) private void
checkNoFNForDeletedTable
(List<org.apache.hadoop.hbase.HRegionInfo> regions) void
setup()
static void
static void
void
void
void
void
void
private void
waitUntilTableRegionCountReached
(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
-