beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Halperin (JIRA)" <>
Subject [jira] [Commented] (BEAM-573) should support sharding
Date Mon, 22 Aug 2016 16:45:20 GMT


Daniel Halperin commented on BEAM-573:

I think this is working-as-intended. It is an important part of the model that the runner
decides input sharding. Runners can ask input sources their size, and they *should* set the
{{desiredBundleSizeBytes}} to a reasonable value if they cannot scale.

(I believe that the {{DirectRunner}} does not do this today, but that is also working as intended.
It's not a scalable performance runner but rather a model-checking runner, which is also designed
to not be horribly slow)

> should support sharding
> -------------------------------------
>                 Key: BEAM-573
>                 URL:
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-extensions
>    Affects Versions: 0.1.0-incubating, 0.2.0-incubating
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: Not applicable
> Currently, TextIO supports sharding (or {{withoutSharding()}} option) only in {{Write}}.
> I think it makes sense to also supports sharding on the {{Read}} behaving like:
> read the input in chunks of n MB (to avoid heap OutOfMemory with large files).

This message was sent by Atlassian JIRA

View raw message