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 2014/08/14 08:23:14 UTC
[jira] [Commented] (SPARK-3027) Tighten visibility and provide Java
friendly callback API in TaskContext
[ https://issues.apache.org/jira/browse/SPARK-3027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14096632#comment-14096632 ]
Apache Spark commented on SPARK-3027:
-------------------------------------
User 'rxin' has created a pull request for this issue:
https://github.com/apache/spark/pull/1938
> Tighten visibility and provide Java friendly callback API in TaskContext
> ------------------------------------------------------------------------
>
> Key: SPARK-3027
> URL: https://issues.apache.org/jira/browse/SPARK-3027
> Project: Spark
> Issue Type: Improvement
> Components: Spark Core
> Reporter: Reynold Xin
> Assignee: Reynold Xin
>
> TaskContext suffers from two problems:
> 1. The callback API accepts a Scala closure and is not Java friendly.
> 2. interrupted, completed are public vars, which means users can randomly change the control flow of tasks.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org