You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/09/21 16:02:20 UTC
[jira] [Assigned] (SPARK-17623) Failed tasks end reason is always a
TaskFailedReason, types should reflect this
[ https://issues.apache.org/jira/browse/SPARK-17623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-17623:
------------------------------------
Assignee: Apache Spark (was: Imran Rashid)
> Failed tasks end reason is always a TaskFailedReason, types should reflect this
> -------------------------------------------------------------------------------
>
> Key: SPARK-17623
> URL: https://issues.apache.org/jira/browse/SPARK-17623
> Project: Spark
> Issue Type: Improvement
> Components: Scheduler, Spark Core
> Affects Versions: 2.0.0
> Reporter: Imran Rashid
> Assignee: Apache Spark
> Priority: Minor
>
> Minor code cleanup. In TaskResultGetter, enqueueFailedTask currently deserializes the result as a TaskEndReason. But the type is actually more specific, its a TaskFailedReason. This just leads to more blind casting later on -- it would be more clear if the msg was cast to the right type immediately, so method parameter types could be tightened.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org