Skip to content

Commit b0fc922

Browse files
committed
History Server: updated order for multiple attempts(updated comment)
1 parent cc0fda7 commit b0fc922

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/src/main/scala/org/apache/spark/deploy/history/FsHistoryProvider.scala

+1-2
Original file line numberDiff line numberDiff line change
@@ -414,8 +414,7 @@ private[history] class FsHistoryProvider(conf: SparkConf, clock: Clock)
414414
/**
415415
* Comparison function that defines the sort order for application attempts within the same
416416
* application. Order is: completed attempts before running attempts, running attempts sorted
417-
* by start time showing whichever started first,
418-
* completed attempts sorted by end time showing whichever ended first.
417+
* by ascending start time,completed attempts sorted by ascending end time.
419418
*
420419
* Normally applications should have a single running attempt; but failure to call sc.stop()
421420
* may cause multiple running attempts to show up.

0 commit comments

Comments
 (0)