public class TestHRegionInfo extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
org.junit.rules.TestName |
name |
Constructor and Description |
---|
TestHRegionInfo() |
Modifier and Type | Method and Description |
---|---|
private void |
checkDescriptiveNameEquality(String descriptiveNameForDisplay,
String origDesc,
byte[] startKey) |
private void |
checkEquality(org.apache.hadoop.hbase.HRegionInfo h,
org.apache.hadoop.conf.Configuration conf) |
(package private) long |
getModTime(org.apache.hadoop.hbase.regionserver.HRegion r) |
void |
testComparator() |
void |
testContainsRange() |
void |
testContainsRangeForMetaTable() |
void |
testConvert() |
void |
testCreateHRegionInfoName() |
void |
testIsEnd() |
void |
testIsNext() |
void |
testIsOverlap() |
void |
testIsOverlaps()
Tests
RegionInfo#isOverlap(RegionInfo[]) |
void |
testIsStart() |
void |
testLastRegionCompare() |
void |
testMetaTables() |
void |
testParseName() |
void |
testPb() |
void |
testReadAndWriteHRegionInfoFile() |
void |
testRegionDetailsForDisplay() |
void |
testRegionNameForRegionReplicas() |
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
public TestHRegionInfo()
public void testIsStart()
public void testIsEnd()
public void testIsNext()
public void testIsOverlap()
public void testIsOverlaps()
RegionInfo#isOverlap(RegionInfo[])
public void testPb() throws org.apache.hadoop.hbase.exceptions.DeserializationException
org.apache.hadoop.hbase.exceptions.DeserializationException
public void testReadAndWriteHRegionInfoFile() throws IOException, InterruptedException
IOException
InterruptedException
long getModTime(org.apache.hadoop.hbase.regionserver.HRegion r) throws IOException
IOException
public void testCreateHRegionInfoName() throws Exception
Exception
public void testContainsRange()
public void testContainsRangeForMetaTable()
public void testLastRegionCompare()
public void testMetaTables()
public void testComparator()
public void testRegionNameForRegionReplicas() throws Exception
Exception
public void testParseName() throws IOException
IOException
public void testConvert()
public void testRegionDetailsForDisplay() throws IOException
IOException
private void checkDescriptiveNameEquality(String descriptiveNameForDisplay, String origDesc, byte[] startKey)
private void checkEquality(org.apache.hadoop.hbase.HRegionInfo h, org.apache.hadoop.conf.Configuration conf) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.