Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3918

EditLogTailer shouldn't log WARN when other node is in standby mode

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.3-alpha
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: ha
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      If both nodes are in standby mode, each will be trying to roll the others' logs, which results in errors like:

      Unable to trigger a roll of the active NN
      org.apache.hadoop.ipc.StandbyException: Operation category JOURNAL is not supported in state standby

      We should catch this specific exception and not log it at WARN level, since it's expected behavior.

        Attachments

          Activity

            People

            • Assignee:
              tlipcon Todd Lipcon
              Reporter:
              tlipcon Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: