HBASE-26531 Trace coprocessor exec endpoints (addendum)

Stuck by this again. branch-2 needs this configuration instance to be initialized as an
HBaseConfiguration.
This commit is contained in:
Nick Dimiduk 2022-03-14 14:49:18 +01:00 committed by Nick Dimiduk
parent f78f232b28
commit b3f00d08ce
1 changed files with 2 additions and 1 deletions

View File

@ -45,6 +45,7 @@ import java.util.concurrent.TimeUnit;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.ConnectionRule;
import org.apache.hadoop.hbase.HBaseClassTestRule;
import org.apache.hadoop.hbase.HBaseConfiguration;
import org.apache.hadoop.hbase.HBaseTestingUtil;
import org.apache.hadoop.hbase.HConstants;
import org.apache.hadoop.hbase.MatcherPredicate;
@ -106,7 +107,7 @@ public class TestCoprocessorEndpointTracing {
private static final OpenTelemetryClassRule otelClassRule = OpenTelemetryClassRule.create();
private static final MiniClusterRule miniclusterRule = MiniClusterRule.newBuilder()
.setConfiguration(() -> {
final Configuration conf = new Configuration();
final Configuration conf = HBaseConfiguration.create();
conf.setInt(HConstants.HBASE_CLIENT_OPERATION_TIMEOUT, 5000);
conf.setStrings(CoprocessorHost.REGION_COPROCESSOR_CONF_KEY,
ProtobufCoprocessorService.class.getName());