Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-5181

inaccurate log when WAL is disabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.2.1, 1.3.0
    • DStreams
    • None

    Description

      Currently, even the logManager is not created, we still see the log entry

      s"Writing to log $record"

      because of the following lines

      ReceivedBlockTracker.scala
      /** 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)))
          }
        }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            codingcat Nan Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: