Bogus logging messages in Configration object constructors
----------------------------------------------------------
Key: HADOOP-2851
URL: https://issues.apache.org/jira/browse/HADOOP-2851
Project: Hadoop Core
Issue Type: Bug
Components: conf
Affects Versions: 0.16.0
Reporter: Jingkei Ly
Priority: Trivial
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.