Github user tdas commented on a diff in the pull request:
https://github.com/apache/spark/pull/5473#discussion_r29284511
--- Diff:
streaming/src/main/scala/org/apache/spark/streaming/ui/StreamingJobProgressListener.scala
---
@@ -40,6 +47,30 @@ private[streaming] class
StreamingJobProgressListener(ssc: StreamingContext)
private var totalProcessedRecords = 0L
private val receiverInfos = new HashMap[Int, ReceiverInfo]
+ // Because onJobStart and onBatchXXX messages are processed in different
threads,
+ // we may not be able to get the corresponding BatchInfo when receiving
onJobStart. So here we
+ // cannot use a map of (Time, BatchUIData).
+ private[ui] val batchTimeToOutputOpIdSparkJobIdPair =
+ new LinkedHashMap[Time, ArrayBuffer[(OutputOpId, SparkJobId)]] {
--- End diff --
Actually, since there are other changes to be made, its a good idea to do
this as well.
---
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]