Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-16664

Unable to set DataStreamSource parallelism to default (-1)

    XMLWordPrintableJSON

Details

    Description

      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

      OperatorValidationUtils.validateParallelism(parallelism, isParallel);  

      this is called in org.apache.flink.streaming.api.datastream.DataStreamSource#setParallelism:

      OperatorValidationUtils.validateMaxParallelism(parallelism, isParallel); 

      Attachments

        Issue Links

          Activity

            People

              nkruber Nico Kruber
              nkruber Nico Kruber
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m