public class MobStressToolRunner extends Object
Modifier and Type | Class and Description |
---|---|
(package private) class |
MobStressToolRunner.CleanMobAndArchive |
(package private) class |
MobStressToolRunner.MajorCompaction |
(package private) class |
MobStressToolRunner.WriteData |
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.hbase.client.Admin |
admin |
private org.apache.hadoop.hbase.mob.MobFileCleanerChore |
chore |
private org.apache.hadoop.conf.Configuration |
conf |
private long |
count |
private double |
failureProb |
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 static long |
mobLen |
private static byte[] |
mobVal |
private static byte[] |
qualifier |
private static boolean |
run |
private org.apache.hadoop.hbase.client.Table |
table |
Constructor and Description |
---|
MobStressToolRunner() |
Modifier and Type | Method and Description |
---|---|
private long |
getNumberOfMobFiles(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.TableName tableName,
String family) |
void |
init(org.apache.hadoop.conf.Configuration conf,
long numRows) |
private void |
initConf() |
private void |
printConf() |
void |
printStats(long loaded) |
void |
runStressTest() |
private void |
scanTable() |
private static final org.slf4j.Logger LOG
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 long count
private double failureProb
private org.apache.hadoop.hbase.client.Table table
private org.apache.hadoop.hbase.mob.MobFileCleanerChore chore
private static volatile boolean run
public MobStressToolRunner()
public void init(org.apache.hadoop.conf.Configuration conf, long numRows) throws IOException
IOException
private void printConf()
private void initConf()
public void runStressTest() 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
public void printStats(long loaded)
private void scanTable()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.