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

Bharat Viswanadham edited comment on HADOOP-14672 at 7/21/17 11:48 PM:
-----------------------------------------------------------------------

Hi Sean,
It is pulled from hadoop-minicluster. xml-apis' is coming from 
xerces:xercesImpl. 

Maven Dependency Tree:
[INFO] --- maven-dependency-plugin:2.10:tree (default-cli) @ hadoop-minicluster 
---
.
.
.
*[INFO] |  +- xerces:xercesImpl:jar:2.9.1:compile
[INFO] |  |  \- xml-apis:xml-apis:jar:1.3.04:compile*

Even after excluding, only one class I am still able to see with out shading. 
Not able to get from where this is happening?
org/
org/apache/
org/w3c/
org/w3c/dom/
org/w3c/dom/html/
org/w3c/dom/html/HTMLDOMImplementation.class

Any idea on this?


was (Author: bharatviswa):
Hi Sean,
It is pulled from hadoop-minicluster. xml-apis' is coming from 
xerces:xercesImpl. 
I have seen in hadoop-client-runtime, you have filtered it.
I am not sure, can i do the same here.
<filter>
                      <artifact>xerces:xercesImpl</artifact>
                      <excludes>
                        <exclude>META-INF/services/*</exclude>
                      </excludes>
Pls let me know your thoughts on this?

Maven Dependency Tree:
[INFO] --- maven-dependency-plugin:2.10:tree (default-cli) @ hadoop-minicluster 
---
.
.
.
*[INFO] |  +- xerces:xercesImpl:jar:2.9.1:compile
[INFO] |  |  \- xml-apis:xml-apis:jar:1.3.04:compile*

> Shaded Hadoop-client-minicluster include unshaded classes, like: javax, sax, 
> dom, etc.
> --------------------------------------------------------------------------------------
>
>                 Key: HADOOP-14672
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14672
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Junping Du
>            Assignee: Bharat Viswanadham
>            Priority: Blocker
>         Attachments: HADOOP-14672.02.patch, HADOOP-14672.03.patch, 
> HADOOP-14672.patch
>
>
> The shaded hadoop-client-minicluster shouldn't include any unshaded 
> dependencies, but we can see: javax, dom, sax, etc. are all unshaded.
> CC [~busbey]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to