Class TestHRegionFileSystem
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestHRegionFileSystem
@Tag("org.apache.hadoop.hbase.testclassification.RegionServerTests") @Tag("org.apache.hadoop.hbase.testclassification.LargeTests")
public class TestHRegionFileSystem
extends Object
-
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 TypeFieldDescriptionprivate static final byte[][]static final byte[]private static final org.slf4j.Loggerprivate Stringprivate 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) voidsetTestName(org.junit.jupiter.api.TestInfo testInfo) voidvoidvoidvoid
-
Field Details
-
TEST_UTIL
-
LOG
-
FAMILY_NAME
-
FAMILIES
-
TABLE_NAME
-
name
-
-
Constructor Details
-
TestHRegionFileSystem
public TestHRegionFileSystem()
-
-
Method Details
-
setTestName
-
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
-