hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Briggs <acidbri...@gmail.com>
Subject Configuration.java and bad constructor
Date Wed, 18 Jul 2007 15:52:26 GMT
The constructor of Configuration is written like this:

Starting at line 90 of org.apache.hadoop.conf.Configuration.java

  /** A new configuration. */
  public Configuration() {
    if (LOG.isDebugEnabled()) {
      LOG.debug(StringUtils.stringifyException(new IOException("config()")));
    }
    defaultResources.add("hadoop-default.xml");
    finalResources.add("hadoop-site.xml");
  }

Now, why would anyone create an IOException and log it like this?  I
was wondering why all these darned exceptions were in my logs.



-- 
"Conscious decisions by conscious minds are what make reality real"

Mime
View raw message