You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2022/09/07 18:04:44 UTC

[hbase] branch branch-2 updated: HBASE-27353 - opentelemetry-context jar missing at runtime causes MR jobs to fail (#4759)

This is an automated email from the ASF dual-hosted git repository.

apurtell pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2 by this push:
     new 175f5af06b5 HBASE-27353 - opentelemetry-context jar missing at runtime causes MR jobs to fail (#4759)
175f5af06b5 is described below

commit 175f5af06b543c0315138bdae82d095b037763e5
Author: Ujjawal <uj...@gmail.com>
AuthorDate: Wed Sep 7 23:19:53 2022 +0530

    HBASE-27353 - opentelemetry-context jar missing at runtime causes MR jobs to fail (#4759)
    
    Signed-off-by: Andrew Purtell <ap...@apache.org>
    Signed-off-by: Viraj Jasani <vj...@apache.org>
---
 .../java/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
   }
 
   /**