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, waitSpan
public 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 TestTracingBase
Exception
public void tearDown() throws IOException
IOException
private void assertTrace(String tableOperation)
private void assertTrace(String tableOperation, org.hamcrest.Matcher<io.opentelemetry.sdk.trace.data.SpanData> matcher)
public void testPut() throws IOException
IOException
public void testExists() throws IOException
IOException
public void testGet() throws IOException
IOException
public void testDelete() throws IOException
IOException
public void testAppend() throws IOException
IOException
public void testIncrement() throws IOException
IOException
public void testIncrementColumnValue1() throws IOException
IOException
public void testIncrementColumnValue2() throws IOException
IOException
public void testCheckAndMutate() throws IOException
IOException
public void testCheckAndMutateList() throws IOException
IOException
public void testCheckAndMutateAll() throws IOException
IOException
public void testMutateRow() throws Exception
Exception
public void testExistsList() throws IOException
IOException
public void testExistsAll() throws IOException
IOException
public void testGetList() throws IOException
IOException
public void testPutList() throws IOException
IOException
public void testDeleteList() throws IOException
IOException
public void testBatchList() throws IOException, InterruptedException
IOException
InterruptedException
public void testTableClose() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.