diff options
author | CodingCat <zhunansjtu@gmail.com> | 2014-02-17 15:12:52 -0800 |
---|---|---|
committer | Aaron Davidson <aaron@databricks.com> | 2014-02-17 15:12:52 -0800 |
commit | e0d49ad229e2047bd6dda8e66341aff8f2a122a2 (patch) | |
tree | 05676becba178b4d1bf88fca817dae8295e61cbd /repl/src/main/scala | |
parent | 767e3ae1efdf0d821ff05e0cda38159e778493c9 (diff) | |
download | spark-e0d49ad229e2047bd6dda8e66341aff8f2a122a2.tar.gz spark-e0d49ad229e2047bd6dda8e66341aff8f2a122a2.tar.bz2 spark-e0d49ad229e2047bd6dda8e66341aff8f2a122a2.zip |
[SPARK-1090] improvement on spark_shell (help information, configure memory)
https://spark-project.atlassian.net/browse/SPARK-1090
spark-shell should print help information about parameters and should allow user to configure exe memory
there is no document about hot to set --cores/-c in spark-shell
and also
users should be able to set executor memory through command line options
In this PR I also check the format of the options passed by the user
Author: CodingCat <zhunansjtu@gmail.com>
Closes #599 from CodingCat/spark_shell_improve and squashes the following commits:
de5aa38 [CodingCat] add parameter to set driver memory
915cbf8 [CodingCat] improvement on spark_shell (help information, configure memory)
Diffstat (limited to 'repl/src/main/scala')
-rw-r--r-- | repl/src/main/scala/org/apache/spark/repl/SparkILoop.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/repl/src/main/scala/org/apache/spark/repl/SparkILoop.scala b/repl/src/main/scala/org/apache/spark/repl/SparkILoop.scala index bc25b50a4e..013cea07d4 100644 --- a/repl/src/main/scala/org/apache/spark/repl/SparkILoop.scala +++ b/repl/src/main/scala/org/apache/spark/repl/SparkILoop.scala @@ -954,7 +954,7 @@ class SparkILoop(in0: Option[BufferedReader], protected val out: JPrintWriter, conf.setSparkHome(System.getenv("SPARK_HOME")) } sparkContext = new SparkContext(conf) - echo("Created spark context..") + logInfo("Created spark context..") sparkContext } |