diff --git a/CHANGES.txt b/CHANGES.txt index 19685a38139..fd2c766cc75 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -27,6 +27,9 @@ Trunk (unreleased changes) HADOOP-6204. Implementing aspects development and fault injeciton framework for Hadoop (cos) + HADOOP-6312. Remove unnecessary debug logging in Configuration constructor. + (Aaron Kimball via cdouglas) + OPTIMIZATIONS BUG FIXES diff --git a/src/java/org/apache/hadoop/conf/Configuration.java b/src/java/org/apache/hadoop/conf/Configuration.java index 642017a769a..e1b3be4f7b1 100644 --- a/src/java/org/apache/hadoop/conf/Configuration.java +++ b/src/java/org/apache/hadoop/conf/Configuration.java @@ -383,9 +383,6 @@ public class Configuration implements Iterable>, */ public Configuration(boolean loadDefaults) { this.loadDefaults = loadDefaults; - if (LOG.isDebugEnabled()) { - LOG.debug(StringUtils.stringifyException(new IOException("config()"))); - } synchronized(Configuration.class) { REGISTRY.put(this, null); } @@ -415,11 +412,6 @@ public class Configuration implements Iterable>, */ @SuppressWarnings("unchecked") public Configuration(Configuration other) { - if (LOG.isDebugEnabled()) { - LOG.debug(StringUtils.stringifyException - (new IOException("config(config)"))); - } - this.resources = (ArrayList)other.resources.clone(); synchronized(other) { if (other.properties != null) {