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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.3-alpha
    • 2.8.0, 3.0.0-alpha1
    • ha
    • None
    • 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

        1. hdfs-3918.txt
          2 kB
          Todd Lipcon

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: