Github user jerryshao commented on a diff in the pull request:

    https://github.com/apache/spark/pull/5680#discussion_r29427075
  
    --- Diff: 
streaming/src/main/scala/org/apache/spark/streaming/ui/StreamingJobProgressListener.scala
 ---
    @@ -101,6 +101,7 @@ private[streaming] class 
StreamingJobProgressListener(ssc: StreamingContext)
         runningBatchUIData(batchStarted.batchInfo.batchTime) = 
BatchUIData(batchStarted.batchInfo)
         waitingBatchUIData.remove(batchStarted.batchInfo.batchTime)
     
    +    // TODO. this should be fixed when input stream is not receiver based 
stream.
    --- End diff --
    
    All these TODOs means that: now `BatchInfo#streamIdtoNumRecords` will track 
both the input stream's received data (for receiver-based stream) and 
to-be-processed data number (for receiver-less stream). So the semantics in 
`StreamingJobProgressListener` is slightly different.
    
    Take `totalReceivedRecords` as an example: should we add the receiver-less 
input stream's number of to-be-processed record into here, since it is not 
actually received yet. So we have to figure out this semantics difference.


---
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]

Reply via email to