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

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

Nan Zhu created SPARK-5181:
------------------------------

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