zhztheplayer opened a new issue, #13380: URL: https://github.com/apache/iceberg/issues/13380
### Apache Iceberg version None ### Query engine None ### Please describe the bug 🐞 With latest Iceberg code (6e432fcb24fd55c9024a3192b17a364623886047): On Ubuntu 24.04: ```bash update-java-alternatives -s /usr/lib/jvm/java-1.11.0-openjdk-arm64 # Switch to JDK 11 ./gradlew clean build -x test -x integrationTest # Build Iceberg ``` Error: ``` > Task :iceberg-spark:iceberg-spark-4.0_2.13:compileScala [Error] /opt/code/iceberg/spark/v4.0/spark/src/main/java/org/apache/iceberg/SparkDistributedDataScan.java:41:33: error: cannot access JavaRDD [Error] /opt/code/iceberg/spark/v4.0/spark/src/main/java/org/apache/iceberg/SparkDistributedDataScan.java:42:33: error: cannot access JavaSparkContext [Error] /opt/code/iceberg/spark/v4.0/spark/src/main/java/org/apache/iceberg/SparkDistributedDataScan.java:43:42: error: cannot access FlatMapFunction [Error] /opt/code/iceberg/spark/v4.0/spark/src/main/java/org/apache/iceberg/SparkDistributedDataScan.java:44:34: error: cannot access Broadcast [Error] /opt/code/iceberg/spark/v4.0/spark/src/main/java/org/apache/iceberg/SparkDistributedDataScan.java:45:28: error: cannot access SparkSession ... ``` After switching to JDK 17, the failure disappeared. I guess it's because Spark 4.0 has moved to JDK 17, while Iceberg still supports JDK 11? ### Willingness to contribute - [ ] I can contribute a fix for this bug independently - [x] I would be willing to contribute a fix for this bug with guidance from the Iceberg community - [ ] I cannot contribute a fix for this bug at this time -- 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.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