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

    https://github.com/apache/spark/pull/12357#discussion_r59699994
  
    --- Diff: 
streaming/src/main/scala/org/apache/spark/streaming/scheduler/JobGenerator.scala
 ---
    @@ -241,6 +242,7 @@ class JobGenerator(jobScheduler: JobScheduler) extends 
Logging {
     
       /** Generate jobs and perform checkpoint for the given `time`.  */
       private def generateJobs(time: Time) {
    +    
listenerBus.post(StreamingListenerBatchGenerateStarted(clock.getTimeMillis()))
    --- End diff --
    
    The StreamingListenerBatchGenerateStarted and 
StreamingListenerBatchGenerateCompleted should report the batchTime information 
as well. If not the end-user will not be able to correlate this processingTime 
to the relevant batch.


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