From 3f2489467fe01bfa6a1970018c30687ba85b18be Mon Sep 17 00:00:00 2001 From: Peter Somogyi Date: Fri, 27 Mar 2020 11:14:37 +0100 Subject: [PATCH] HBASE-24057 Add modules to mapreduce job classpaths (#1359) Signed-off-by: Viraj Jasani Signed-off-by: Jan Hentschel --- .../hbase/mapreduce/TableMapReduceUtil.java | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) 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 e307bc6f64c..e38ee80598d 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 @@ -811,20 +811,22 @@ public class TableMapReduceUtil { org.apache.hadoop.hbase.ipc.RpcServer.class, // hbase-server org.apache.hadoop.hbase.CompatibilityFactory.class, // hbase-hadoop-compat org.apache.hadoop.hbase.mapreduce.JobUtil.class, // hbase-hadoop2-compat - org.apache.hadoop.hbase.mapreduce.TableMapper.class, // hbase-server + org.apache.hadoop.hbase.mapreduce.TableMapper.class, // hbase-mapreduce org.apache.hadoop.hbase.metrics.impl.FastLongHistogram.class, // hbase-metrics org.apache.hadoop.hbase.metrics.Snapshot.class, // hbase-metrics-api + org.apache.hadoop.hbase.replication.ReplicationUtils.class, // hbase-replication + org.apache.hadoop.hbase.http.HttpServer.class, // hbase-http + org.apache.hadoop.hbase.procedure2.Procedure.class, // hbase-procedure + org.apache.hadoop.hbase.zookeeper.ZKWatcher.class, // hbase-zookeeper + org.apache.hbase.thirdparty.com.google.common.collect.Lists.class, // hb-shaded-miscellaneous org.apache.hbase.thirdparty.com.google.gson.GsonBuilder.class, // hbase-shaded-gson - org.apache.zookeeper.ZooKeeper.class, - org.apache.hbase.thirdparty.io.netty.channel.Channel.class, - com.google.protobuf.Message.class, - org.apache.hbase.thirdparty.com.google.protobuf.UnsafeByteOperations.class, - org.apache.hbase.thirdparty.com.google.common.collect.Lists.class, - org.apache.htrace.core.Tracer.class, - com.codahale.metrics.MetricRegistry.class, - org.apache.commons.lang3.ArrayUtils.class, - org.apache.hbase.thirdparty.com.google.gson.Gson.class, - org.apache.hadoop.hbase.zookeeper.ZKWatcher.class); + 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.zookeeper.ZooKeeper.class, // zookeeper + com.google.protobuf.Message.class, // protobuf + org.apache.htrace.core.Tracer.class, // htrace + com.codahale.metrics.MetricRegistry.class, // metrics-core + org.apache.commons.lang3.ArrayUtils.class); // commons-lang } /**