Package org.apache.hadoop.hbase.wal
Class TestWALRootDir
java.lang.Object
org.apache.hadoop.hbase.wal.TestWALRootDir
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static org.apache.hadoop.conf.Configuration
private static final byte[]
private static org.apache.hadoop.fs.FileSystem
private static final org.slf4j.Logger
private static org.apache.hadoop.fs.Path
private static final byte[]
private static final org.apache.hadoop.hbase.TableName
private static final HBaseTestingUtil
private static org.apache.hadoop.fs.FileSystem
private static org.apache.hadoop.fs.Path
private static org.apache.hadoop.hbase.wal.WALFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate 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
static void
void
-
Field Details
-
CLASS_RULE
-
LOG
-
TEST_UTIL
-
conf
-
fs
-
walFs
-
tableName
-
rowName
-
family
-
walRootDir
-
rootDir
-
wals
-
-
Constructor Details
-
TestWALRootDir
public TestWALRootDir()
-
-
Method Details
-
setUp
- Throws:
Exception
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
testWALRootDir
- Throws:
Exception
-
getWalKey
private org.apache.hadoop.hbase.wal.WALKeyImpl getWalKey(long time, org.apache.hadoop.hbase.client.RegionInfo hri, long startPoint) -
getWALFiles
private List<org.apache.hadoop.fs.FileStatus> getWALFiles(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path dir) throws IOException - Throws:
IOException
-
cleanup
- Throws:
Exception
-