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 SummaryNested ClassesModifier and TypeClassDescription(package private) static class(package private) static class
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final org.slf4j.Loggerorg.junit.rules.TestName(package private) HBaseTestingUtil
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
TestFSErrorsExposedpublic TestFSErrorsExposed()
 
- 
- 
Method Details- 
testHFileScannerThrowsErrorsInjects errors into the pread calls of an on-disk file, and makes sure those bubble up to the HFile scanner- Throws:
- IOException
 
- 
testStoreFileScannerThrowsErrorsInjects errors into the pread calls of an on-disk file, and makes sure those bubble up to the StoreFileScanner- Throws:
- IOException
 
- 
testFullSystemBubblesFSErrorsCluster 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
 
 
-