You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Fan Hong (Jira)" <ji...@apache.org> on 2023/03/27 07:26:00 UTC

[jira] [Updated] (FLINK-31623) Improvements on DataStreamUtils#sample

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

Fan Hong updated FLINK-31623:
-----------------------------
    Issue Type: Bug  (was: Improvement)

> Improvements on DataStreamUtils#sample
> --------------------------------------
>
>                 Key: FLINK-31623
>                 URL: https://issues.apache.org/jira/browse/FLINK-31623
>             Project: Flink
>          Issue Type: Bug
>          Components: Library / Machine Learning
>            Reporter: Fan Hong
>            Priority: Major
>
> Current implementation employs two-level sampling method, which could encounter two issues:
>  # 
> One subtask has a memory footprint twice as large as the other subtasks, which could cause unexpected OOM in some situations.
>  
>  # When data instances are imbalanced distributed among partitions (subtasks), the probabilities of instances to be sampled are different in different partitions (subtasks).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)