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 57B9A18C6E for ; Tue, 22 Dec 2015 17:27:53 +0000 (UTC) Received: (qmail 95234 invoked by uid 500); 22 Dec 2015 17:27:46 -0000 Delivered-To: apmail-spark-issues-archive@spark.apache.org Received: (qmail 95195 invoked by uid 500); 22 Dec 2015 17:27:46 -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 95178 invoked by uid 99); 22 Dec 2015 17:27:46 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Dec 2015 17:27:46 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A84802C0AFA for ; Tue, 22 Dec 2015 17:27:46 +0000 (UTC) Date: Tue, 22 Dec 2015 17:27:46 +0000 (UTC) From: "Kyle Sutton (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (SPARK-12482) CLONE - Spark fileserver not started on same IP as using spark.driver.host MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Kyle Sutton created SPARK-12482: ----------------------------------- Summary: CLONE - Spark fileserver not started on same IP as using spark.driver.host Key: SPARK-12482 URL: https://issues.apache.org/jira/browse/SPARK-12482 Project: Spark Issue Type: Bug Components: Spark Core Affects Versions: 1.2.1 Reporter: Kyle Sutton I initially inquired about this here: http://mail-archives.apache.org/mod_mbox/spark-user/201503.mbox/%3CCALQ9KxCN2mWFND4R4k0Q+qh1ypwn3p8Rgud1v6YRX9_05LVrSA@mail.gmail.com%3E If the Spark driver host has multiple IPs and spark.driver.host is set to one of them, I would expect the fileserver to start on the same IP. I checked HttpServer and the jetty Server is started the default IP of the machine: https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/HttpServer.scala#L75 Something like this might work instead: {code:title=HttpServer.scala#L75} val server = new Server(new InetSocketAddress(conf.get("spark.driver.host"), 0)) {code} -- 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