Class TestFSErrorsExposed
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestFSErrorsExposed
Test cases that ensure that file system level errors are bubbled up appropriately to clients,
rather than swallowed.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final org.slf4j.Loggerorg.junit.rules.TestName(package private) HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCluster test which starts a region server with a region, then removes the data from HDFS underneath it, and ensures that errors are bubbled to the client.voidInjects errors into the pread calls of an on-disk file, and makes sure those bubble up to the HFile scannervoidInjects errors into the pread calls of an on-disk file, and makes sure those bubble up to the StoreFileScanner
-
Field Details
-
CLASS_RULE
-
LOG
-
util
-
name
-
-
Constructor Details
-
TestFSErrorsExposed
public TestFSErrorsExposed()
-
-
Method Details
-
testHFileScannerThrowsErrors
Injects errors into the pread calls of an on-disk file, and makes sure those bubble up to the HFile scanner- Throws:
IOException
-
testStoreFileScannerThrowsErrors
Injects errors into the pread calls of an on-disk file, and makes sure those bubble up to the StoreFileScanner- Throws:
IOException
-
testFullSystemBubblesFSErrors
Cluster test which starts a region server with a region, then removes the data from HDFS underneath it, and ensures that errors are bubbled to the client.- Throws:
Exception
-