Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-3607

Lot of warnings at DN startup

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      During DataNode startup, when we replay the edits to the StateMachine, a lot of warnings are emitted to the log depending on the amount of replayed transactions, one warning for each. The warning states the edit is ignored at this point in the org.apache.hadoop.ozone.container.keyvalue.impl.BlockManagerImpl class:

      WARN org.apache.hadoop.ozone.container.keyvalue.impl.BlockManagerImpl: blockCommitSequenceId 1128422 in the Container Db is greater than the supplied value 1120656. Ignoring it
      

      I think as this does not show any problem, and there can be an awful lot from this message just spamming the log at startup, we should move this to DEBUG level instead of WARN.
      Attaching a PR with the change.

      Attachments

        Issue Links

          Activity

            People

              pifta István Fajth
              pifta István Fajth
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: