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

Reply via email to