[ 
https://issues.apache.org/jira/browse/FLINK-16664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Till Rohrmann resolved FLINK-16664.
-----------------------------------
    Resolution: Fixed

Fixed via

1.11.0: a56738fdaf4ebf89784a31fe1317fd4cd97d4de2
1.10.1: 68abb11c23527c4053ee2a50d1d4621fa8ecdccc

> Unable to set DataStreamSource parallelism to default (-1)
> ----------------------------------------------------------
>
>                 Key: FLINK-16664
>                 URL: https://issues.apache.org/jira/browse/FLINK-16664
>             Project: Flink
>          Issue Type: Bug
>          Components: API / DataStream
>    Affects Versions: 1.10.0
>            Reporter: Nico Kruber
>            Assignee: Nico Kruber
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.10.1, 1.11.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> A hotfix part of FLINK-14405 actually breaks setting the parallelism to its 
> default value for datastream sources, i.e. using value {{-1}}. This is 
> because of a small typo: instead of
> {code:java}
> OperatorValidationUtils.validateParallelism(parallelism, isParallel);  {code}
> this is called in 
> org.apache.flink.streaming.api.datastream.DataStreamSource#setParallelism:
> {code:java}
> OperatorValidationUtils.validateMaxParallelism(parallelism, isParallel); 
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to