Skip to content

Commit

Permalink
SPARK-7504 [YARN] NullPointerException when initializing SparkContext…
Browse files Browse the repository at this point in the history
… in YARN-cluster mode

Removed unnecessary line.
  • Loading branch information
zzvara committed May 12, 2015
1 parent 9f287c5 commit 39e4fa3
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,6 @@ private[spark] class ApplicationMaster(
private def startUserApplication(): Thread = {
logInfo("Starting the user application in a separate Thread")
System.setProperty("spark.executor.instances", args.numExecutors.toString)
// System.setProperty("spark.yarn.am.thread", "yarn-cluster")

val classpath = Client.getUserClasspath(sparkConf)
val urls = classpath.map { entry =>
Expand Down

0 comments on commit 39e4fa3

Please sign in to comment.