aboutsummaryrefslogtreecommitdiff
path: root/repl
diff options
context:
space:
mode:
authorCodingCat <zhunansjtu@gmail.com>2014-02-17 15:12:52 -0800
committerAaron Davidson <aaron@databricks.com>2014-02-17 15:12:52 -0800
commite0d49ad229e2047bd6dda8e66341aff8f2a122a2 (patch)
tree05676becba178b4d1bf88fca817dae8295e61cbd /repl
parent767e3ae1efdf0d821ff05e0cda38159e778493c9 (diff)
downloadspark-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')
-rw-r--r--repl/src/main/scala/org/apache/spark/repl/SparkILoop.scala2
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
}