Class TestFSErrorsExposed
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestFSErrorsExposed
@Tag("org.apache.hadoop.hbase.testclassification.RegionServerTests") @Tag("org.apache.hadoop.hbase.testclassification.LargeTests")
public class TestFSErrorsExposed
extends Object
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 TypeFieldDescriptionprivate static final org.slf4j.Loggerprivate String(package private) HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetTestName(org.junit.jupiter.api.TestInfo testInfo) voidCluster 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
-
LOG
-
util
-
name
-
-
Constructor Details
-
TestFSErrorsExposed
public TestFSErrorsExposed()
-
-
Method Details
-
setTestName
-
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
-