[ 
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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to