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 3740418F3F for ; Sat, 16 Jan 2016 08:38:40 +0000 (UTC) Received: (qmail 46845 invoked by uid 500); 16 Jan 2016 08:38:40 -0000 Delivered-To: apmail-spark-issues-archive@spark.apache.org Received: (qmail 46804 invoked by uid 500); 16 Jan 2016 08:38:40 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 46788 invoked by uid 99); 16 Jan 2016 08:38:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jan 2016 08:38:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id EDC142C0453 for ; Sat, 16 Jan 2016 08:38:39 +0000 (UTC) Date: Sat, 16 Jan 2016 08:38:39 +0000 (UTC) From: "Mridul Muralidharan (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SPARK-6166) Add config to limit number of concurrent outbound connections for shuffle fetch 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-6166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15103065#comment-15103065 ] Mridul Muralidharan commented on SPARK-6166: -------------------------------------------- We actually dont care about number of sockets or connections - but number of block requests which is going out. That is what we want to put a limit to - think of it as a corresponding limit to number of active requests as we have for number of outstanding bytes in flight. > Add config to limit number of concurrent outbound connections for shuffle fetch > ------------------------------------------------------------------------------- > > Key: SPARK-6166 > URL: https://issues.apache.org/jira/browse/SPARK-6166 > Project: Spark > Issue Type: Improvement > Components: Spark Core > Affects Versions: 1.4.0 > Reporter: Mridul Muralidharan > Assignee: Shixiong Zhu > Priority: Minor > > spark.reducer.maxMbInFlight puts a bound on the in flight data in terms of size. > But this is not always sufficient : when the number of hosts in the cluster increase, this can lead to very large number of in-bound connections to one more nodes - causing workers to fail under the load. > I propose we also add a spark.reducer.maxReqsInFlight - which puts a bound on number of outstanding outbound connections. > This might still cause hotspots in the cluster, but in our tests this has significantly reduced the occurance of worker failures. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org