Github user zsxwing commented on a diff in the pull request:
https://github.com/apache/spark/pull/5840#discussion_r29879651
--- Diff:
streaming/src/main/scala/org/apache/spark/streaming/ui/BatchPage.scala ---
@@ -44,25 +45,33 @@ private[ui] class BatchPage(parent: StreamingTab)
extends WebUIPage("batch") {
<th>Error</th>
}
+ private def generateJobRow(
+ outputOpId: OutputOpId,
+ outputOpDescription: Seq[Node],
+ formattedOutputOpDuration: String,
+ numSparkJobRowsInOutputOp: Int,
+ isFirstRow: Boolean,
+ sparkJob: SparkJobIdWithUIData): Seq[Node] = {
+ if (sparkJob.jobUIData.isDefined) {
+ generateNormalJobRow(outputOpId, outputOpDescription,
formattedOutputOpDuration,
+ numSparkJobRowsInOutputOp, isFirstRow, sparkJob.jobUIData.get)
+ } else {
+ generateDroppedJobRow(outputOpId, outputOpDescription,
formattedOutputOpDuration,
+ numSparkJobRowsInOutputOp, isFirstRow, sparkJob.sparkJobId)
+ }
+ }
+
/**
* Generate a row for a Spark Job. Because duplicated output op infos
needs to be collapsed into
* one cell, we use "rowspan" for the first row of a output op.
*/
- def generateJobRow(
+ def generateNormalJobRow(
--- End diff --
Sorry. It should be private.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]