public class TestHRegionFileSystem extends Object
| Modifier and Type | Class and Description | 
|---|---|
(package private) static class  | 
TestHRegionFileSystem.MockFileSystem
a mock fs which throws exception for first 3 times, and then process the call (returns the
 excepted result). 
 | 
(package private) static class  | 
TestHRegionFileSystem.MockFileSystemForCreate  | 
| Modifier and Type | Field and Description | 
|---|---|
static HBaseClassTestRule | 
CLASS_RULE  | 
private static byte[][] | 
FAMILIES  | 
static byte[] | 
FAMILY_NAME  | 
private static org.slf4j.Logger | 
LOG  | 
org.junit.rules.TestName | 
name  | 
private static org.apache.hadoop.hbase.TableName | 
TABLE_NAME  | 
private static HBaseTestingUtility | 
TEST_UTIL  | 
| Constructor and Description | 
|---|
TestHRegionFileSystem()  | 
| Modifier and Type | Method and Description | 
|---|---|
private org.apache.hadoop.hbase.regionserver.HRegionFileSystem | 
getHRegionFS(org.apache.hadoop.hbase.client.HTable table,
            org.apache.hadoop.conf.Configuration conf)  | 
void | 
testBlockStoragePolicy()  | 
void | 
testNonIdempotentOpsWithRetries()  | 
void | 
testOnDiskRegionCreation()  | 
void | 
testTempAndCommit()  | 
public static final HBaseClassTestRule CLASS_RULE
private static HBaseTestingUtility TEST_UTIL
private static final org.slf4j.Logger LOG
public static final byte[] FAMILY_NAME
private static final byte[][] FAMILIES
private static final org.apache.hadoop.hbase.TableName TABLE_NAME
public org.junit.rules.TestName name
public TestHRegionFileSystem()
public void testBlockStoragePolicy() throws Exception
Exceptionprivate org.apache.hadoop.hbase.regionserver.HRegionFileSystem getHRegionFS(org.apache.hadoop.hbase.client.HTable table, org.apache.hadoop.conf.Configuration conf) throws IOException
IOExceptionpublic void testOnDiskRegionCreation() throws IOException
IOExceptionpublic void testNonIdempotentOpsWithRetries() throws IOException
IOExceptionpublic void testTempAndCommit() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.