From d28f06a5607ac32728dfa8b1ed91a35e8a9c1b6c 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 637b79984904..7ea565d559d8 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 static void addHBaseDependencyJars(Configuration conf) throws IOException 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