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

Sean Owen commented on SPARK-6286:
----------------------------------

I remember looking at this -- it's a Mesos enum right? I wondered if it were a 
new-ish value, and handling it would somehow make the code incompatible with 
older versions of Mesos, so I didn't want to touch it. But that is not based on 
any real knowledge.

If you know of what to do in this state and confirm that it's not a value 
specific to only some supported Mesos versions, then I'd go for it and add a 
handler.

> Handle TASK_ERROR in TaskState
> ------------------------------
>
>                 Key: SPARK-6286
>                 URL: https://issues.apache.org/jira/browse/SPARK-6286
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>            Reporter: Iulian Dragos
>            Priority: Minor
>              Labels: mesos
>
> Scala warning:
> {code}
> match may not be exhaustive. It would fail on the following input: TASK_ERROR
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to