flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-7808) JobDetails constructor should check length of tasksPerState array
Date Wed, 11 Oct 2017 13:08:01 GMT

    [ https://issues.apache.org/jira/browse/FLINK-7808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16200243#comment-16200243
] 

ASF GitHub Bot commented on FLINK-7808:
---------------------------------------

Github user zentol commented on the issue:

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


> 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)

Mime
View raw message