Class TestHRegionFileSystem
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestHRegionFileSystem
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
a mock fs which throws exception for first 3 times, and then process the call (returns the excepted result).(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final byte[][]
static final byte[]
private static final org.slf4j.Logger
org.junit.rules.TestName
private static final org.apache.hadoop.hbase.TableName
private static HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.regionserver.HRegionFileSystem
getHRegionFS
(org.apache.hadoop.hbase.client.Connection conn, org.apache.hadoop.hbase.client.Table table, org.apache.hadoop.conf.Configuration conf) void
void
void
void
-
Field Details
-
CLASS_RULE
-
TEST_UTIL
-
LOG
-
FAMILY_NAME
-
FAMILIES
-
TABLE_NAME
-
name
-
-
Constructor Details
-
TestHRegionFileSystem
public TestHRegionFileSystem()
-
-
Method Details
-
testBlockStoragePolicy
- Throws:
Exception
-
getHRegionFS
private org.apache.hadoop.hbase.regionserver.HRegionFileSystem getHRegionFS(org.apache.hadoop.hbase.client.Connection conn, org.apache.hadoop.hbase.client.Table table, org.apache.hadoop.conf.Configuration conf) throws IOException - Throws:
IOException
-
testOnDiskRegionCreation
- Throws:
IOException
-
testNonIdempotentOpsWithRetries
- Throws:
IOException
-
testTempAndCommit
- Throws:
IOException
-