Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-2851

Bogus logging messages in Configration object constructors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Won't Fix
    • 0.16.0
    • None
    • conf
    • None

    Description

      The constructors for the Configuration object contains a superfluous logging message that logs an IOException whenever logging is enabled for the debug level. Basically both constructors have the statement:

      if (LOG.isDebugEnabled())

      { LOG.debug(StringUtils.stringifyException(new IOException("config()"))); }

      I can' t see any reason for it to be there and it just ends up leaving bogus IOExceptions in log files. It looks like its an old debug print statement which has accidentally been left in.

      Attachments

        1. 2851_20080925.patch
          1 kB
          Tsz-wo Sze
        2. 2851_20081103.patch
          3 kB
          Tsz-wo Sze

        Activity

          People

            Unassigned Unassigned
            jly Jingkei Ly
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: