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

Ayush Saxena commented on HADOOP-18033:
---------------------------------------

Shading issue we might get rid of, because the issue wasn't in the same jar, so 
that isn't a problem & that might solve problem for some. Tez doesn't pull in 
hadoop-client dependency AFAIK,

Now after this it is pulling in both javax.ws.rs-api and jsr311-api which is 
creating runtime issues like URIBuilder Class is there in both the packages and 
so.
Excluding/Removing javax.ws.rs-api will make Jackson cry. I tried this as well 
a lot of test fails.
Excluding/Removing jsr311-api makes Jersey cry. Like TestHttpServer#testJersey 
fails if we exclude it. I tried this only but some more can fail as well.
This gives the same error what Tez is getting:
{noformat}
2022-06-19 17:53:24,623 WARN  server.HttpChannel 
(HttpChannel.java:handleException(689)) - /jersey/foo
java.lang.AbstractMethodError: 
javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder;
{noformat}


> 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 20m
>  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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to