nandorKollar commented on PR #3726: URL: https://github.com/apache/polaris/pull/3726#issuecomment-3879243064
Some background to this change can be found in slack: https://apache-polaris.slack.com/archives/C084XDM50CB/p1770637229225359 In a nutshell, I noticed, that when I tried to create a build with metastore federation enabled (`./gradlew :polaris-server:assemble :polaris-server:quarkusAppPartsBuild --rerun -DNonRESTCatalogs=HIVE -Dquarkus.container-image.build=true`) then if failed with an IllegalArgumentException: ``` 2026-02-09T12:32:30.309+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception. 2026-02-09T12:32:30.309+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 2026-02-09T12:32:30.309+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong: 2026-02-09T12:32:30.309+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Execution failed for task ':polaris-server:quarkusAppPartsBuild'. 2026-02-09T12:32:30.309+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > There was a failure while executing work items 2026-02-09T12:32:30.309+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > A failure occurred while executing io.quarkus.gradle.tasks.worker.BuildWorker 2026-02-09T12:32:30.309+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > io.quarkus.builder.BuildException: Build failure: Build failed due to errors 2026-02-09T12:32:30.309+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] [error]: Build step io.quarkus.resteasy.reactive.server.deployment.ResteasyReactiveProcessor#setupEndpoints threw an exception: java.lang.IllegalArgumentException 2026-02-09T12:32:30.309+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.objectweb.asm.ClassReader.<init>(Unknown Source) 2026-02-09T12:32:30.309+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.objectweb.asm.ClassReader.<init>(Unknown Source) 2026-02-09T12:32:30.309+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.objectweb.asm.ClassReader.<init>(Unknown Source) 2026-02-09T12:32:30.309+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at io.quarkus.resteasy.reactive.server.deployment.FilterClassIntrospector.usesGetResourceMethod(FilterClassIntrospector.java:31) ``` It seems that the Hive version which we currently use has a transitive dependency which causes this trouble. Nonetheless, I also noticed that the Hive federation extension was to depend on Hive 4 instead of Hive 3:`// Add our own Hive 4.1.0 dependencies`. So I decided to instead of finding and excluding the problematic dependency, bumping the metastore version to the desired one is a better option. -- 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]
