Skip to content

[SPARK-4110] Wrong comments about default settings in spark-daemon.sh - #2972

Closed
sarutak wants to merge 1 commit into
apache:masterfrom
sarutak:SPARK-4110
Closed

sarutak wants to merge 1 commit into
apache:masterfrom
sarutak:SPARK-4110

Conversation

@sarutak

@sarutak sarutak commented Oct 28, 2014

Copy link
Copy Markdown
Member

In spark-daemon.sh, thare are following comments.

#   SPARK_CONF_DIR  Alternate conf dir. Default is ${SPARK_PREFIX}/conf.
#   SPARK_LOG_DIR   Where log files are stored.  PWD by default.

But, I think the default value for SPARK_CONF_DIR is ${SPARK_HOME}/conf and for SPARK_LOG_DIR is ${SPARK_HOME}/logs.

@SparkQA

SparkQA commented Oct 28, 2014

Copy link
Copy Markdown

Test build #22338 has finished for PR 2972 at commit 5a171a2.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@srowen

srowen commented Oct 28, 2014

Copy link
Copy Markdown
Member

+1 from me. The log directory change is correct, and while SPARK_PREFIX looks like it matches SPARK_HOME, looks more common to use the latter in Spark.

@andrewor14

Copy link
Copy Markdown
Contributor

Ok I'm merging this into master and 1.1 thanks.

asfgit pushed a commit that referenced this pull request Oct 28, 2014
In spark-daemon.sh, thare are following comments.

    #   SPARK_CONF_DIR  Alternate conf dir. Default is ${SPARK_PREFIX}/conf.
    #   SPARK_LOG_DIR   Where log files are stored.  PWD by default.

But, I think the default value for SPARK_CONF_DIR is `${SPARK_HOME}/conf` and for SPARK_LOG_DIR is `${SPARK_HOME}/logs`.

Author: Kousuke Saruta <sarutak@oss.nttdata.co.jp>

Closes #2972 from sarutak/SPARK-4110 and squashes the following commits:

5a171a2 [Kousuke Saruta] Fixed wrong comments

(cherry picked from commit 44d8b45)
Signed-off-by: Andrew Or <andrew@databricks.com>
@asfgit asfgit closed this in 44d8b45 Oct 28, 2014
@sarutak
sarutak deleted the SPARK-4110 branch April 11, 2015 05:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants