Class TestParallelPut
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestParallelPut
@Tag("org.apache.hadoop.hbase.testclassification.RegionServerTests") @Tag("org.apache.hadoop.hbase.testclassification.MediumTests")
public class TestParallelPut
extends Object
Testing of multiPut in parallel.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA thread that makes a few put calls -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static HBaseTestingUtilprivate static final org.slf4j.Loggerprivate String(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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidassertGet(org.apache.hadoop.hbase.regionserver.HRegion region, byte[] row, byte[] familiy, byte[] qualifier, byte[] value) static voidprivate org.apache.hadoop.hbase.regionserver.HRegioninitHRegion(byte[] tableName, String callingMethod, byte[]... families) voidsetUp(org.junit.jupiter.api.TestInfo testInfo) voidtearDown()voidTest multi-threaded Puts.voidtestPut()Test one put command.
-
Field Details
-
LOG
-
region
-
HBTU
-
THREADS100
- See Also:
-
methodName
-
tableName
-
qual1
-
qual2
-
qual3
-
value1
-
value2
-
row
-
row2
-
-
Constructor Details
-
TestParallelPut
public TestParallelPut()
-
-
Method Details
-
beforeClass
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
getMethodName
-
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
-