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

Masatake Iwasaki commented on HADOOP-15984:
-------------------------------------------

{quote}
The reason this JIRA is particularly challenging is that the Hadoop project 
cannot simultaneously support Jersey 1 and Jersey 2. I am considering 
introducing Jersey 2 into Hadoop third-party dependencies and shading the 
related paths to ensure that Jersey 1 and Jersey 2 can be introduced into the 
Hadoop project simultaneously.
{quote}

[~slfan1989] IIUC, we need some hacks in class loading mechanism to make JAX-RS 
1.1 and 2.0 co-exist as [~aajisaka] mentioned. Since Jersey 1.x and 2.x have 
different package name and groupId, we usually don't need relocation for them.

* 
https://stackoverflow.com/questions/29632455/getting-jersey-1-x-and-2-x-to-coexist
* 
https://download.oracle.com/javaee-archive/jersey.java.net/users/2014/04/18550.html


> Update jersey from 1.19 to 2.x
> ------------------------------
>
>                 Key: HADOOP-15984
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15984
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Akira Ajisaka
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> jersey-json 1.19 depends on Jackson 1.9.2. Let's upgrade.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to