Skip to content
Snippets Groups Projects
Commit 7ee824e4 authored by Patrick Wendell's avatar Patrick Wendell
Browse files

Units from ms -> s

parent 501433f1
No related branches found
No related tags found
No related merge requests found
......@@ -413,10 +413,10 @@ class DAGScheduler(taskSched: TaskScheduler) extends TaskSchedulerListener with
def markStageAsFinished(stage: Stage) = {
val serviceTime = stage.submissionTime match {
case Some(t) => (System.currentTimeMillis() - t).toString
case Some(t) => "%.03f".format((System.currentTimeMillis() - t) / 1000.0)
case _ => "Unkown"
}
logInfo("%s (%s) finished in %s ms".format(stage, stage.origin, serviceTime))
logInfo("%s (%s) finished in %s s".format(stage, stage.origin, serviceTime))
running -= stage
}
event.reason match {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment