You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Tathagata Das (JIRA)" <ji...@apache.org> on 2015/01/11 00:38:34 UTC

[jira] [Resolved] (SPARK-5181) inaccurate log when WAL is disabled

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

Tathagata Das resolved SPARK-5181.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.1
                   1.3.0

> inaccurate log when WAL is disabled
> -----------------------------------
>
>                 Key: SPARK-5181
>                 URL: https://issues.apache.org/jira/browse/SPARK-5181
>             Project: Spark
>          Issue Type: Bug
>          Components: Streaming
>    Affects Versions: 1.2.0
>            Reporter: Nan Zhu
>             Fix For: 1.3.0, 1.2.1
>
>
> Currently, even the logManager is not created, we still see the log entry 
> s"Writing to log $record"
> because of the following lines
> {code:title=ReceivedBlockTracker.scala|borderStyle=solid}
> /** Write an update to the tracker to the write ahead log */
>   private def writeToLog(record: ReceivedBlockTrackerLogEvent) {
>     logDebug(s"Writing to log $record")
>     logManagerOption.foreach { logManager =>
>         logManager.writeToLog(ByteBuffer.wrap(Utils.serialize(record)))
>     }
>   }
> {code}



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