public class TestCompactedHFilesDischarger extends Object
| Modifier and Type | Class and Description | 
|---|---|
private static class  | 
TestCompactedHFilesDischarger.ScanThread  | 
| Modifier and Type | Field and Description | 
|---|---|
static HBaseClassTestRule | 
CLASS_RULE  | 
private static AtomicInteger | 
counter  | 
private static byte[] | 
fam  | 
private static CountDownLatch | 
latch  | 
private static byte[] | 
qual1  | 
private org.apache.hadoop.hbase.regionserver.HRegion | 
region  | 
private org.apache.hadoop.hbase.regionserver.RegionServerServices | 
rss  | 
private static AtomicInteger | 
scanCompletedCounter  | 
private HBaseTestingUtility | 
testUtil  | 
private static byte[] | 
val  | 
| Constructor and Description | 
|---|
TestCompactedHFilesDischarger()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
countDown()  | 
void | 
setUp()  | 
protected void | 
startScannerThreads()  | 
void | 
tearDown()  | 
void | 
testCleanerWithParallelScanners()  | 
void | 
testCleanerWithParallelScannersAfterCompaction()  | 
void | 
testCompactedHFilesCleaner()  | 
void | 
testStoreFileMissing()  | 
private void | 
write(String row1)  | 
public static final HBaseClassTestRule CLASS_RULE
private final HBaseTestingUtility testUtil
private org.apache.hadoop.hbase.regionserver.HRegion region
private static final byte[] fam
private static final byte[] qual1
private static final byte[] val
private static CountDownLatch latch
private static AtomicInteger counter
private static AtomicInteger scanCompletedCounter
private org.apache.hadoop.hbase.regionserver.RegionServerServices rss
public TestCompactedHFilesDischarger()
public void tearDown() throws IOException
IOExceptionpublic void testCompactedHFilesCleaner() throws Exception
Exceptionpublic void testCleanerWithParallelScannersAfterCompaction() throws Exception
Exceptionpublic void testCleanerWithParallelScanners() throws Exception
Exceptionpublic void testStoreFileMissing() throws Exception
Exceptionprivate void write(String row1) throws IOException
IOExceptionprotected void countDown()
protected void startScannerThreads() throws InterruptedException
InterruptedExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.