[SPARK-25861][MINOR][WEBUI] Remove unused refreshInterval parameter from the headerSparkPage method.
## What changes were proposed in this pull request? 'refreshInterval' is not used any where in the headerSparkPage method. So, we don't need to pass the parameter while calling the 'headerSparkPage' method. ## How was this patch tested? Existing tests Closes #22864 from shahidki31/unusedCode. Authored-by: Shahid <shahidki31@gmail.com> Signed-off-by: Sean Owen <sean.owen@databricks.com>
This commit is contained in:
parent
3404a73f4c
commit
ed0c57e10d
|
@ -218,7 +218,6 @@ private[spark] object UIUtils extends Logging {
|
|||
title: String,
|
||||
content: => Seq[Node],
|
||||
activeTab: SparkUITab,
|
||||
refreshInterval: Option[Int] = None,
|
||||
helpText: Option[String] = None,
|
||||
showVisualization: Boolean = false,
|
||||
useDataTables: Boolean = false): Seq[Node] = {
|
||||
|
|
|
@ -146,7 +146,7 @@ private[ui] class AllExecutionsPage(parent: SQLTab) extends WebUIPage("") with L
|
|||
</ul>
|
||||
</div>
|
||||
|
||||
UIUtils.headerSparkPage(request, "SQL", summary ++ content, parent, Some(5000))
|
||||
UIUtils.headerSparkPage(request, "SQL", summary ++ content, parent)
|
||||
}
|
||||
|
||||
private def executionsTable(
|
||||
|
|
|
@ -84,7 +84,7 @@ class ExecutionPage(parent: SQLTab) extends WebUIPage("execution") with Logging
|
|||
}
|
||||
|
||||
UIUtils.headerSparkPage(
|
||||
request, s"Details for Query $executionId", content, parent, Some(5000))
|
||||
request, s"Details for Query $executionId", content, parent)
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ private[ui] class ThriftServerPage(parent: ThriftServerTab) extends WebUIPage(""
|
|||
generateSessionStatsTable(request) ++
|
||||
generateSQLStatsTable(request)
|
||||
}
|
||||
UIUtils.headerSparkPage(request, "JDBC/ODBC Server", content, parent, Some(5000))
|
||||
UIUtils.headerSparkPage(request, "JDBC/ODBC Server", content, parent)
|
||||
}
|
||||
|
||||
/** Generate basic stats of the thrift server program */
|
||||
|
|
|
@ -58,7 +58,7 @@ private[ui] class ThriftServerSessionPage(parent: ThriftServerTab)
|
|||
</h4> ++
|
||||
generateSQLStatsTable(request, sessionStat.sessionId)
|
||||
}
|
||||
UIUtils.headerSparkPage(request, "JDBC/ODBC Session", content, parent, Some(5000))
|
||||
UIUtils.headerSparkPage(request, "JDBC/ODBC Session", content, parent)
|
||||
}
|
||||
|
||||
/** Generate basic stats of the thrift server program */
|
||||
|
|
|
@ -156,7 +156,7 @@ private[ui] class StreamingPage(parent: StreamingTab)
|
|||
generateStatTable() ++
|
||||
generateBatchListTables()
|
||||
}
|
||||
SparkUIUtils.headerSparkPage(request, "Streaming Statistics", content, parent, Some(5000))
|
||||
SparkUIUtils.headerSparkPage(request, "Streaming Statistics", content, parent)
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue