public class TestCommonFSUtils extends Object
CommonFSUtils.| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.conf.Configuration |
conf |
private HBaseCommonTestingUtility |
htu |
| Constructor and Description |
|---|
TestCommonFSUtils() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testGetWALRootDir() |
void |
testGetWALRootDirIllegalWALDir() |
void |
testGetWALRootDirUsingUri() |
void |
testMatchingTail()
Test path compare and prefix checking.
|
void |
testRemoveWALRootPath() |
void |
testSetWALRootDir() |
private void |
WriteDataToHDFS(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path file,
int dataSize) |
public static final HBaseClassTestRule CLASS_RULE
private HBaseCommonTestingUtility htu
private org.apache.hadoop.conf.Configuration conf
public TestCommonFSUtils()
public void setUp() throws IOException
IOExceptionpublic void testMatchingTail() throws IOException
IOExceptionprivate void WriteDataToHDFS(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path file, int dataSize) throws Exception
Exceptionpublic void testSetWALRootDir() throws Exception
Exceptionpublic void testGetWALRootDir() throws IOException
IOExceptionpublic void testGetWALRootDirUsingUri() throws IOException
IOExceptionpublic void testGetWALRootDirIllegalWALDir() throws IOException
IOExceptionpublic void testRemoveWALRootPath() throws Exception
ExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.