From 061a73db6d7b323bc4a73dd403b82b911f2b5a62 Mon Sep 17 00:00:00 2001 From: Chia-Ping Tsai Date: Sun, 5 Nov 2017 23:30:28 +0800 Subject: [PATCH] HBASE-19185 ClassNotFoundException: com.fasterxml.jackson.* --- .../apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 cf86184a6c3..40e2cb9bcca 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 @@ -820,7 +820,10 @@ public class TableMapReduceUtil { org.apache.hadoop.hbase.shaded.com.google.common.collect.Lists.class, org.apache.htrace.Trace.class, com.codahale.metrics.MetricRegistry.class, - org.apache.commons.lang3.ArrayUtils.class); + org.apache.commons.lang3.ArrayUtils.class, + com.fasterxml.jackson.databind.ObjectMapper.class, + com.fasterxml.jackson.core.Versioned.class, + com.fasterxml.jackson.annotation.JsonView.class); } /**