[
https://issues.apache.org/jira/browse/HBASE-23015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16927842#comment-16927842
]
Sean Busbey edited comment on HBASE-23015 at 9/11/19 5:30 PM:
--------------------------------------------------------------
bq. Just to confirm, each module(except hbase-rest) would have to use Gson
directly as hbase-thirdparty isn't available to branch-1.
no, we should use the hbase-thirdparty version of GSON. we should be able to
use it just fine. [we should be able to reference the 2.2.1 release of
hbase-shaded-miscellaneous|https://search.maven.org/artifact/org.apache.hbase.thirdparty/hbase-shaded-miscellaneous/2.2.1/jar]
i.e.
{code}
<dependency>
<groupId>org.apache.hbase.thirdparty</groupId>
<artifactId>hbase-shaded-miscellaneous</artifactId>
<version>2.2.1</version>
</dependency>
{code}
and then use the classes in the {{org.apache.hbase.thirdparty.com.google.gson}}
package.
was (Author: busbey):
bq. Just to confirm, each module(except hbase-rest) would have to use Gson
directly as hbase-thirdparty isn't available to branch-1.
no, we should use the hbase-thirdparty version of GSON. we should be able to
use it just fine. [we should be able to reference the 2.2.1 release of
hbase-shaded-miscellaneous|org.apache.hbase.thirdparty:hbase-shaded-miscellaneous:2.2.1]
i.e.
{code}
<dependency>
<groupId>org.apache.hbase.thirdparty</groupId>
<artifactId>hbase-shaded-miscellaneous</artifactId>
<version>2.2.1</version>
</dependency>
{code}
and then use the classes in the {{org.apache.hbase.thirdparty.com.google.gson}}
package.
> branch-1 hbase-server, testing util, and shaded testing util need 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
> Assignee: Viraj Jasani
> Priority: Blocker
> Fix For: 1.5.0, 1.3.6, 1.4.11
>
> Attachments: HBASE-23015.branch-1.000.patch
>
>
> 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)