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 |
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
IOException
public void testMatchingTail() throws IOException
IOException
private void WriteDataToHDFS(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path file, int dataSize) throws Exception
Exception
public void testSetWALRootDir() throws Exception
Exception
public void testGetWALRootDir() throws IOException
IOException
public void testGetWALRootDirIllegalWALDir() throws IOException
IOException
public void testRemoveWALRootPath() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.