Skip to content

Commit 6153a2d

Browse files
Merge pull request almond-sh#140 from alexarchambault/develop
Fix
2 parents 5db7c82 + 99762a5 commit 6153a2d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

spark/core/src/main/scala/jupyter/spark/session/JupyterSparkSession.scala

+1-5
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,8 @@ object JupyterSparkSession {
3131
}
3232

3333
def yarn(conf: String = Spark.defaultYarnConf()): this.type = {
34-
35-
// setting this here, as the hook that set it too in sparkYarn is run too late for SparkSession
36-
config("master", "yarn-client")
37-
34+
master("yarn-client")
3835
sparkYarn(conf)
39-
4036
this
4137
}
4238

0 commit comments

Comments
 (0)