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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to