Hadoop Common
  1. Hadoop Common
  2. HADOOP-2851

Bogus logging messages in Configration object constructors

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 0.16.0
    • Fix Version/s: None
    • Component/s: conf
    • Labels:
      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.

      1. 2851_20080925.patch
        1 kB
        Tsz Wo Nicholas Sze
      2. 2851_20081103.patch
        3 kB
        Tsz Wo Nicholas Sze

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Jingkei Ly
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development