pvary commented on PR #9302: URL: https://github.com/apache/iceberg/pull/9302#issuecomment-1858112362
I am using java 8 Previuosly, I have run this: ``` $ ./gradlew :iceberg-flink:iceberg-flink-runtime-1.18:build Starting a Gradle Daemon, 1 busy Daemon could not be reused, use --status for details > Task :iceberg-flink:iceberg-flink-runtime-1.18:checkClassUniqueness FAILED > Task :iceberg-flink:iceberg-flink-1.18:compileTestJava Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':iceberg-flink:iceberg-flink-runtime-1.18:checkClassUniqueness'. > baseline-class-uniqueness detected multiple jars containing identically named classes. Please resolve these problems, or run `./gradlew checkClassUniqueness --write-locks` to accept them: # Danger! Multiple jars contain identically named classes. This may cause different behaviour depending on classpath ordering. # Run ./gradlew checkClassUniqueness --write-locks to update this file ## runtimeClasspath [org.apache.iceberg:iceberg-api, org.apache.iceberg:iceberg-core] - org.apache.iceberg.view.SQLViewRepresentation * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Get more help at https://help.gradle.org Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. See https://docs.gradle.org/8.1.1/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 1m 8s 53 actionable tasks: 4 executed, 49 up-to-date ``` I have run the `./gradlew checkClassUniqueness --write-locks` as suggested, and that created plenty of `lock` files: ``` aliyun/baseline-class-uniqueness.lock arrow/baseline-class-uniqueness.lock aws/baseline-class-uniqueness.lock aws/src/main/generated/ azure/baseline-class-uniqueness.lock core/src/main/generated/ data/baseline-class-uniqueness.lock dell/baseline-class-uniqueness.lock delta-lake/baseline-class-uniqueness.lock flink/v1.18/flink-runtime/baseline-class-uniqueness.lock flink/v1.18/flink/baseline-class-uniqueness.lock gcp/baseline-class-uniqueness.lock hive-metastore/baseline-class-uniqueness.lock hive-metastore/src/main/generated/ hive-runtime/baseline-class-uniqueness.lock mr/baseline-class-uniqueness.lock nessie/baseline-class-uniqueness.lock orc/baseline-class-uniqueness.lock parquet/baseline-class-uniqueness.lock pig/baseline-class-uniqueness.lock settings-gradle.lockfile snowflake/baseline-class-uniqueness.lock spark/v3.5/spark-runtime/baseline-class-uniqueness.lock spark/v3.5/spark/baseline-class-uniqueness.lock ``` I tried to find the indicated duplicate file, but failed. Since then I can not repro it either, so just disregard my previous comment. Sorry for the noise 😢 -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org