Class TestHRegionFileSystem
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestHRegionFileSystem
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classa mock fs which throws exception for first 3 times, and then process the call (returns the excepted result).(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final byte[][]static final byte[]private static final org.slf4j.Loggerorg.junit.rules.TestNameprivate static final org.apache.hadoop.hbase.TableNameprivate static HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.regionserver.HRegionFileSystemgetHRegionFS(org.apache.hadoop.hbase.client.Connection conn, org.apache.hadoop.hbase.client.Table table, org.apache.hadoop.conf.Configuration conf) voidvoidvoidvoid
-
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
-