Skip to content
Snippets Groups Projects
Commit 4223be3a authored by Matei Zaharia's avatar Matei Zaharia
Browse files

Merge pull request #503 from pwendell/bug-fix

createNewSparkContext should use sparkHome/jars/environment.
parents 5d7b591c 284ba909
No related branches found
No related tags found
No related merge requests found
......@@ -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 = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment