[
https://issues.apache.org/jira/browse/HADOOP-16152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16944951#comment-16944951
]
Siyao Meng commented on HADOOP-16152:
-------------------------------------
shadedclient -1 was due to client integration test failure:
org.apache.hadoop.example.ITUseMiniCluster#useWebHDFS and
ITUseMiniCluster#useHdfsFileSystem
{code}
...
Caused by: java.lang.NoClassDefFoundError:
org/apache/hadoop/shaded/org/eclipse/jetty/xml/XmlParser
...
{code}
The root cause is improper shading.
The problem is seemingly fixed by removing the exclusion of jetty-xml from
patch 004:
{code}
--- a/hadoop-client-modules/hadoop-client-minicluster/pom.xml
+++ b/hadoop-client-modules/hadoop-client-minicluster/pom.xml
@@ -820,12 +820,6 @@
<exclude>*/**</exclude>
</excludes>
</filter>
- <filter>
- <artifact>org.eclipse.jetty:jetty-xml</artifact>
- <excludes>
- <exclude>*/**</exclude>
- </excludes>
- </filter>
</filters>
{code}
Will upload a new patch once this is confirmed.
> Upgrade Eclipse Jetty version to 9.4.x
> --------------------------------------
>
> Key: HADOOP-16152
> URL: https://issues.apache.org/jira/browse/HADOOP-16152
> Project: Hadoop Common
> Issue Type: Improvement
> Affects Versions: 3.2.0
> Reporter: Yuming Wang
> Assignee: Siyao Meng
> Priority: Major
> Attachments: HADOOP-16152.002.patch, HADOOP-16152.002.patch,
> HADOOP-16152.003.patch, HADOOP-16152.004.patch, HADOOP-16152.v1.patch
>
>
> Some big data projects have been upgraded Jetty to 9.4.x, which causes some
> compatibility issues.
> Spark:
> [https://github.com/apache/spark/blob/02a0cdea13a5eebd27649a60d981de35156ba52c/pom.xml#L146]
> Calcite:
> [https://github.com/apache/calcite/blob/avatica-1.13.0-rc0/pom.xml#L87]
> Hive: HIVE-21211
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]