You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Udit Mehrotra (Jira)" <ji...@apache.org> on 2021/08/12 22:53:00 UTC

[jira] [Resolved] (HUDI-2164) Build cluster plan and execute this plan at once for HoodieClusteringJob

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

Udit Mehrotra resolved HUDI-2164.
---------------------------------
    Fix Version/s: 0.9.0
       Resolution: Fixed

> Build cluster plan and execute this plan at once for HoodieClusteringJob
> ------------------------------------------------------------------------
>
>                 Key: HUDI-2164
>                 URL: https://issues.apache.org/jira/browse/HUDI-2164
>             Project: Apache Hudi
>          Issue Type: Task
>            Reporter: Yue Zhang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.9.0
>
>
> For now, Hudi can let users submit a HoodieClusteringJob to build a clustering plan or execute a clustering plan through --schedule or --instant-time config.
> If users want to trigger a clustering job, he has to 
>  # Submit a HoodieClusteringJob to build a clustering job through --schedule config
>  # Copy the created clustering Instant time form Log info.
>  # Submit the HoodieClusteringJob again to execute this created clustering plan through --instant-time config.
> The pain point is that there are too many steps when trigger a clustering and need to copy and paste the instant time from log file manually so that we can't make it automatically.
>  
> I just raise a PR to offer a new config named --mode or -m in short 
> ||--mode||remarks||
> |execute|Execute a cluster plan at given instant which means --instant-time is needed here. default value. |
> |schedule|Make a clustering plan.|
> |*scheduleAndExecute*|Make a cluster plan first and execute that plan immediately|
> Now users can use --mode scheduleAndExecute to Build cluster plan and execute this plan at once using HoodieClusteringJob.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)