You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Bowen Li (JIRA)" <ji...@apache.org> on 2018/02/21 08:05:00 UTC

[jira] [Commented] (FLINK-8718) Non-parallel DataStreamSource does not set max parallelism

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

Bowen Li commented on FLINK-8718:
---------------------------------

Hi [~gjy] , I looked at the code. As an extend, what's the difference between the two variables {{DataSteamSource#isParallel}} and {{SingleOutputStreamOperator#nonParallel}} ? I feel like they can actually be consolidated into a single variable, but there's some refactoring needed. For example, {{SingleOutputStreamOperator#setMaxParallelism()}} requires {{Preconditions.checkArgument(canBeParallel() || maxParallelism == 1, xxx)}}, and it won't work if we consolidate the above two variables into one.

> Non-parallel DataStreamSource does not set max parallelism
> ----------------------------------------------------------
>
>                 Key: FLINK-8718
>                 URL: https://issues.apache.org/jira/browse/FLINK-8718
>             Project: Flink
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.5.0
>            Reporter: Gary Yao
>            Priority: Blocker
>             Fix For: 1.5.0
>
>
> {{org.apache.flink.streaming.api.datastream.DataStreamSource}} does not set {{maxParallelism}} to 1 if it is non-parallel.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)