[
https://issues.apache.org/jira/browse/TEZ-4114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17027942#comment-17027942
]
Jonathan Turner Eagles commented on TEZ-4114:
---------------------------------------------
Fixing this jira is more complicated than just updating the jetty version. Tez
branch-0.10 is targeting Hadoop 3.1.3 as it's minimum version. A little bit of
digging helped me catch up to everyone else's understanding. Documenting it
here for clarity. HADOOP-16152 is committed to trunk in hadoop and back-ported
to branch-3.1 as part of HADOOP-16703 which you had a part. This jira will be
released in 3.1.4 and isn't in a community released version.
I see no urgency based on HADOOP-16152 or HADOOP-16703 to upgrade the community
version of tez until that jira is in a release version of Hadoop. A good
work-around is to build tez and passing the jetty version on the command line
or to keep an internal version of tez which patches can be applied to, which I
assume is a best practice among distributors of hadoop software.
For example,
{code}
mvn clean install -DskipTests -Djetty.version=9.4.20.v20190813
or even
mvn clean install -DskipTests -Djetty.version=9.4.26.v20200117
{code}
One more thing. Could you help me understand why TEZ-4114.02.patch used
9.4.26.v20200117 jetty version instead of 9.4.20.v20190813 which is aligned to
Hadoop? Our general rule in tez in to track the version in the Hadoop release
unless there is sufficient reason.
Once Hadoop is release we can revisit this. We'll need to be more thorough in
that we'll need to analyze our dependencies
For example even with the patch above I see multiple jetty versions being
shipped in tez-dist/target/tez-0.10.1-SNAPSHOT/lib. While the minimal
distribution in tez-dist/target/tez-0.10.1-SNAPSHOT-minimal/lib seems fine.
> Upgrade to Jetty 9.4
> --------------------
>
> Key: TEZ-4114
> URL: https://issues.apache.org/jira/browse/TEZ-4114
> Project: Apache Tez
> Issue Type: Bug
> Reporter: László Bodor
> Assignee: László Bodor
> Priority: Major
> Attachments: TEZ-4114.01.patch, TEZ-4114.02.patch
>
>
> Hadoop already did it in: https://issues.apache.org/jira/browse/HADOOP-16152
> Hive: "in progress", only abandoned jiras
> https://issues.apache.org/jira/browse/HIVE-21961
> https://issues.apache.org/jira/browse/HIVE-21211
--
This message was sent by Atlassian Jira
(v8.3.4#803005)