You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Ismaël Mejía (JIRA)" <ji...@apache.org> on 2018/04/27 13:25:00 UTC

[jira] [Resolved] (BEAM-3424) CassandraIO uses 1 split if can't estimate size

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

Ismaël Mejía resolved BEAM-3424.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 2.5.0

> CassandraIO uses 1 split if can't estimate size
> -----------------------------------------------
>
>                 Key: BEAM-3424
>                 URL: https://issues.apache.org/jira/browse/BEAM-3424
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-cassandra
>            Reporter: Eugene Kirpichov
>            Assignee: Alexander Dejanovski
>            Priority: Major
>             Fix For: 2.5.0
>
>
> See https://stackoverflow.com/questions/48090668/how-to-increase-dataflow-read-parallelism-from-cassandra?noredirect=1#comment83227824_48090668 . When CassandraIO can't estimate size, it falls back to a single split:
> https://github.com/apache/beam/blob/master/sdks/java/io/cassandra/src/main/java/org/apache/beam/sdk/io/cassandra/CassandraServiceImpl.java#L196
> A single split is very poor for performance. We should fall back to a different value. Not sure what a good value would be; probably the largest value that still doesn't introduce too much per-split overhead? E.g. would there be any downside to just changing that number to 100?
> Alternatively/additionally, like in DatastoreIO, CassandraIO could accept requested number of splits as a parameter.



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