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 8462C11E19 for ; Thu, 11 Sep 2014 01:36:35 +0000 (UTC) Received: (qmail 30804 invoked by uid 500); 11 Sep 2014 01:36:34 -0000 Delivered-To: apmail-spark-issues-archive@spark.apache.org Received: (qmail 30771 invoked by uid 500); 11 Sep 2014 01:36:34 -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 30761 invoked by uid 99); 11 Sep 2014 01:36:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Sep 2014 01:36:34 +0000 Date: Thu, 11 Sep 2014 01:36:33 +0000 (UTC) From: "Chunjun Xiao (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SPARK-3474) The env variable SPARK_MASTER_IP does not work 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-3474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chunjun Xiao updated SPARK-3474: -------------------------------- Summary: The env variable SPARK_MASTER_IP does not work (was: Rename the env variable SPARK_MASTER_IP to SPARK_MASTER_HOST) > The env variable SPARK_MASTER_IP does not work > ---------------------------------------------- > > Key: SPARK-3474 > URL: https://issues.apache.org/jira/browse/SPARK-3474 > Project: Spark > Issue Type: Bug > Components: Deploy > Affects Versions: 1.0.1 > Reporter: Chunjun Xiao > > There's some inconsistency regarding the env variable used to specify the spark master host server. > In spark source code (MasterArguments.scala), the env variable is "SPARK_MASTER_HOST", while in the shell script (e.g., spark-env.sh, start-master.sh), it's named "SPARK_MASTER_IP". > This will introduce an issue in some case, e.g., if spark master is started via "service spark-master start", which is built based on latest bigtop (refer to bigtop/spark-master.svc). > In this case, "SPARK_MASTER_IP" will have no effect. > I suggest we change SPARK_MASTER_IP in the shell script to SPARK_MASTER_HOST. -- 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