You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "hwfff (via GitHub)" <gi...@apache.org> on 2023/09/28 03:28:46 UTC
[GitHub] [iceberg] hwfff opened a new issue, #8670: Could there be duplicate values in the result returned by the findOrphanFiles method?
hwfff opened a new issue, #8670:
URL: https://github.com/apache/iceberg/issues/8670
### Query engine
spark
### Question
Calling the removeOrphanFiles method may intermittently result in an error: "Exception in thread 'main' software.amazon.awssdk.services.s3.model.NoSuchKeyException: The specified key does not exist.".So could there be duplicate values in the result returned by the findOrphanFiles method?
--
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-unsubscribe@iceberg.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
[GitHub] [iceberg] RussellSpitzer commented on issue #8670: Could there be duplicate values in the result returned by the findOrphanFiles method?
Posted by "RussellSpitzer (via GitHub)" <gi...@apache.org>.
RussellSpitzer commented on issue #8670:
URL: https://github.com/apache/iceberg/issues/8670#issuecomment-1738385133
I think it is much more likely that another process deleted the file or prefix while remove orphaned files was running. That said, we should be catching and not rethrowing this exception
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Could there be duplicate values in the result returned by the findOrphanFiles method? [iceberg]
Posted by "nk1506 (via GitHub)" <gi...@apache.org>.
nk1506 commented on issue #8670:
URL: https://github.com/apache/iceberg/issues/8670#issuecomment-1746511694
@RussellSpitzer , I want to look into it and fix it accordingly.
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Could there be duplicate values in the result returned by the findOrphanFiles method? [iceberg]
Posted by "nk1506 (via GitHub)" <gi...@apache.org>.
nk1506 commented on issue #8670:
URL: https://github.com/apache/iceberg/issues/8670#issuecomment-1750610633
Hi @hwfff , I tried to repro with duplicate files as well invalid files. Iceberg is catching all the errors while deleting the files. Although it has BulkDelete as well as single delete file operation. But both types are catching any exceptions.
Ref: [DeleteOrphanFilesSparkAction](https://github.com/apache/iceberg/blob/0259918eb2bac08beb1329f53046aa099de15021/spark/v3.5/spark/src/main/java/org/apache/iceberg/spark/actions/DeleteOrphanFilesSparkAction.java#L246 )
If possible , Please share more details like following:
- Iceberg Version
- Engine details like spark with version.
- Catalog details
- Also Stacktrace
@RussellSpitzer , I couldn't find anything to fix here. Please correct me if I am wrong. I will plan to add test cases with concurrent `remove_orphan_files`.
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Could there be duplicate values in the result returned by the findOrphanFiles method? [iceberg]
Posted by "nk1506 (via GitHub)" <gi...@apache.org>.
nk1506 commented on issue #8670:
URL: https://github.com/apache/iceberg/issues/8670#issuecomment-1746623860
@hwfff , could you please share the stack-trace if handy?
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Could there be duplicate values in the result returned by the findOrphanFiles method? [iceberg]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8670:
URL: https://github.com/apache/iceberg/issues/8670#issuecomment-2362461822
This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org