[ 
https://issues.apache.org/jira/browse/HBASE-23015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Viraj Jasani updated HBASE-23015:
---------------------------------
    Release Note: 
<!-- markdown -->

HBase has stopped including Jackson in the classpath seen by downstream  users 
except for as a part of running the HBase REST Service or when brought in 
transitively from Apache Hadoop.

Downstream users who still need Jackson classes should include the dependency 
themselves.

Moving from Jackson2 to shaded Gson can also expose some additional fields in 
serialized JSON strings. e.g. BucketAllocator JSON used to ignore 
"indexStatistics", "freeSize" earlier, however, now with Gson converter, these 
fields would be present in serialized string.

  was:
<!-- markdown -->

HBase has stopped including Jackson in the classpath seen by downstream  users 
except for as a part of running the HBase REST Service or when brought in 
transitively from Apache Hadoop.

Downstream users who still need Jackson classes should include the dependency 
themselves.

Moving from Jackson2 to shaded Gson can also expose some additional fields in 
JSON.


> Replace Jackson with relocated gson everywhere but hbase-rest
> -------------------------------------------------------------
>
>                 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.3.000.patch, 
> HBASE-23015.branch-1.3.001.patch, HBASE-23015.branch-1.3.002.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.4#803005)

Reply via email to