[MINOR] Fix the default parallelism of write task (#3649)
This commit is contained in:
@@ -335,19 +335,19 @@ public class FlinkOptions extends HoodieConfig {
|
|||||||
.key("write.index_bootstrap.tasks")
|
.key("write.index_bootstrap.tasks")
|
||||||
.intType()
|
.intType()
|
||||||
.noDefaultValue()
|
.noDefaultValue()
|
||||||
.withDescription("Parallelism of tasks that do index bootstrap, default is the parallelism of the environment");
|
.withDescription("Parallelism of tasks that do index bootstrap, default is the parallelism of the execution environment");
|
||||||
|
|
||||||
public static final ConfigOption<Integer> BUCKET_ASSIGN_TASKS = ConfigOptions
|
public static final ConfigOption<Integer> BUCKET_ASSIGN_TASKS = ConfigOptions
|
||||||
.key("write.bucket_assign.tasks")
|
.key("write.bucket_assign.tasks")
|
||||||
.intType()
|
.intType()
|
||||||
.noDefaultValue()
|
.noDefaultValue()
|
||||||
.withDescription("Parallelism of tasks that do bucket assign, default is the parallelism of the environment");
|
.withDescription("Parallelism of tasks that do bucket assign, default is the parallelism of the execution environment");
|
||||||
|
|
||||||
public static final ConfigOption<Integer> WRITE_TASKS = ConfigOptions
|
public static final ConfigOption<Integer> WRITE_TASKS = ConfigOptions
|
||||||
.key("write.tasks")
|
.key("write.tasks")
|
||||||
.intType()
|
.intType()
|
||||||
.noDefaultValue()
|
.defaultValue(4)
|
||||||
.withDescription("Parallelism of tasks that do actual write, default is the parallelism of the environment");
|
.withDescription("Parallelism of tasks that do actual write, default is 4");
|
||||||
|
|
||||||
public static final ConfigOption<Double> WRITE_TASK_MAX_SIZE = ConfigOptions
|
public static final ConfigOption<Double> WRITE_TASK_MAX_SIZE = ConfigOptions
|
||||||
.key("write.task.max.size")
|
.key("write.task.max.size")
|
||||||
|
|||||||
Reference in New Issue
Block a user