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:
parent
f78f232b28
commit
b3f00d08ce
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue