You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Eugene Kirpichov (JIRA)" <ji...@apache.org> on 2017/08/02 18:45:01 UTC

[jira] [Commented] (BEAM-1190) FileBasedSource should ignore files that matched the glob but don't exist

    [ https://issues.apache.org/jira/browse/BEAM-1190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16111508#comment-16111508 ] 

Eugene Kirpichov commented on BEAM-1190:
----------------------------------------

GCS object listing is strongly consistent now. However the issue still applies for other filesystems like S3.

> FileBasedSource should ignore files that matched the glob but don't exist
> -------------------------------------------------------------------------
>
>                 Key: BEAM-1190
>                 URL: https://issues.apache.org/jira/browse/BEAM-1190
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Eugene Kirpichov
>            Assignee: Eugene Kirpichov
>
> See user issue:
> http://stackoverflow.com/questions/41251741/coping-with-eventual-consistency-of-gcs-bucket-listing
> We should, after globbing the files in FileBasedSource, individually stat every file and remove those that don't exist, to account for the possibility that glob yielded non-existing files due to eventual consistency.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)