public class TestRSMobFileCleanerChore extends Object
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.hbase.client.Admin |
admin |
private RSMobFileCleanerChore |
chore |
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.conf.Configuration |
conf |
private static byte[] |
fam |
private org.apache.hadoop.hbase.client.ColumnFamilyDescriptor |
familyDescriptor |
private static String |
famStr |
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 |
private org.apache.hadoop.hbase.client.TableDescriptorBuilder.ModifyableTableDescriptor |
tableDescriptor |
Constructor and Description |
---|
TestRSMobFileCleanerChore() |
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.client.TableDescriptorBuilder.ModifyableTableDescriptor tableDescriptor
private org.apache.hadoop.hbase.client.ColumnFamilyDescriptor familyDescriptor
private org.apache.hadoop.hbase.client.Admin admin
private org.apache.hadoop.hbase.client.Table table
private RSMobFileCleanerChore chore
private long minAgeToArchive
public TestRSMobFileCleanerChore()
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.