Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
  • Loading branch information
iRakson committed Dec 15, 2019
commit 7ec80b920014ac326fd5b23e6699eca040111a2f
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ private[ui] class StreamingBatchPagedTable(
desc: Boolean) extends PagedTable[BatchUIData] {

override val dataSource = new StreamingBatchTableDataSource(batchData, pageSize, sortColumn, desc)

private val parameterPath = s"$basePath/$subPath/?${parameterOtherTable.mkString("&")}"

private val firstFailureReason = getFirstFailureReason(batchData)

override def tableId: String = streamingBatchTag
Expand Down Expand Up @@ -200,7 +198,6 @@ private[ui] class StreamingBatchTableDataSource(
desc: Boolean) extends PagedDataSource[BatchUIData](pageSize) {

private val data = info.sorted(ordering(sortColumn, desc))

private var _slicedStartTime: Set[Long] = null

override def dataSize: Int = data.size
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,6 @@ private[ui] class StreamingPage(parent: StreamingTab)
val parameterStreamingBatchSortColumn = request.getParameter(streamingBatchTag + ".sort")
val parameterStreamingBatchSortDesc = request.getParameter(streamingBatchTag + ".desc")
val parameterStreamingBatchPageSize = request.getParameter(streamingBatchTag + ".pageSize")

val streamingBatchPage = Option(parameterStreamingBatchPage).map(_.toInt).getOrElse(1)
val streamingBatchSortColumn = Option(parameterStreamingBatchSortColumn).map { sortColumn =>
SparkUIUtils.decodeURLParameter(sortColumn)
Expand Down Expand Up @@ -579,7 +578,6 @@ private[ui] class StreamingPage(parent: StreamingTab)
</div>
</div>
}

activeBatchesContent ++ completedBatchesContent
}
}
Expand Down