-
Notifications
You must be signed in to change notification settings - Fork 289
CI: Use Java 1.9.0-SNAPSHOT for testing #1899
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
With apache/iceberg#12593 Row lineage is required and Spark uses Java 1.8.0 that does not write the required `start-row-id` field in the snapshot. Therefore, I think it would be good to just use the SNAPSHOT for now until it gets released.
Thanks @nastra |
-Lo /opt/spark/jars/iceberg-spark-runtime-${ICEBERG_SPARK_RUNTIME_VERSION}-${ICEBERG_VERSION}.jar | ||
|
||
|
||
# Download AWS bundle | ||
RUN curl --retry 5 -s https://repo1.maven.org/maven2/org/apache/iceberg/iceberg-aws-bundle/${ICEBERG_VERSION}/iceberg-aws-bundle-${ICEBERG_VERSION}.jar \ | ||
RUN curl --retry 5 -s https://repository.apache.org/content/groups/snapshots/org/apache/iceberg/iceberg-aws-bundle/1.9.0-SNAPSHOT/iceberg-aws-bundle-1.9.0-20250408.002722-86.jar \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah this doesnt exist anymore, https://repository.apache.org/content/groups/snapshots/org/apache/iceberg/iceberg-aws-bundle/1.9.0-SNAPSHOT/
which causes CI to fail with
IllegalArgumentException: Cannot initialize FileIO implementation org.apache.iceberg.aws.s3.S3FileIO: Cannot find constructor for interface org.apache.iceberg.io.FileIO
Missing org.apache.iceberg.aws.s3.S3FileIO [java.lang.NoClassDefFoundError: software/amazon/awssdk/services/s3/model/S3Exception]
make: *** [Makefile:61: test-integration] Error 1
Error: Process completed with exit code 2.
cc @Fokko
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
interestingly, iceberg-spark-runtime contains both 20250408
and 20250409
but iceberg-aws-bundle
only has 20250409
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
interestingly, iceberg-spark-runtime contains both 20250408 and 20250409 but iceberg-aws-bundle only has 20250409
Not sure what's going on there 🤔
The JARs are cleaned up weekly. Since the 0.9.0 SNAPSHOT is being voted on, I suggest bumping it to an available version. I've created a PR here: #1907
This reverts commit aeb4493.
With apache/iceberg#12593 Row lineage is required and Spark uses Java 1.8.0 that does not write the required
first-row-id
field in the snapshot.Therefore, I think it would be good to just use the SNAPSHOT for now until it gets released. We can easily revert the PR once that's done.
Closes #1898
Rationale for this change
Are these changes tested?
Are there any user-facing changes?