зеркало из https://github.com/microsoft/spark.git
Merge pull request #871 from pwendell/expose-local
Expose `isLocal` in SparkContext.
This commit is contained in:
Коммит
abdbacf252
|
@ -102,7 +102,7 @@ class SparkContext(
|
|||
System.setProperty("spark.driver.port", "0")
|
||||
}
|
||||
|
||||
private val isLocal = (master == "local" || master.startsWith("local["))
|
||||
val isLocal = (master == "local" || master.startsWith("local["))
|
||||
|
||||
// Create the Spark execution environment (cache, map output tracker, etc)
|
||||
private[spark] val env = SparkEnv.createFromSystemProperties(
|
||||
|
|
Загрузка…
Ссылка в новой задаче