You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Sihua Zhou (JIRA)" <ji...@apache.org> on 2018/03/21 13:42:00 UTC
[jira] [Commented] (FLINK-9040) JobVertex#setMaxParallelism does
not validate argument
[ https://issues.apache.org/jira/browse/FLINK-9040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16407920#comment-16407920 ]
Sihua Zhou commented on FLINK-9040:
-----------------------------------
Hi [~Zentol] there's one thing I want to confirm with you, I found for `stream job` the `maximum parallelism` of the JobVertex is passed from {{StreamTransformation}} and the `maximum parallelism` has already been validated. Does this issue aim for `batch job`?
> JobVertex#setMaxParallelism does not validate argument
> ------------------------------------------------------
>
> Key: FLINK-9040
> URL: https://issues.apache.org/jira/browse/FLINK-9040
> Project: Flink
> Issue Type: Bug
> Components: Local Runtime
> Affects Versions: 1.5.0
> Reporter: Chesnay Schepler
> Assignee: Sihua Zhou
> Priority: Minor
>
> {code}
> /**
> * Sets the maximum parallelism for the task.
> *
> * @param maxParallelism The maximum parallelism to be set. must be between 1 and Short.MAX_VALUE.
> */
> public void setMaxParallelism(int maxParallelism) {
> this.maxParallelism = maxParallelism;
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)