diff --git a/core/src/main/scala/org/apache/spark/ui/jobs/AllJobsPage.scala b/core/src/main/scala/org/apache/spark/ui/jobs/AllJobsPage.scala index f4fe468bd9399..0b51fe90417aa 100644 --- a/core/src/main/scala/org/apache/spark/ui/jobs/AllJobsPage.scala +++ b/core/src/main/scala/org/apache/spark/ui/jobs/AllJobsPage.scala @@ -277,7 +277,8 @@ private[ui] class AllJobsPage(parent: JobsTab, store: AppStatusStore) extends We def render(request: HttpServletRequest): Seq[Node] = { val appInfo = store.applicationInfo() - val startTime = appInfo.attempts.head.startTime.getTime() + val startDate = appInfo.attempts.head.startTime + val startTime = startDate.getTime() val endTime = appInfo.attempts.head.endTime.getTime() val activeJobs = new ListBuffer[v1.JobData]() @@ -327,6 +328,10 @@ private[ui] class AllJobsPage(parent: JobsTab, store: AppStatusStore) extends We User: {parent.getSparkUser} +