From 8b411e1451e569586de62648391ddd80933b84ab Mon Sep 17 00:00:00 2001 From: Ujjawal Date: Wed, 7 Sep 2022 23:19:53 +0530 Subject: [PATCH] HBASE-27353 - opentelemetry-context jar missing at runtime causes MR jobs to fail (#4759) Signed-off-by: Andrew Purtell Signed-off-by: Viraj Jasani --- .../org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java b/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java index 7ea565d559d..cf57f0f860d 100644 --- a/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java +++ b/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java @@ -737,7 +737,8 @@ public class TableMapReduceUtil { com.codahale.metrics.MetricRegistry.class, // metrics-core org.apache.commons.lang3.ArrayUtils.class, // commons-lang io.opentelemetry.api.trace.Span.class, // opentelemetry-api - io.opentelemetry.semconv.trace.attributes.SemanticAttributes.class); // opentelemetry-semconv + io.opentelemetry.semconv.trace.attributes.SemanticAttributes.class, // opentelemetry-semconv + io.opentelemetry.context.Context.class); // opentelemetry-context } /**