You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2014/08/14 08:17:13 UTC

[jira] [Created] (SPARK-3027) Tighten the visibility of fields in TaskContext and provide Java friendly callback API

Reynold Xin created SPARK-3027:
----------------------------------

             Summary: Tighten the visibility of fields in TaskContext and provide Java friendly callback API
                 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