You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Forus0322 (via GitHub)" <gi...@apache.org> on 2023/05/18 10:18:26 UTC

[GitHub] [hudi] Forus0322 commented on a diff in pull request #8706: [HUDI-6208]Fix jetty conflicts in the packaging process

Forus0322 commented on code in PR #8706:
URL: https://github.com/apache/hudi/pull/8706#discussion_r1197649820


##########
hudi-timeline-service/pom.xml:
##########
@@ -87,6 +87,12 @@
       <artifactId>kryo-shaded</artifactId>
     </dependency>
 
+    <dependency>
+      <groupId>org.eclipse.jetty</groupId>
+      <artifactId>jetty-util</artifactId>
+      <version>${jetty.version}</version>

Review Comment:
   @danny0405  I ran into the same problem. After some analysis, the time-line-server did not directly reference the jetty-util jar, but referenced hadoop dependencies. Hadoop version 3.3.0 refers to version 9.4.20.v20190813 of jetty-util (https://github.com/eclipse/jetty.project/blob/jetty-9.4.20.v20190813/jetty-util/src/main/java/org/eclipse/jetty/util/thread/ScheduledExecutorScheduler.java), the constructor of this version does not contain ScheduledExecutorScheduler(@Name("name") String name, @Name("daemon") boolean daemon, @Name(" threads") int threads), so when compiling time-line-server, the jetty-util 9.4.20.v20190813 is referenced instead of the 9.4.48.v20220622 version in the parent pom.



-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org