Skip to content
Snippets Groups Projects
Commit abdbacf2 authored by Patrick Wendell's avatar Patrick Wendell
Browse files

Merge pull request #871 from pwendell/expose-local

Expose `isLocal` in SparkContext.
parents afcade3c 30d24211
No related branches found
No related tags found
No related merge requests found
......@@ -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(
......
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