Package org.apache.hadoop.hbase.wal
Class TestWALRootDir
java.lang.Object
org.apache.hadoop.hbase.wal.TestWALRootDir
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static org.apache.hadoop.conf.Configurationprivate static final byte[]private static org.apache.hadoop.fs.FileSystemprivate static final org.slf4j.Loggerprivate static org.apache.hadoop.fs.Pathprivate static final byte[]private static final org.apache.hadoop.hbase.TableNameprivate static final HBaseTestingUtilprivate static org.apache.hadoop.fs.FileSystemprivate static org.apache.hadoop.fs.Pathprivate static org.apache.hadoop.hbase.wal.WALFactory
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static voidcleanup()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.WALKeyImplgetWalKey(long time, org.apache.hadoop.hbase.client.RegionInfo hri, long startPoint) voidsetUp()static voidstatic voidvoid
- 
Field Details- 
CLASS_RULE
- 
LOG
- 
TEST_UTIL
- 
conf
- 
fs
- 
walFs
- 
tableName
- 
rowName
- 
family
- 
walRootDir
- 
rootDir
- 
wals
 
- 
- 
Constructor Details- 
TestWALRootDirpublic TestWALRootDir()
 
- 
- 
Method Details- 
setUp- Throws:
- Exception
 
- 
setUpBeforeClass- Throws:
- Exception
 
- 
tearDownAfterClass- Throws:
- Exception
 
- 
testWALRootDir- Throws:
- Exception
 
- 
getWalKeyprivate org.apache.hadoop.hbase.wal.WALKeyImpl getWalKey(long time, org.apache.hadoop.hbase.client.RegionInfo hri, long startPoint) 
- 
getWALFilesprivate 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
 
 
-