You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Cheng Pan (Jira)" <ji...@apache.org> on 2022/06/18 18:50:00 UTC

[jira] [Comment Edited] (HADOOP-18033) Upgrade fasterxml Jackson to 2.13.0

    [ https://issues.apache.org/jira/browse/HADOOP-18033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17555953#comment-17555953 ] 

Cheng Pan edited comment on HADOOP-18033 at 6/18/22 6:49 PM:
-------------------------------------------------------------

> BTW. I am not sure what Spark and Kyuubi issues are exactly, that also seems class conflicts may be

Yes, I think it's because Jackson requires some classes which only exist in javax.ws.rs-api, which are not bundled into the shaded client.

Have a brief look, js311-api is only required by jersey 1.x? If yes, I think upgrading the jersey to 2.x which depends on javax.ws.rs-api and dropping js311-api may be the right direction. And I also see that Hadoop 3.3.2 mixed use jersey 1.x and 2.x in module hadoop-yarn-applications-catalog-webapp, not sure if it's a good practice.


was (Author: pan3793):
> BTW. I am not sure what Spark and Kyuubi issues are exactly, that also seems class conflicts may be

Yes, I think it's because Jackson requires some classes which only exist in javax.ws.rs-api, which does not bundle into the shaded client.

Have a brief look, js311-api is only required by jersey 1.x? If yes, I think upgrading the jersey to 2.x which depends on javax.ws.rs-api and dropping js311-api may be the right direction. And I also see that Hadoop 3.3.2 mixed use jersey 1.x and 2.x in module hadoop-yarn-applications-catalog-webapp, not sure if it's a good practice.

> Upgrade fasterxml Jackson to 2.13.0
> -----------------------------------
>
>                 Key: HADOOP-18033
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18033
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>            Reporter: Akira Ajisaka
>            Assignee: Viraj Jasani
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.4.0, 3.3.2
>
>          Time Spent: 4h 10m
>  Remaining Estimate: 0h
>
> Spark 3.2.0 depends on Jackson 2.12.3. Let's upgrade to 2.12.5 (2.12.x latest as of now) or upper.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org