Class TestParallelPut
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestParallelPut
Testing of multiPut in parallel.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A thread that makes a few put calls -
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static HBaseTestingUtility
private static final org.slf4j.Logger
org.junit.rules.TestName
(package private) static final byte[]
(package private) static final byte[]
(package private) static final byte[]
private org.apache.hadoop.hbase.regionserver.HRegion
(package private) static final byte[]
(package private) static final byte[]
(package private) static byte[]
private static final int
(package private) static final byte[]
(package private) static final byte[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
assertGet
(org.apache.hadoop.hbase.regionserver.HRegion region, byte[] row, byte[] familiy, byte[] qualifier, byte[] value) static void
getName()
private org.apache.hadoop.hbase.regionserver.HRegion
initHRegion
(byte[] tableName, String callingMethod, byte[]... families) void
setUp()
void
tearDown()
void
Test multi-threaded Puts.void
testPut()
Test one put command.
-
Field Details
-
CLASS_RULE
-
LOG
-
name
-
region
-
HBTU
-
THREADS100
- See Also:
-
tableName
-
qual1
-
qual2
-
qual3
-
value1
-
value2
-
row
-
row2
-
-
Constructor Details
-
TestParallelPut
public TestParallelPut()
-
-
Method Details
-
beforeClass
-
setUp
- Throws:
Exception
- See Also:
-
tearDown
- Throws:
Exception
-
getName
-
testPut
Test one put command.- Throws:
IOException
-
testParallelPuts
Test multi-threaded Puts.- Throws:
IOException
-
assertGet
private static void assertGet(org.apache.hadoop.hbase.regionserver.HRegion region, byte[] row, byte[] familiy, byte[] qualifier, byte[] value) throws IOException - Throws:
IOException
-
initHRegion
private org.apache.hadoop.hbase.regionserver.HRegion initHRegion(byte[] tableName, String callingMethod, byte[]... families) throws IOException - Throws:
IOException
-