Package org.apache.hadoop.hbase
Class TestRegionLoad
java.lang.Object
org.apache.hadoop.hbase.TestRegionLoad
-
Field Summary
Modifier and TypeFieldDescriptionprivate static org.apache.hadoop.hbase.client.Admin
static final HBaseClassTestRule
private static final org.slf4j.Logger
private static final int
private static final org.apache.hadoop.hbase.TableName
private static final org.apache.hadoop.hbase.TableName
private static final org.apache.hadoop.hbase.TableName
private static final org.apache.hadoop.hbase.TableName[]
private static final HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
private void
checkRegionsAndRegionLoads
(Collection<org.apache.hadoop.hbase.HRegionInfo> regions, Collection<org.apache.hadoop.hbase.RegionLoad> regionLoads) private void
compareRegionLoads
(Map<byte[], org.apache.hadoop.hbase.RegionLoad> regionLoadCluster, Map<byte[], org.apache.hadoop.hbase.RegionLoad> regionLoads) private static void
void
-
Field Details
-
CLASS_RULE
-
LOG
-
UTIL
-
admin
-
TABLE_1
-
TABLE_2
-
TABLE_3
-
tables
-
MSG_INTERVAL
- See Also:
-
-
Constructor Details
-
TestRegionLoad
public TestRegionLoad()
-
-
Method Details
-
beforeClass
- Throws:
Exception
-
afterClass
- Throws:
Exception
-
createTables
- Throws:
IOException
InterruptedException
-
testRegionLoad
- Throws:
Exception
-
compareRegionLoads
private void compareRegionLoads(Map<byte[], org.apache.hadoop.hbase.RegionLoad> regionLoadCluster, Map<byte[], org.apache.hadoop.hbase.RegionLoad> regionLoads) -
checkRegionsAndRegionLoads
private void checkRegionsAndRegionLoads(Collection<org.apache.hadoop.hbase.HRegionInfo> regions, Collection<org.apache.hadoop.hbase.RegionLoad> regionLoads)
-