You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Sachin Agarwal (Jira)" <ji...@apache.org> on 2021/10/07 19:33:00 UTC

[jira] [Updated] (BEAM-12685) Allow managed thread count in AvroIO

     [ https://issues.apache.org/jira/browse/BEAM-12685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sachin Agarwal updated BEAM-12685:
----------------------------------
    Status: Open  (was: Triage Needed)

> Allow managed thread count in AvroIO
> ------------------------------------
>
>                 Key: BEAM-12685
>                 URL: https://issues.apache.org/jira/browse/BEAM-12685
>             Project: Beam
>          Issue Type: Improvement
>          Components: io-java-avro, io-java-files
>            Reporter: Dylan Hercher
>            Priority: P2
>              Labels: stale-P2
>   Original Estimate: 2h
>          Time Spent: 3.5h
>  Remaining Estimate: 0h
>
> During execution, the `ReadAllViaFileBasedSource` runs ReShuffle and creates an un-grouped set of file range readers.  This can easily cause OOM issues when the number of groups changes as there is no limit to the number of concurrent file reads.
>  
> Using Reshuffle.viaRandomKeys.withNumBuckets instead will allow the same default behavior, but lets the user configure the number of readers as and when needed.



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