HBASE-18803: Mapreduce job get failed caused by NoClassDefFoundError: org/apache/commons/lang3/ArrayUtils

Signed-off-by: Michael Stack <stack@apache.org>
This commit is contained in:
Yi Liang 2017-09-12 16:49:52 -07:00 committed by Michael Stack
parent 2903938153
commit a66f9dcda5
No known key found for this signature in database
GPG Key ID: 9816C7FC8ACC93D2
1 changed files with 3 additions and 2 deletions

View File

@ -787,7 +787,7 @@ 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
prefixTreeCodecClass, // hbase-prefix-tree (if null will be skipped)
@ -798,7 +798,8 @@ public class TableMapReduceUtil {
org.apache.hadoop.hbase.shaded.com.google.protobuf.UnsafeByteOperations.class,
org.apache.hadoop.hbase.shaded.com.google.common.collect.Lists.class,
org.apache.htrace.Trace.class,
com.codahale.metrics.MetricRegistry.class);
com.codahale.metrics.MetricRegistry.class,
org.apache.commons.lang3.ArrayUtils.class);
}
/**