[
https://issues.apache.org/jira/browse/SPARK-3446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14127919#comment-14127919
]
Apache Spark commented on SPARK-3446:
-------------------------------------
User 'vanzin' has created a pull request for this issue:
https://github.com/apache/spark/pull/2337
> FutureAction should expose the job ID
> -------------------------------------
>
> Key: SPARK-3446
> URL: https://issues.apache.org/jira/browse/SPARK-3446
> Project: Spark
> Issue Type: New Feature
> Components: Spark Core
> Reporter: Marcelo Vanzin
> Assignee: Marcelo Vanzin
>
> This is a follow up to SPARK-2636.
> The patch for that bug added a {{jobId}} method to {{SimpleFutureAction}}.
> The problem is that {{SimpleFutureAction}} is not exposed through any
> existing API; all the {{AsyncRDDActions}} methods return just
> {{FutureAction}}. So clients have to restore to casting / isInstanceOf to be
> able to use that.
> Exposing the {{jobId}} through {{FutureAction}} has extra complications,
> though, because {{ComplexFutureAction}} also extends that class.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]