[ 
https://issues.apache.org/jira/browse/FLINK-6209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15946043#comment-15946043
 ] 

Haohui Mai commented on FLINK-6209:
-----------------------------------

We found that FLINK-5808 removes this snippet of code that causes the bug:

{noformat}
int parallelism = env.getParallelism();
if (parallelism > 0) {
    setParallelism(parallelism);
}
{noformat}

[~aljoscha] do you have an idea on why this snippet is removed? Thanks.


> StreamPlanEnvironment always has a parallelism of 1
> ---------------------------------------------------
>
>                 Key: FLINK-6209
>                 URL: https://issues.apache.org/jira/browse/FLINK-6209
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Haohui Mai
>            Assignee: Haohui Mai
>
> Thanks [~bill.liu8904] for triaging the issue.
> After FLINK-5808 we saw that the Flink jobs that are uploaded through the UI 
> always have a parallelism of 1, even the parallelism is explicitly set via in 
> the UI.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to