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

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

    [ https://issues.apache.org/jira/browse/SPARK-5181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14271887#comment-14271887 ] 

Apache Spark commented on SPARK-5181:
-------------------------------------

User 'CodingCat' has created a pull request for this issue:
https://github.com/apache/spark/pull/3985

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