You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Jozef Vilcek (JIRA)" <ji...@apache.org> on 2018/07/26 09:56:00 UTC

[jira] [Created] (BEAM-5028) getPerDestinationOutputFilenames() is getting processed before write is finished

Jozef Vilcek created BEAM-5028:
----------------------------------

             Summary: getPerDestinationOutputFilenames() is getting processed before write is finished
                 Key: BEAM-5028
                 URL: https://issues.apache.org/jira/browse/BEAM-5028
             Project: Beam
          Issue Type: Bug
          Components: io-java-files
    Affects Versions: 2.5.0
            Reporter: Jozef Vilcek
            Assignee: Eugene Kirpichov


I believe I am hitting a race condition on finalising writes vs notification events about frites being done.

It looks to me that WriteFilesResult.getPerDestinationOutputFilenames() can announce files before they are finished:

[https://github.com/apache/beam/blob/release-2.5.0/sdks/java/core/src/main/java/org/apache/beam/sdk/io/WriteFiles.java#L799]

This is related to BEAM-3268 where it appears to not be fully fixed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)