public class TestHTableTracing extends TestTracingBase
TestTracingBase.RegistryForTracingTest| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.hbase.client.ConnectionImplementation |
conn |
private org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.BlockingInterface |
stub |
private org.apache.hadoop.hbase.client.Table |
table |
conf, MASTER_HOST, META_REGION_LOCATION, TRACE_RULE| Constructor and Description |
|---|
TestHTableTracing() |
| Modifier and Type | Method and Description |
|---|---|
private void |
assertTrace(String tableOperation) |
private void |
assertTrace(String tableOperation,
org.hamcrest.Matcher<io.opentelemetry.sdk.trace.data.SpanData> matcher) |
void |
setUp() |
void |
tearDown() |
void |
testAppend() |
void |
testBatchList() |
void |
testCheckAndMutate() |
void |
testCheckAndMutateAll() |
void |
testCheckAndMutateList() |
void |
testDelete() |
void |
testDeleteList() |
void |
testExists() |
void |
testExistsAll() |
void |
testExistsList() |
void |
testGet() |
void |
testGetList() |
void |
testIncrement() |
void |
testIncrementColumnValue1() |
void |
testIncrementColumnValue2() |
void |
testMutateRow() |
void |
testPut() |
void |
testPutList() |
void |
testTableClose() |
assertTrace, waitSpan, waitSpanpublic static final HBaseClassTestRule CLASS_RULE
private org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.BlockingInterface stub
private org.apache.hadoop.hbase.client.ConnectionImplementation conn
private org.apache.hadoop.hbase.client.Table table
public TestHTableTracing()
public void setUp() throws Exception
setUp in class TestTracingBaseExceptionpublic void tearDown() throws IOException
IOExceptionprivate void assertTrace(String tableOperation)
private void assertTrace(String tableOperation, org.hamcrest.Matcher<io.opentelemetry.sdk.trace.data.SpanData> matcher)
public void testPut() throws IOException
IOExceptionpublic void testExists() throws IOException
IOExceptionpublic void testGet() throws IOException
IOExceptionpublic void testDelete() throws IOException
IOExceptionpublic void testAppend() throws IOException
IOExceptionpublic void testIncrement() throws IOException
IOExceptionpublic void testIncrementColumnValue1() throws IOException
IOExceptionpublic void testIncrementColumnValue2() throws IOException
IOExceptionpublic void testCheckAndMutate() throws IOException
IOExceptionpublic void testCheckAndMutateList() throws IOException
IOExceptionpublic void testCheckAndMutateAll() throws IOException
IOExceptionpublic void testMutateRow() throws Exception
Exceptionpublic void testExistsList() throws IOException
IOExceptionpublic void testExistsAll() throws IOException
IOExceptionpublic void testGetList() throws IOException
IOExceptionpublic void testPutList() throws IOException
IOExceptionpublic void testDeleteList() throws IOException
IOExceptionpublic void testBatchList() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testTableClose() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.