Skip to content

Commit 39e4fa3

Browse files
committed
SPARK-7504 [YARN] NullPointerException when initializing SparkContext in YARN-cluster mode
Removed unnecessary line.
1 parent 9f287c5 commit 39e4fa3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

yarn/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,6 @@ private[spark] class ApplicationMaster(
453453
private def startUserApplication(): Thread = {
454454
logInfo("Starting the user application in a separate Thread")
455455
System.setProperty("spark.executor.instances", args.numExecutors.toString)
456-
// System.setProperty("spark.yarn.am.thread", "yarn-cluster")
457456

458457
val classpath = Client.getUserClasspath(sparkConf)
459458
val urls = classpath.map { entry =>

0 commit comments

Comments
 (0)