[
https://issues.apache.org/jira/browse/FLINK-2620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-2620:
----------------------------------
Labels: auto-deprioritized-major auto-deprioritized-minor (was:
auto-deprioritized-major stale-minor)
Priority: Not a Priority (was: Minor)
This issue was labeled "stale-minor" 7 days ago and has not received any
updates so it is being deprioritized. If this ticket is actually Minor, please
raise the priority and ask a committer to assign you the issue or revive the
public discussion.
> StreamPartitioner is not properly initialized for shuffle and rebalance
> -----------------------------------------------------------------------
>
> Key: FLINK-2620
> URL: https://issues.apache.org/jira/browse/FLINK-2620
> Project: Flink
> Issue Type: Bug
> Components: API / DataStream
> Reporter: Matthias J. Sax
> Priority: Not a Priority
> Labels: auto-deprioritized-major, auto-deprioritized-minor
>
> Using rebalance connection pattern, the round-robin distribution starts with
> the same receiver index in all parallel tasks. For high receiver dop and
> (very) small data, it might result in an inbalanced distribution. For
> example, 100 source tasks, each emitting 10 record to 100 consumer tasks.
> Thus, only the first 10 consumer tasks receive data (10 records each) while
> the other 90 do not.
> A possible fix would be, to compute different starting indexes for different
> producer tasks like
> {noformat}
> startIdx = (numReceivers / numSenders) * myIdx
> {noformat}
> For shuffle grouping, the random data generator is initialized with a unique
> seed for all parallel tasks. This should be changed such that each task uses
> a different seed.
> To achieve both, the StreamPartitioner class should be extended with a
> configuration / initialize method which is called on each parallel operator.
> For a full discussion please see the mailing list archive:
> https://mail-archives.apache.org/mod_mbox/flink-dev/201509.mbox/browser
--
This message was sent by Atlassian Jira
(v8.20.1#820001)