You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shixiong Zhu (JIRA)" <ji...@apache.org> on 2016/08/17 23:33:20 UTC

[jira] [Resolved] (SPARK-17038) StreamingSource reports metrics for lastCompletedBatch instead of lastReceivedBatch

     [ https://issues.apache.org/jira/browse/SPARK-17038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shixiong Zhu resolved SPARK-17038.
----------------------------------
       Resolution: Fixed
         Assignee: Xin Ren
    Fix Version/s: 2.1.0
                   2.0.1
                   1.6.3

> StreamingSource reports metrics for lastCompletedBatch instead of lastReceivedBatch
> -----------------------------------------------------------------------------------
>
>                 Key: SPARK-17038
>                 URL: https://issues.apache.org/jira/browse/SPARK-17038
>             Project: Spark
>          Issue Type: Bug
>          Components: Streaming
>    Affects Versions: 1.6.2, 2.0.0
>            Reporter: Oz Ben-Ami
>            Assignee: Xin Ren
>            Priority: Minor
>              Labels: metrics
>             Fix For: 1.6.3, 2.0.1, 2.1.0
>
>
> StreamingSource's lastReceivedBatch_submissionTime, lastReceivedBatch_processingTimeStart, and lastReceivedBatch_processingTimeEnd all use data from lastCompletedBatch instead of lastReceivedBatch. In particular, this makes it impossible to match lastReceivedBatch_records with a batchID/submission time.
> This is apparent when looking at StreamingSource.scala, lines 89-94.
> I would guess that just replacing Completed->Received in those lines would fix the issue, but I haven't tested it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org