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
Modifier and TypeClassDescription(package private) static class
(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final org.slf4j.Logger
org.junit.rules.TestName
(package private) HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.void
Injects errors into the pread calls of an on-disk file, and makes sure those bubble up to the HFile scannervoid
Injects 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
-