public class TestHRegionServerBulkLoad extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestHRegionServerBulkLoad.AtomicHFileLoader
Thread that does full scans of the table looking for any partially
completed rows.
|
static class |
TestHRegionServerBulkLoad.AtomicScanReader
Thread that does full scans of the table looking for any partially
completed rows.
|
static class |
TestHRegionServerBulkLoad.MyObserver |
| Modifier and Type | Field and Description |
|---|---|
static int |
BLOCKSIZE |
static Compression.Algorithm |
COMPRESSION |
| Constructor and Description |
|---|
TestHRegionServerBulkLoad(int duration) |
| Modifier and Type | Method and Description |
|---|---|
static void |
createHFile(FileSystem fs,
Path path,
byte[] family,
byte[] qualifier,
byte[] value,
int numRows)
Create an HFile with the given number of rows with a specified value.
|
static void |
main(String[] args)
Run test on an HBase instance for 5 minutes.
|
static Collection<Object[]> |
parameters() |
static byte[] |
rowkey(int i)
Create a rowkey compatible with
createHFile(FileSystem, Path, byte[], byte[], byte[], int). |
static void |
setUpBeforeClass() |
void |
testAtomicBulkLoad()
Atomic bulk load.
|
public static int BLOCKSIZE
public static Compression.Algorithm COMPRESSION
public static final Collection<Object[]> parameters()
public static byte[] rowkey(int i)
createHFile(FileSystem, Path, byte[], byte[], byte[], int).public static void createHFile(FileSystem fs,
Path path,
byte[] family,
byte[] qualifier,
byte[] value,
int numRows)
throws IOException
IOExceptionpublic void testAtomicBulkLoad()
throws Exception
Exception