HADOOP-6312. Remove unnecessary debug logging in Configuration constructor. Contributed by Aaron Kimball
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@826141 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c5bce7be47
commit
1ecee2e062
@ -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
|
||||
|
@ -383,9 +383,6 @@ public Configuration() {
|
||||
*/
|
||||
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 @@ private Configuration(Configuration other, boolean storeResource) {
|
||||
*/
|
||||
@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) {
|
||||
|
Loading…
Reference in New Issue
Block a user