You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2023/08/08 09:31:00 UTC

[jira] [Updated] (FLINK-25335) HiveSourceFileEnumerator should fetch splits asynchronously

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

Chesnay Schepler updated FLINK-25335:
-------------------------------------
    Summary: HiveSourceFileEnumerator should fetch splits asynchronously  (was: Improvement of task deployment by enable source split asynchronous enumerate)

> HiveSourceFileEnumerator should fetch splits asynchronously
> -----------------------------------------------------------
>
>                 Key: FLINK-25335
>                 URL: https://issues.apache.org/jira/browse/FLINK-25335
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Connectors / Hive, Runtime / Coordination
>    Affects Versions: 1.12.1, 1.14.2
>            Reporter: KevinyhZou
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: image-2021-12-16-11-14-36-030.png
>
>
> When submit olap query by flink client to Flink Session Cluster, the JobMaster will start scheduling and  enumerate the hive source split by `HiveSourceFileEnumerator`, and then deploy the query task and execute it. if the source table has a lot of partition and the partition file is big, the source split enumerate will cost a lot of time, which would block the task deployment & execution for a long time, and the dashboard can not appear
> !image-2021-12-16-11-14-36-030.png!
> it would be better to Asynchronous enumerate the hive split, and meanwhile deploy the query task and execute it. when the deployment is finished, source operator fetch split and read data, and the split enumeration is also going on.



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