Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-5028

getPerDestinationOutputFilenames() is getting processed before write is finished

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • 2.5.0
    • 2.7.0
    • io-java-files
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              JozoVilcek Jozef Vilcek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m