From f8159330aa51f2040049a919722dc335bc7e8a0f Mon Sep 17 00:00:00 2001 From: "Tak Lon (Stephen) Wu" Date: Tue, 21 Jun 2022 13:38:09 -0700 Subject: [PATCH] HBASE-27143 Add hbase-unsafe as a dependency for a MR job triggered by hbase shell (#4554) Signed-off-by: Duo Zhang --- .../org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java | 1 + 1 file changed, 1 insertion(+) 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 637b7998490..7ea565d559d 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 @@ -731,6 +731,7 @@ public class TableMapReduceUtil { org.apache.hbase.thirdparty.com.google.gson.GsonBuilder.class, // hbase-shaded-gson org.apache.hbase.thirdparty.com.google.protobuf.UnsafeByteOperations.class, // hb-sh-protobuf org.apache.hbase.thirdparty.io.netty.channel.Channel.class, // hbase-shaded-netty + org.apache.hadoop.hbase.unsafe.HBasePlatformDependent.class, // hbase-unsafe org.apache.zookeeper.ZooKeeper.class, // zookeeper com.google.protobuf.Message.class, // protobuf com.codahale.metrics.MetricRegistry.class, // metrics-core