[jira] [Created] (FLINK-7808) JobDetails constructor should check length of tasksPerState array

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-7808) JobDetails constructor should check length of tasksPerState array

Shang Yuanchun (Jira)
Chesnay Schepler created FLINK-7808:
---------------------------------------

             Summary: JobDetails constructor should check length of tasksPerState array
                 Key: FLINK-7808
                 URL: https://issues.apache.org/jira/browse/FLINK-7808
             Project: Flink
          Issue Type: Bug
          Components: REST
    Affects Versions: 1.4.0
            Reporter: Chesnay Schepler
            Assignee: Chesnay Schepler
            Priority: Minor
             Fix For: 1.4.0


The JobDetails constructor accepts an {{int[] tasksPerState}} argument, which represents the number of tasks in each {{ExecutionState}}. There is no check in place to verify that the array has the correct size, which the json serializer assumes to be the case.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)