public class TestMiniClusterLoadSequential extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static byte[] |
CF |
protected Compression.Algorithm |
compression |
protected Configuration |
conf |
protected DataBlockEncoding |
dataBlockEncoding |
protected boolean |
isMultiPut |
protected static int |
NUM_RS |
protected static int |
NUM_THREADS |
protected int |
numKeys |
protected MultiThreadedReader |
readerThreads |
protected static TableName |
TABLE |
protected static HBaseTestingUtility |
TEST_UTIL |
protected static int |
TIMEOUT_MS |
protected MultiThreadedWriter |
writerThreads |
| Constructor and Description |
|---|
TestMiniClusterLoadSequential(boolean isMultiPut,
DataBlockEncoding dataBlockEncoding) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createPreSplitLoadTestTable(HTableDescriptor htd,
HColumnDescriptor hcd) |
protected HColumnDescriptor |
getColumnDesc(Admin admin) |
void |
loadTest() |
protected int |
numKeys() |
static Collection<Object[]> |
parameters() |
protected void |
prepareForLoadTest() |
protected MultiThreadedReader |
prepareReaderThreads(LoadTestDataGenerator dataGen,
Configuration conf,
TableName tableName,
double verifyPercent) |
protected MultiThreadedWriter |
prepareWriterThreads(LoadTestDataGenerator dataGen,
Configuration conf,
TableName tableName) |
protected void |
runLoadTestOnExistingTable() |
void |
setUp() |
void |
tearDown() |
protected static final 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 Configuration conf
protected final boolean isMultiPut
protected final DataBlockEncoding dataBlockEncoding
protected MultiThreadedWriter writerThreads
protected MultiThreadedReader readerThreads
protected int numKeys
protected Compression.Algorithm compression
public TestMiniClusterLoadSequential(boolean isMultiPut,
DataBlockEncoding dataBlockEncoding)
public static Collection<Object[]> parameters()
protected MultiThreadedReader prepareReaderThreads(LoadTestDataGenerator dataGen, Configuration conf, TableName tableName, double verifyPercent) throws IOException
IOExceptionprotected MultiThreadedWriter prepareWriterThreads(LoadTestDataGenerator dataGen, Configuration conf, TableName tableName) throws IOException
IOExceptionprotected void runLoadTestOnExistingTable()
throws IOException
IOExceptionprotected void createPreSplitLoadTestTable(HTableDescriptor htd, HColumnDescriptor hcd) throws IOException
IOExceptionprotected void prepareForLoadTest()
throws IOException
IOExceptionprotected int numKeys()
protected HColumnDescriptor getColumnDesc(Admin admin) throws TableNotFoundException, IOException
TableNotFoundExceptionIOException