Skip to content

Commit

Permalink
History Server: updated order for multiple attempts(descending start …
Browse files Browse the repository at this point in the history
…time works everytime)
  • Loading branch information
rekhajoshm committed Jul 13, 2015
1 parent 548c753 commit 716e0b1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,8 @@ private[history] class FsHistoryProvider(conf: SparkConf, clock: Clock)

/**
* Comparison function that defines the sort order for application attempts within the same
* application. Order is: later attempts before earlier attempts.
* The most recent attempt state matches with current state of the app.
* application. Order is: attempts are sorted by descending start time.
* Most recent attempt state matches with current state of the app.
*
* Normally applications should have a single running attempt; but failure to call sc.stop()
* may cause multiple running attempts to show up.
Expand Down

0 comments on commit 716e0b1

Please sign in to comment.