manuzhang opened a new pull request, #11982: URL: https://github.com/apache/iceberg/pull/11982
This PR fixes following exception when running `rewrite_table_path` action with Spark ``` java.lang.UnsupportedOperationException at org.apache.iceberg.spark.actions.RewriteTablePathSparkAction.writeDataManifest(RewriteTablePathSparkAction.java:535) at org.apache.iceberg.spark.actions.RewriteTablePathSparkAction.lambda$toManifests$fbc8fb31$1(RewriteTablePathSparkAction.java:491) at org.apache.spark.sql.execution.MapElementsExec.$anonfun$doExecute$9(objects.scala:302) at org.apache.spark.sql.execution.MapElementsExec.$anonfun$doExecute$11(objects.scala:309) at scala.collection.Iterator$$anon$10.next(Iterator.scala:461) at scala.collection.Iterator$$anon$10.next(Iterator.scala:461) at scala.collection.Iterator.foreach(Iterator.scala:943) at scala.collection.Iterator.foreach$(Iterator.scala:943) at scala.collection.AbstractIterator.foreach(Iterator.scala:1431) at scala.collection.TraversableOnce.reduceLeft(TraversableOnce.scala:237) at scala.collection.TraversableOnce.reduceLeft$(TraversableOnce.scala:220) at scala.collection.AbstractIterator.reduceLeft(Iterator.scala:1431) at org.apache.spark.rdd.RDD.$anonfun$reduce$2(RDD.scala:1183) at org.apache.spark.SparkContext.$anonfun$runJob$6(SparkContext.scala:2637) at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:93) at org.apache.spark.TaskContext.runTaskWithListeners(TaskContext.scala:161) at org.apache.spark.scheduler.Task.run(Task.scala:152) at org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$4(Executor.scala:622) at org.apache.spark.util.SparkErrorUtils.tryWithSafeFinally(SparkErrorUtils.scala:64) at org.apache.spark.util.SparkErrorUtils.tryWithSafeFinally$(SparkErrorUtils.scala:61) at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:94) at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:625) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.io.IOException: java.lang.UnsupportedOperationException at org.apache.spark.util.SparkErrorUtils.tryOrIOException(SparkErrorUtils.scala:42) at org.apache.spark.util.SparkErrorUtils.tryOrIOException$(SparkErrorUtils.scala:33) at org.apache.spark.util.Utils$.tryOrIOException(Utils.scala:94) at org.apache.spark.broadcast.TorrentBroadcast.readBroadcastBlock(TorrentBroadcast.scala:260) at org.apache.spark.broadcast.TorrentBroadcast.getValue(TorrentBroadcast.scala:117) at org.apache.iceberg.spark.actions.RewriteTablePathSparkAction.writeDataManifest(RewriteTablePathSparkAction.java:531) ... 24 more ``` -- 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