Return-Path: X-Original-To: apmail-spark-issues-archive@minotaur.apache.org Delivered-To: apmail-spark-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A9FA211D8B for ; Sun, 27 Jul 2014 19:29:39 +0000 (UTC) Received: (qmail 26593 invoked by uid 500); 27 Jul 2014 19:29:39 -0000 Delivered-To: apmail-spark-issues-archive@spark.apache.org Received: (qmail 26554 invoked by uid 500); 27 Jul 2014 19:29:38 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@spark.apache.org Delivered-To: mailing list issues@spark.apache.org Received: (qmail 26544 invoked by uid 99); 27 Jul 2014 19:29:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2014 19:29:38 +0000 Date: Sun, 27 Jul 2014 19:29:38 +0000 (UTC) From: "Patrick Wendell (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SPARK-2648) Randomize order of executors when fetching shuffle blocks MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SPARK-2648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14075719#comment-14075719 ] Patrick Wendell commented on SPARK-2648: ---------------------------------------- I was looking more at the current code. From what I can tell we already randomize the order when we are making fetch requests: https://github.com/apache/spark/blob/9564f8548917f563930d5e87911a304bf206d26e/core/src/main/scala/org/apache/spark/storage/BlockFetcherIterator.scala#L220 > Randomize order of executors when fetching shuffle blocks > --------------------------------------------------------- > > Key: SPARK-2648 > URL: https://issues.apache.org/jira/browse/SPARK-2648 > Project: Spark > Issue Type: Improvement > Reporter: Lianhui Wang > Assignee: Lianhui Wang > Priority: Critical > > like mapreduce we need to shuffle blocksByAddress.it can avoid many reducers to connect a executor at a time.when a map has many paritions, at a time there has so much reduces connecting to this map.so it maybe make network's connect to timeout. > i created PR for this issue:https://github.com/apache/spark/pull/1549 -- This message was sent by Atlassian JIRA (v6.2#6252)