[
https://issues.apache.org/jira/browse/SPARK-3027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Reynold Xin resolved SPARK-3027.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.1.0
> 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
> Fix For: 1.1.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]