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/05 00:31:14 UTC

[jira] [Commented] (SPARK-2774) Set preferred locations for reduce tasks

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

Reynold Xin commented on SPARK-2774:
------------------------------------

I assigned to ticket to [~shivaram] and scoped this for 1.2 release. 

> Set preferred locations for reduce tasks
> ----------------------------------------
>
>                 Key: SPARK-2774
>                 URL: https://issues.apache.org/jira/browse/SPARK-2774
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>            Reporter: Shivaram Venkataraman
>            Assignee: Shivaram Venkataraman
>
> Currently we do not set preferred locations for reduce tasks in Spark. This patch proposes setting preferred locations based on the map output sizes and locations tracked by the MapOutputTracker. This is useful in two conditions
> 1. When you have a small job in a large cluster it can be useful to co-locate map and reduce tasks to avoid going over the network
> 2. If there is a lot of data skew in the map stage outputs, then it is beneficial to place the reducer close to the largest output.



--
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