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

ASF GitHub Bot commented on FLINK-8718:
---------------------------------------

GitHub user GJL opened a pull request:

    https://github.com/apache/flink/pull/5545

    [FLINK-8718][DataStream] Set maxParallelism on non-parallel DataStreamSource

    ## What is the purpose of the change
    
    *Set maxParallelism to 1 on 
`org.apache.flink.streaming.api.datastream.DataStreamSource` if the operator is 
non-parallel.*
    
    cc: @tillrohrmann @bowenli86 @aljoscha 
    
    ## Brief change log
    
      - *Call `forceNonParallel()` if source operator is non-parallel.*
      - *Unit test `DataStreamSource`.*
      
    ## Verifying this change
    
    This change added tests and can be verified as follows:
    
      - *Added unit tests for `DataStreamSource`*
    
    ## Does this pull request potentially affect one of the following parts:
    
      - Dependencies (does it add or upgrade a dependency): (yes / **no**)
      - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: (**yes** / no)
      - The serializers: (yes / **no** / don't know)
      - The runtime per-record code paths (performance sensitive): (**yes** / 
no / don't know)
      - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / **no** / don't know)
      - The S3 file system connector: (yes / **no** / don't know)
    
    ## Documentation
    
      - Does this pull request introduce a new feature? (yes / **no**)
      - If yes, how is the feature documented? (**not applicable** / docs / 
JavaDocs / not documented)


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/GJL/flink FLINK-8718

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/5545.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #5545
    
----
commit 3450c455e8e28bc83858f1c611fe8a648cc8cd97
Author: gyao <gary@...>
Date:   2018-02-21T14:26:49Z

    [FLINK-8718][DataStream] Set maxParallelism to 1 on non-parallel 
DataStreamSource

----


> 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: DataStream API, Streaming
>    Affects Versions: 1.5.0
>            Reporter: Gary Yao
>            Assignee: Gary Yao
>            Priority: Major
>             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)

Reply via email to