public class TestFSErrorsExposed extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
TestFSErrorsExposed.FaultyFileSystem |
(package private) static class |
TestFSErrorsExposed.FaultyInputStream |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
(package private) HBaseTestingUtility |
util |
Constructor and Description |
---|
TestFSErrorsExposed() |
Modifier and Type | Method and Description |
---|---|
void |
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.
|
void |
testHFileScannerThrowsErrors()
Injects errors into the pread calls of an on-disk file, and makes sure those bubble up to the
HFile scanner
|
void |
testStoreFileScannerThrowsErrors()
Injects errors into the pread calls of an on-disk file, and makes sure those bubble up to the
StoreFileScanner
|
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
HBaseTestingUtility util
public org.junit.rules.TestName name
public TestFSErrorsExposed()
public void testHFileScannerThrowsErrors() throws IOException
IOException
public void testStoreFileScannerThrowsErrors() throws IOException
IOException
public void testFullSystemBubblesFSErrors() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.