You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Thomas Graves (JIRA)" <ji...@apache.org> on 2018/06/21 14:23:00 UTC

[jira] [Commented] (SPARK-24611) Clean up OutputCommitCoordinator

    [ https://issues.apache.org/jira/browse/SPARK-24611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16519420#comment-16519420 ] 

Thomas Graves commented on SPARK-24611:
---------------------------------------

[~joshrosen]  just noticed you were the last one to modify the dagscheduler for output commit coordinator

[https://github.com/apache/spark/commit/d0b56339625727744e2c30fc2167bc6a457d37f7]

where it split ShuffleMapStage from ResultStage handling.

Do you know of any case the ShuffleMapStage actually call into canCommit?

> Clean up OutputCommitCoordinator
> --------------------------------
>
>                 Key: SPARK-24611
>                 URL: https://issues.apache.org/jira/browse/SPARK-24611
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 2.4.0
>            Reporter: Marcelo Vanzin
>            Priority: Major
>
> This is a follow up to SPARK-24589, to address some issues brought up during review of the change:
> - the DAGScheduler registers all stages with the coordinator, when at first view only result stages need to. That would save memory in the driver.
> - the coordinator can track task IDs instead of the internal "TaskIdentifier" type it uses; that would also save some memory, and also be more accurate.
> - {{TaskCommitDenied}} currently has a "job ID" when it's really a stage ID, and it contains the task attempt number, when it should probably have the task ID instead (like above).
> The latter is an API breakage (in a class tagged as developer API, but still), and also affects data written to event logs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org