public class TestWALRootDir extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.conf.Configuration |
conf |
private static byte[] |
family |
private static org.apache.hadoop.fs.FileSystem |
fs |
private static org.slf4j.Logger |
LOG |
private static org.apache.hadoop.fs.Path |
rootDir |
private static byte[] |
rowName |
private static org.apache.hadoop.hbase.TableName |
tableName |
private static HBaseTestingUtility |
TEST_UTIL |
private static org.apache.hadoop.fs.FileSystem |
walFs |
private static org.apache.hadoop.fs.Path |
walRootDir |
private static org.apache.hadoop.hbase.wal.WALFactory |
wals |
Constructor and Description |
---|
TestWALRootDir() |
Modifier and Type | Method and Description |
---|---|
private static void |
cleanup() |
private List<org.apache.hadoop.fs.FileStatus> |
getWALFiles(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path dir) |
private org.apache.hadoop.hbase.wal.WALKeyImpl |
getWalKey(long time,
org.apache.hadoop.hbase.client.RegionInfo hri,
long startPoint) |
void |
setUp() |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testWALRootDir() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility TEST_UTIL
private static org.apache.hadoop.conf.Configuration conf
private static org.apache.hadoop.fs.FileSystem fs
private static org.apache.hadoop.fs.FileSystem walFs
private static final org.apache.hadoop.hbase.TableName tableName
private static final byte[] rowName
private static final byte[] family
private static org.apache.hadoop.fs.Path walRootDir
private static org.apache.hadoop.fs.Path rootDir
private static org.apache.hadoop.hbase.wal.WALFactory wals
public TestWALRootDir()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testWALRootDir() throws Exception
Exception
private org.apache.hadoop.hbase.wal.WALKeyImpl getWalKey(long time, org.apache.hadoop.hbase.client.RegionInfo hri, long startPoint)
private List<org.apache.hadoop.fs.FileStatus> getWALFiles(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path dir) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.