Rekha Joshi wrote:
Hi Sonal,

AFAIK,this exception mostly has no impact other than to indicate object 
creation.I agree Hadoop configuration class can be improved to handle it.


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

I am bafflled by this block of code. Why is an IOException being thrown if
the log level is set to DEBUG ? It would be great if someone could shed some
light on this.


This is covered under
https://issues.apache.org/jira/browse/HADOOP-2851

It's clearly there to help debug obscure configuration constructor events. What may be best is to move it to its own log (something related to constructors?) so that it only comes on if you ask for an explicit log.

Reply via email to