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

inaccurate log when WAL is disabled

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.1, 1.3.0
    • Component/s: DStreams
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: