public class TestMiniClusterLoadSequential extends Object
Modifier and Type | Field and Description |
---|---|
protected static byte[] |
CF |
static HBaseClassTestRule |
CLASS_RULE |
protected org.apache.hadoop.hbase.io.compress.Compression.Algorithm |
compression |
protected org.apache.hadoop.conf.Configuration |
conf |
protected org.apache.hadoop.hbase.io.encoding.DataBlockEncoding |
dataBlockEncoding |
protected boolean |
isMultiPut |
private static org.slf4j.Logger |
LOG |
protected static int |
NUM_RS |
protected static int |
NUM_THREADS |
protected int |
numKeys |
protected MultiThreadedReader |
readerThreads |
protected static org.apache.hadoop.hbase.TableName |
TABLE |
protected static HBaseTestingUtility |
TEST_UTIL |
protected static int |
TIMEOUT_MS |
protected MultiThreadedWriter |
writerThreads |
Constructor and Description |
---|
TestMiniClusterLoadSequential(boolean isMultiPut,
org.apache.hadoop.hbase.io.encoding.DataBlockEncoding dataBlockEncoding) |
Modifier and Type | Method and Description |
---|---|
protected void |
createPreSplitLoadTestTable(org.apache.hadoop.hbase.HTableDescriptor htd,
org.apache.hadoop.hbase.HColumnDescriptor hcd) |
protected org.apache.hadoop.hbase.HColumnDescriptor |
getColumnDesc(org.apache.hadoop.hbase.client.Admin admin) |
void |
loadTest() |
protected int |
numKeys() |
static Collection<Object[]> |
parameters() |
protected void |
prepareForLoadTest() |
protected MultiThreadedReader |
prepareReaderThreads(LoadTestDataGenerator dataGen,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.TableName tableName,
double verifyPercent) |
protected MultiThreadedWriter |
prepareWriterThreads(LoadTestDataGenerator dataGen,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.TableName tableName) |
protected void |
runLoadTestOnExistingTable() |
void |
setUp() |
void |
tearDown() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
protected static final org.apache.hadoop.hbase.TableName TABLE
protected static final byte[] CF
protected static final int NUM_THREADS
protected static final int NUM_RS
protected static final int TIMEOUT_MS
protected static final HBaseTestingUtility TEST_UTIL
protected final org.apache.hadoop.conf.Configuration conf
protected final boolean isMultiPut
protected final org.apache.hadoop.hbase.io.encoding.DataBlockEncoding dataBlockEncoding
protected MultiThreadedWriter writerThreads
protected MultiThreadedReader readerThreads
protected int numKeys
protected org.apache.hadoop.hbase.io.compress.Compression.Algorithm compression
public TestMiniClusterLoadSequential(boolean isMultiPut, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding dataBlockEncoding)
public static Collection<Object[]> parameters()
protected MultiThreadedReader prepareReaderThreads(LoadTestDataGenerator dataGen, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.TableName tableName, double verifyPercent) throws IOException
IOException
protected MultiThreadedWriter prepareWriterThreads(LoadTestDataGenerator dataGen, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.TableName tableName) throws IOException
IOException
protected void runLoadTestOnExistingTable() throws IOException
IOException
protected void createPreSplitLoadTestTable(org.apache.hadoop.hbase.HTableDescriptor htd, org.apache.hadoop.hbase.HColumnDescriptor hcd) throws IOException
IOException
protected void prepareForLoadTest() throws IOException
IOException
protected int numKeys()
protected org.apache.hadoop.hbase.HColumnDescriptor getColumnDesc(org.apache.hadoop.hbase.client.Admin admin) throws org.apache.hadoop.hbase.TableNotFoundException, IOException
org.apache.hadoop.hbase.TableNotFoundException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.