fennuzhichui opened a new issue #3466:
URL: https://github.com/apache/iceberg/issues/3466
we concurrently run a lots of sql-shell to overwrite different day's data in
iceberg table, and every application end with "CALL
spark_catalog.system.rewrite_manifests(table => 'dwm.tableA', use_caching =>
false)". The applications will rewrite the tableA's manifests concurrently ,
and throw ValidationException("Manifest is missing: xxx") in
validateDeletedManifests method.
` diagnostics: User class threw exception:
org.apache.spark.SparkException:
org.apache.iceberg.exceptions.ValidationException: Manifest is missing:
oss://xgimi-data/apps/spark/warehouse/ods.db/screen_event_log_hi/metadata/52c1e98f-02a5-4ce3-ae05-d7382a6a68c2-m2.avro
at
org.apache.iceberg.BaseRewriteManifests.lambda$validateDeletedManifests$7(BaseRewriteManifests.java:261)
at java.util.Optional.ifPresent(Optional.java:159)
at
org.apache.iceberg.BaseRewriteManifests.validateDeletedManifests(BaseRewriteManifests.java:260)
at
org.apache.iceberg.BaseRewriteManifests.apply(BaseRewriteManifests.java:169)
at
org.apache.iceberg.SnapshotProducer.apply(SnapshotProducer.java:163)
at
org.apache.iceberg.BaseRewriteManifests.apply(BaseRewriteManifests.java:53)
at
org.apache.iceberg.SnapshotProducer.lambda$commit$2(SnapshotProducer.java:276)
at
org.apache.iceberg.util.Tasks$Builder.runTaskWithRetry(Tasks.java:404)
at
org.apache.iceberg.util.Tasks$Builder.runSingleThreaded(Tasks.java:213)
at org.apache.iceberg.util.Tasks$Builder.run(Tasks.java:197)
at org.apache.iceberg.util.Tasks$Builder.run(Tasks.java:189)
at
org.apache.iceberg.SnapshotProducer.commit(SnapshotProducer.java:275)
at
org.apache.iceberg.BaseRewriteManifests.commit(BaseRewriteManifests.java:53)
at
org.apache.iceberg.actions.BaseSnapshotUpdateAction.commit(BaseSnapshotUpdateAction.java:40)
at
org.apache.iceberg.actions.RewriteManifestsAction.replaceManifests(RewriteManifestsAction.java:309)
at
org.apache.iceberg.actions.RewriteManifestsAction.execute(RewriteManifestsAction.java:196)`
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]