Skip to content

Commit

Permalink
HBASE-26531 Trace coprocessor exec endpoints (addendum)
Browse files Browse the repository at this point in the history
Stuck by this again. branch-2 needs this configuration instance to be initialized as an
HBaseConfiguration.
  • Loading branch information
ndimiduk committed Mar 21, 2022
1 parent 0d968af commit 0a30289
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
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.HBaseTestingUtility;
import org.apache.hadoop.hbase.HConstants;
import org.apache.hadoop.hbase.MatcherPredicate;
Expand Down Expand Up @@ -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());
Expand Down

0 comments on commit 0a30289

Please sign in to comment.