[
https://issues.apache.org/jira/browse/HBASE-23015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16927240#comment-16927240
]
Sean Busbey commented on HBASE-23015:
-------------------------------------
uses that show up in hbase-server module:
{code}
Busbey-MBA:hbase busbey$ git grep "import com.fasterxml.jackson" -- hbase-server
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/AgeSnapshot.java:import
com.fasterxml.jackson.annotation.JsonIgnoreProperties;
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/BlockCacheUtil.java:import
com.fasterxml.jackson.annotation.JsonIgnoreProperties;
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/BlockCacheUtil.java:import
com.fasterxml.jackson.core.JsonGenerationException;
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/BlockCacheUtil.java:import
com.fasterxml.jackson.databind.JsonMappingException;
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/BlockCacheUtil.java:import
com.fasterxml.jackson.databind.ObjectMapper;
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/BlockCacheUtil.java:import
com.fasterxml.jackson.databind.SerializationFeature;
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java:import
com.fasterxml.jackson.annotation.JsonIgnore;
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java:import
com.fasterxml.jackson.annotation.JsonIgnoreProperties;
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketAllocator.java:import
com.fasterxml.jackson.annotation.JsonIgnoreProperties;
hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java:import
com.fasterxml.jackson.databind.ObjectMapper;
hbase-server/src/main/java/org/apache/hadoop/hbase/monitoring/MonitoredTaskImpl.java:import
com.fasterxml.jackson.databind.ObjectMapper;
hbase-server/src/main/java/org/apache/hadoop/hbase/util/JSONBean.java:import
com.fasterxml.jackson.core.JsonFactory;
hbase-server/src/main/java/org/apache/hadoop/hbase/util/JSONBean.java:import
com.fasterxml.jackson.core.JsonGenerator;
hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALPrettyPrinter.java:import
com.fasterxml.jackson.databind.ObjectMapper;
hbase-server/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java:import
com.fasterxml.jackson.databind.MapperFeature;
hbase-server/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java:import
com.fasterxml.jackson.databind.ObjectMapper;
hbase-server/src/test/java/org/apache/hadoop/hbase/TestPerformanceEvaluation.java:import
com.fasterxml.jackson.databind.ObjectMapper;
{code}
Several of those will show up in the hbase minicluster. Performance Evaluation
and WALPrettyPrinter are both tools, but hopefully we do the right thing at
runtime for them. whoever takes this should confirm after fixing the stuff we
already know is broken.
> branch-1 hbase-server and shaded testing util needs jackson
> -----------------------------------------------------------
>
> Key: HBASE-23015
> URL: https://issues.apache.org/jira/browse/HBASE-23015
> Project: HBase
> Issue Type: Bug
> Components: Client, shading
> Affects Versions: 1.5.0, 1.3.6, 1.4.11
> Reporter: Sean Busbey
> Priority: Blocker
> Fix For: 1.5.0, 1.3.6, 1.4.11
>
>
> HBASE-22728 moved out jackson transitive dependencies. mostly good, but
> moving jackson2 to provided in hbase-server broke few things
> testing-util needs a transitive jackson 2 in order to start the minicluster,
> currently fails with CNFE for {{com.fasterxml.jackson.databind.ObjectMapper}}
> when trying to initialize the master.
> shaded-testing-util needs a relocated jackson 2 for the same reason
> it's not used for any of the mapreduce stuff in hbase-server, so
> {{hbase-shaded-server}} for that purpose should be fine. But it is used by
> {{WALPrettyPrinter}} and some folks might expect that to work from that
> artifact since it is present.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)