public class TestMobFileCleanerChore extends Object
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.hbase.client.Admin |
admin |
private org.apache.hadoop.hbase.mob.MobFileCleanerChore |
chore |
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.conf.Configuration |
conf |
private static byte[] |
fam |
private static String |
famStr |
private org.apache.hadoop.hbase.HColumnDescriptor |
hcd |
private org.apache.hadoop.hbase.HTableDescriptor |
hdt |
private HBaseTestingUtility |
HTU |
private static org.slf4j.Logger |
LOG |
private long |
minAgeToArchive |
private static long |
mobLen |
private static byte[] |
mobVal |
private static byte[] |
qualifier |
private org.apache.hadoop.hbase.client.Table |
table |
Constructor and Description |
---|
TestMobFileCleanerChore() |
Modifier and Type | Method and Description |
---|---|
private long |
getNumberOfMobFiles(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.TableName tableName,
String family) |
private void |
initConf() |
private void |
loadData(int start,
int num) |
private long |
scanTable() |
void |
setUp() |
void |
tearDown() |
void |
testMobFileCleanerChore() |
private static final org.slf4j.Logger LOG
public static final HBaseClassTestRule CLASS_RULE
private HBaseTestingUtility HTU
private static final String famStr
private static final byte[] fam
private static final byte[] qualifier
private static final long mobLen
private static final byte[] mobVal
private org.apache.hadoop.conf.Configuration conf
private org.apache.hadoop.hbase.HTableDescriptor hdt
private org.apache.hadoop.hbase.HColumnDescriptor hcd
private org.apache.hadoop.hbase.client.Admin admin
private org.apache.hadoop.hbase.client.Table table
private org.apache.hadoop.hbase.mob.MobFileCleanerChore chore
private long minAgeToArchive
public TestMobFileCleanerChore()
private void initConf()
private void loadData(int start, int num)
public void testMobFileCleanerChore() throws InterruptedException, IOException
InterruptedException
IOException
private long getNumberOfMobFiles(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.TableName tableName, String family) throws IOException
IOException
private long scanTable()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.