You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (JIRA)" <ji...@apache.org> on 2018/03/23 11:44:00 UTC

[jira] [Resolved] (FLINK-8931) TASK_KILLING is not covered by match in TaskMonitor#whenUnhandled

     [ https://issues.apache.org/jira/browse/FLINK-8931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Till Rohrmann resolved FLINK-8931.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.0

Fixed via
master: 6384aa7a3b2a752ebf41475748288ab1489fafa7
1.5.0: 69114a4f9b6dbbda2929b88903dda8a91a0f49fe

> TASK_KILLING is not covered by match in TaskMonitor#whenUnhandled
> -----------------------------------------------------------------
>
>                 Key: FLINK-8931
>                 URL: https://issues.apache.org/jira/browse/FLINK-8931
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: vinoyang
>            Priority: Major
>             Fix For: 1.5.0
>
>
> Noticed the following :
> {code}
> [WARNING] /a/flink-1.3.3/flink-mesos/src/main/scala/org/apache/flink/mesos/scheduler/TaskMonitor.scala:157: warning: match may not be exhaustive.
> [WARNING] It would fail on the following input: TASK_KILLING
> [WARNING]       msg.status().getState match {
> [WARNING]                    ^
> [WARNING] /a/flink-1.3.3/flink-mesos/src/main/scala/org/apache/flink/mesos/scheduler/TaskMonitor.scala:170: warning: match may not be exhaustive.
> [WARNING] It would fail on the following input: TASK_KILLING
> [WARNING]       msg.status().getState match {
> [WARNING]                    ^
> {code}
> It seems that TASK_KILLING should be covered by the last case.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)