GitHub user zentol opened a pull request:

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

    [FLINK-7808] [REST] JobDetails constructor checks size of tasksPerSta…

    …te argument
    ## What is the purpose of the change
    
    This PR modifies the JobDetails constructor to verify that the 
`tasksPerState` array size is equal to `ExecutionState.values().length`. The 
array contains the number of tasks in each execution state, and it thus 
required that the sizes match.


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

    $ git pull https://github.com/zentol/flink 7808

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

    https://github.com/apache/flink/pull/4800.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 #4800
    
----
commit b61f951cd6d72631f50607a6fa10a314a13bb3fb
Author: zentol <ches...@apache.org>
Date:   2017-10-11T11:47:38Z

    [FLINK-7808] [REST] JobDetails constructor checks size of tasksPerState 
argument

----


---

Reply via email to