HADOOP-12789. log classpath of ApplicationClassLoader at INFO level. (Sangjin Lee via mingma)
(cherry picked from commit 49eedc7ff0
)
This commit is contained in:
parent
d84d54e26c
commit
47f884e06a
|
@ -94,10 +94,6 @@ public class ApplicationClassLoader extends URLClassLoader {
|
|||
public ApplicationClassLoader(URL[] urls, ClassLoader parent,
|
||||
List<String> 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 class ApplicationClassLoader extends URLClassLoader {
|
|||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue