rahil-c commented on code in PR #5786:
URL: https://github.com/apache/hudi/pull/5786#discussion_r917452288
##########
hudi-timeline-service/pom.xml:
##########
@@ -117,6 +123,28 @@
<artifactId>rocksdbjni</artifactId>
</dependency>
+ <!-- Jetty -->
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-server</artifactId>
+ <version>${jetty.version}</version>
+ </dependency>
Review Comment:
I believe it was getting these dependencies transitively from the `javalin`
that we define as a compile time dependency in the `timeline-service` pom.
https://github.com/apache/hudi/blob/master/hudi-timeline-service/pom.xml#L113
The reason why i defined them here explicitly was because I ran into issues
with tests failing due to getting incorrect jetty (9.3 jetty) from hadoop hive
side, so i followed a similar idea as to what hudi-flink was doing by defining
them within the pom
https://github.com/apache/hudi/blob/master/packaging/hudi-flink-bundle/pom.xml#L612
(note hudi flink bundle is also shading them which also might be necessary to
do in our case since facing this here currently documented here
https://issues.apache.org/jira/browse/HBASE-18943 ) where hadoop is expecting
the 9.3 jetty where was the pr is targeting the 9.4 jetty.
The reason why master is not facing this jetty conflict issue is because the
hadoop 2.10 is using a `mortbay` jetty which is under a different pattern see
the above jira for more info.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]