You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2017/10/11 11:42:00 UTC
[jira] [Created] (FLINK-7808) JobDetails constructor should check
length of tasksPerState array
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)