From fa3bd7feb94bc07b7115fc12dcba201afec29a8c 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 0470cbd07e59..1f14049c2de5 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 @@ -735,7 +735,8 @@ public static void addHBaseDependencyJars(Configuration conf) throws IOException 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 } /**