Skip to content

Commit ffb8e00

Browse files
committed
rebase to sparkcontext change
1 parent 6e121e0 commit ffb8e00

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/src/main/scala/org/apache/spark/SparkContext.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,6 @@ class SparkContext(config: SparkConf) extends Logging with ExecutorAllocationCli
252252
val extBlkFolderName = "spark-" + randomUUID.toString()
253253
@deprecated("Use extBlkFolderName instead.", "1.4.0")
254254
val tachyonFolderName = extBlkFolderName
255-
conf.set("spark.extBlkStore.folderName", extBlkFolderName)
256255

257256
def isLocal: Boolean = (master == "local" || master.startsWith("local["))
258257

@@ -389,7 +388,7 @@ class SparkContext(config: SparkConf) extends Logging with ExecutorAllocationCli
389388
}
390389
}
391390

392-
_conf.set("spark.tachyonStore.folderName", tachyonFolderName)
391+
_conf.set("spark.extBlkStore.folderName", extBlkFolderName)
393392

394393
if (master == "yarn-client") System.setProperty("SPARK_YARN_MODE", "true")
395394

0 commit comments

Comments
 (0)