[
https://issues.apache.org/jira/browse/HADOOP-18303?focusedWorklogId=783732&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-783732
]
ASF GitHub Bot logged work on HADOOP-18303:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 22/Jun/22 07:13
Start Date: 22/Jun/22 07:13
Worklog Time Spent: 10m
Work Description: sunchao commented on PR #4461:
URL: https://github.com/apache/hadoop/pull/4461#issuecomment-1162735000
In this case, the problematic class is
`org.apache.hadoop.shaded.javax.ws.rs.core.NoContentException` which is only in
`javax.ws.rs:javax.ws.rs-api:jar` and is not shaded before this PR, and hence
the exception.
> Let us assume we did something with the shading, but Projects like Tez,
when they add Hadoop as dependency they get both Jars and both have similar
classes, so that creates a mess, something similar error message like here ...
Hmm why is that? does Hive/Tez use shaded Hadoop client? the shading also
comes with relocation so that it shouldn't interfere with the other
dependencies.
Issue Time Tracking
-------------------
Worklog Id: (was: 783732)
Time Spent: 1h 40m (was: 1.5h)
> Remove shading exclusion of javax.ws.rs-api from hadoop-client-runtime
> ----------------------------------------------------------------------
>
> Key: HADOOP-18303
> URL: https://issues.apache.org/jira/browse/HADOOP-18303
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Viraj Jasani
> Assignee: Viraj Jasani
> Priority: Critical
> Labels: pull-request-available
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> As part of HADOOP-18033, we have excluded shading of javax.ws.rs-api from
> both hadoop-client-runtime and hadoop-client-minicluster. This has caused
> issues for downstreamers e.g.
> [https://github.com/apache/incubator-kyuubi/issues/2904], more discussions.
> We should put the shading back in hadoop-client-runtime to fix CNFE issues
> for downstreamers.
> cc [~ayushsaxena] [~pan3793]
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]