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

Inconsistent Logging in BootstrapStandby

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.7.1
    • 2.8.0, 3.0.0-alpha1
    • ha
    • None
    • Reviewed

    Description

      /* Line 379 */
            if (LOG.isDebugEnabled()) {
              LOG.debug(msg, e);
            } else {
              LOG.fatal(msg);
            }
      

      Why would message, considered "fatal" under most operating circumstances be considered "debug" when debugging is on. This is confusing to say the least. If there is a problem and the user attempts to debug the situation, they may be filtering on "fatal" messages and miss the exception.

      Please consider using only the fatal logging, and including the exception.

      Attachments

        1. HADOOP-12674.001.patch
          1 kB
          Xiaobing Zhou

        Activity

          People

            xiaobingo Xiaobing Zhou
            belugabehr David Mollitor
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: