Format cleanup.
This commit is contained in:
parent
f6f46455eb
commit
7bdafa918a
|
@ -832,7 +832,9 @@ class SparkILoop(in0: Option[BufferedReader], val out: PrintWriter, val master:
|
||||||
|
|
||||||
def createSparkContext(): SparkContext = {
|
def createSparkContext(): SparkContext = {
|
||||||
val uri = System.getenv("SPARK_EXECUTOR_URI")
|
val uri = System.getenv("SPARK_EXECUTOR_URI")
|
||||||
if (uri != null) System.setProperty("spark.executor.uri", uri)
|
if (uri != null) {
|
||||||
|
System.setProperty("spark.executor.uri", uri)
|
||||||
|
}
|
||||||
val master = this.master match {
|
val master = this.master match {
|
||||||
case Some(m) => m
|
case Some(m) => m
|
||||||
case None => {
|
case None => {
|
||||||
|
|
Loading…
Reference in a new issue