diff --git a/hbase-assembly/src/main/assembly/client.xml b/hbase-assembly/src/main/assembly/client.xml
index 62828fa5afc9..aaaa6aa99a18 100644
--- a/hbase-assembly/src/main/assembly/client.xml
+++ b/hbase-assembly/src/main/assembly/client.xml
@@ -63,6 +63,7 @@
org.apache.yetus:audience-annotations
org.slf4j:*
org.apache.logging.log4j:*
+ io.opentelemetry.javaagent:*
@@ -149,6 +150,13 @@
org.apache.yetus:audience-annotations
org.slf4j:*
org.apache.logging.log4j:*
+ io.opentelemetry:*
+
+
+
+ lib/trace
+
+ io.opentelemetry.javaagent:*
diff --git a/hbase-assembly/src/main/assembly/hadoop-three-compat.xml b/hbase-assembly/src/main/assembly/hadoop-three-compat.xml
index 8d4eaf60de0c..13d4dcc3a912 100644
--- a/hbase-assembly/src/main/assembly/hadoop-three-compat.xml
+++ b/hbase-assembly/src/main/assembly/hadoop-three-compat.xml
@@ -210,6 +210,7 @@
org.apache.yetus:audience-annotations
org.slf4j:*
org.apache.logging.log4j:*
+ io.opentelemetry:*
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 5a6071e01867..9b8bec631420 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
@@ -831,7 +831,9 @@ public static void addHBaseDependencyJars(Configuration conf) throws IOException
org.apache.zookeeper.ZooKeeper.class, // zookeeper
org.apache.htrace.core.Tracer.class, // htrace
com.codahale.metrics.MetricRegistry.class, // metrics-core
- org.apache.commons.lang3.ArrayUtils.class); // commons-lang
+ 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
}
/**