зеркало из https://github.com/microsoft/spark.git
Fixed a bug where isLocal was set to false when using local[K]
This commit is contained in:
Родитель
4a138403ef
Коммит
2a8bfbca00
|
@ -69,7 +69,7 @@ class SparkContext(
|
|||
System.setProperty("spark.master.port", "0")
|
||||
}
|
||||
|
||||
private val isLocal = (master == "local" || master.startsWith("local\\["))
|
||||
private val isLocal = (master == "local" || master.startsWith("local["))
|
||||
|
||||
// Create the Spark execution environment (cache, map output tracker, etc)
|
||||
val env = SparkEnv.createFromSystemProperties(
|
||||
|
|
Загрузка…
Ссылка в новой задаче