diff options
author | Matei Zaharia <matei@eecs.berkeley.edu> | 2013-02-25 19:43:05 -0800 |
---|---|---|
committer | Matei Zaharia <matei@eecs.berkeley.edu> | 2013-02-25 19:43:05 -0800 |
commit | 4223be3aa475fe938daeec161ca8fbd00fd9c5fa (patch) | |
tree | 074d5d188664f4b459eb77fdcd42520fbe82bc07 /streaming/src/main | |
parent | 5d7b591cfe14177f083814fe3e81745c5d279810 (diff) | |
parent | 284ba90958df2d6efc08e3f8381bb9ef09f8b322 (diff) | |
download | spark-4223be3aa475fe938daeec161ca8fbd00fd9c5fa.tar.gz spark-4223be3aa475fe938daeec161ca8fbd00fd9c5fa.tar.bz2 spark-4223be3aa475fe938daeec161ca8fbd00fd9c5fa.zip |
Merge pull request #503 from pwendell/bug-fix
createNewSparkContext should use sparkHome/jars/environment.
Diffstat (limited to 'streaming/src/main')
-rw-r--r-- | streaming/src/main/scala/spark/streaming/StreamingContext.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/streaming/src/main/scala/spark/streaming/StreamingContext.scala b/streaming/src/main/scala/spark/streaming/StreamingContext.scala index 31b5d2c8bc..b8b60aab43 100644 --- a/streaming/src/main/scala/spark/streaming/StreamingContext.scala +++ b/streaming/src/main/scala/spark/streaming/StreamingContext.scala @@ -505,7 +505,7 @@ object StreamingContext { if (MetadataCleaner.getDelaySeconds < 0) { MetadataCleaner.setDelaySeconds(3600) } - new SparkContext(master, appName) + new SparkContext(master, appName, sparkHome, jars, environment) } protected[streaming] def rddToFileName[T](prefix: String, suffix: String, time: Time): String = { |