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"