AllenWee1106 opened a new issue, #9178:
URL: https://github.com/apache/iceberg/issues/9178

   ### Query engine
   
   spark
   
   ### Question
   
   I submitted a task through Spark and it stopped due to an exception. The 
reason for the exception is as follows:
   `Caused by: org.apache.iceberg.exceptions.CommitFailedException: Cannot 
commit datalake.slp_quality: metadata location 
s3://warehouse/datalake/SLP_Quality/metadata/6390c7416eff.metadata.json has 
changed from 
s3://warehouse/datalake/SLP_Quality/metadata/b167af31b5fa.metadata.json
   at 
org.apache.iceberg.jdbc.JdbcTableOperations.validateMetadataLocation(JdbcTableOperations.java:211)
   at 
org.apache.iceberg.jdbc.JdbcTableOperations.doCommit(JdbcTableOperations.java:111)
   at 
org.apache.iceberg.BaseMetastoreTableOperations.commit(BaseMetastoreTableOperations.java:135)
   at 
org.apache.iceberg.SnapshotProducer.lambda$commit$2(SnapshotProducer.java:389)
   at org.apache.iceberg.util.Tasks$Builder.runTaskWithRetry(Tasks.java:413)
   at org.apache.iceberg.util.Tasks$Builder.runSingleThreaded(Tasks.java:219)
   at org.apache.iceberg.util.Tasks$Builder.run(Tasks.java:203)
   at org.apache.iceberg.util.Tasks$Builder.run(Tasks.java:196)
   at org.apache.iceberg.SnapshotProducer.commit(SnapshotProducer.java:363)
   at 
org.apache.iceberg.spark.source.SparkWrite.commitOperation(SparkWrite.java:206)
   at org.apache.iceberg.spark.source.SparkWrite.access$1300(SparkWrite.java:82)
   at 
org.apache.iceberg.spark.source.SparkWrite$BatchAppend.commit(SparkWrite.java:269)
   at 
org.apache.spark.sql.execution.datasources.v2.V2TableWriteExec.writeWithV2(WriteToDataSourceV2Exec.scala:369)`
   I would like to know, what is the reason for this problem?


-- 
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

Reply via email to