Github user mxm commented on a diff in the pull request:

    https://github.com/apache/flink/pull/410#discussion_r24804242
  
    --- Diff: 
flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/JobManager.java 
---
    @@ -374,6 +375,8 @@ public JobSubmissionResult submitJob(JobGraph job) 
throws IOException {
                                LOG.debug(String.format("Running master 
initialization of job %s (%s)", job.getJobID(), job.getName()));
                        }
     
    +                   final int numSlots = scheduler.getTotalNumberOfSlots();
    --- End diff --
    
    Shouldn't this be set to `getNumberOfAvailableSlots()` for the 
PARALLELISM_AUTO_MAX case?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to