diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ApplicationClassLoader.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ApplicationClassLoader.java index 6d37c28774..8c1601a0cb 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ApplicationClassLoader.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ApplicationClassLoader.java @@ -94,10 +94,6 @@ public boolean accept(File dir, String name) { public ApplicationClassLoader(URL[] urls, ClassLoader parent, List systemClasses) { super(urls, parent); - if (LOG.isDebugEnabled()) { - LOG.debug("urls: " + Arrays.toString(urls)); - LOG.debug("system classes: " + systemClasses); - } this.parent = parent; if (parent == null) { throw new IllegalArgumentException("No parent classloader!"); @@ -106,6 +102,7 @@ public ApplicationClassLoader(URL[] urls, ClassLoader parent, this.systemClasses = (systemClasses == null || systemClasses.isEmpty()) ? Arrays.asList(StringUtils.getTrimmedStrings(SYSTEM_CLASSES_DEFAULT)) : systemClasses; + LOG.info("classpath: " + Arrays.toString(urls)); LOG.info("system classes: " + this.systemClasses); }