Skip to content

Commit

Permalink
Replaced taskScheduler.applicationId() with getApplicationId in Spark…
Browse files Browse the repository at this point in the history
…Context#postApplicationStart
  • Loading branch information
sarutak committed Oct 2, 2014
1 parent ff45c89 commit 389090d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/org/apache/spark/SparkContext.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1303,7 +1303,7 @@ class SparkContext(config: SparkConf) extends Logging {
private def postApplicationStart() {
// Note: this code assumes that the task scheduler has been initialized and has contacted
// the cluster manager to get an application ID (in case the cluster manager provides one).
listenerBus.post(SparkListenerApplicationStart(appName, Some(taskScheduler.applicationId()),
listenerBus.post(SparkListenerApplicationStart(appName, Some(getApplicationId()),
startTime, sparkUser))
}

Expand Down

0 comments on commit 389090d

Please sign in to comment.