From 33ea96cdf74050eb22bbf2c740587428474a492a 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 a1b1a8ce4df4..0470cbd07e59 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 @@ -730,6 +730,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.codahale.metrics.MetricRegistry.class, // metrics-core org.apache.commons.lang3.ArrayUtils.class, // commons-lang