Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[SPARK-23384][WEB-UI]When it has no incomplete(completed) application…
…s found, the last updated time is not formatted and client local time zone is not show in history server web ui.
  • Loading branch information
guoxiaolong committed Feb 11, 2018
commit 0575d5eb402edcca0c67a5fa9001fd5e5183e34e
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ private[history] class HistoryPage(parent: HistoryServer) extends WebUIPage("")
val lastUpdatedTime = parent.getLastUpdatedTime()
val providerConfig = parent.getProviderConfig()
val content =
<script src={UIUtils.prependBaseUri("/static/historypage-common.js")}></script>
<script src={UIUtils.prependBaseUri("/static/historypage-common.js")}></script> ++
<script src={UIUtils.prependBaseUri("/static/utils.js")}></script>
<div>
<div class="container-fluid">
<ul class="unstyled">
Expand Down Expand Up @@ -65,7 +66,6 @@ private[history] class HistoryPage(parent: HistoryServer) extends WebUIPage("")
if (allAppsSize > 0) {
<script src={UIUtils.prependBaseUri("/static/dataTables.rowsGroup.js")}></script> ++
<div id="history-summary" class="row-fluid"></div> ++
<script src={UIUtils.prependBaseUri("/static/utils.js")}></script> ++
<script src={UIUtils.prependBaseUri("/static/historypage.js")}></script> ++
<script>setAppLimit({parent.maxApplications})</script>
} else if (requestedIncomplete) {
Expand Down