You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/09/16 17:25:00 UTC

[jira] [Work logged] (BEAM-12818) When writing to GCS, spread prefix of temporary files and reuse autoscaling of the temporary directory

     [ https://issues.apache.org/jira/browse/BEAM-12818?focusedWorklogId=651899&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-651899 ]

ASF GitHub Bot logged work on BEAM-12818:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 16/Sep/21 17:24
            Start Date: 16/Sep/21 17:24
    Worklog Time Spent: 10m 
      Work Description: aaltay commented on pull request #15416:
URL: https://github.com/apache/beam/pull/15416#issuecomment-921090173


   @chamikaramj @reuvenlax - Could you please review this?


-- 
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: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 651899)
    Time Spent: 40m  (was: 0.5h)

> When writing to GCS, spread prefix of temporary files and reuse autoscaling of the temporary directory
> ------------------------------------------------------------------------------------------------------
>
>                 Key: BEAM-12818
>                 URL: https://issues.apache.org/jira/browse/BEAM-12818
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-gcp
>            Reporter: Sam Whittle
>            Assignee: Sam Whittle
>            Priority: P2
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> When writing files using FileIO, the given temporary directory has a subdirectory created in it for each FileBasedSink.  This is useful for non-windowed output where the temporary directory can be matched to delete leftover files that were lost during processing.
> However for windowed writes such subdirectories are unnecessary and cause a common prefix to be shared for the temporary files. Additionally this common prefix varies per job and thus the autoscaling for the previous prefix is no longer effective, see
> https://cloud.google.com/storage/docs/request-rate#randomness_after_sequential_prefixes_is_not_as_effective



--
This message was sent by Atlassian Jira
(v8.3.4#803005)