hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From min...@apache.org
Subject [1/2] hadoop git commit: HADOOP-12789. log classpath of ApplicationClassLoader at INFO level. (Sangjin Lee via mingma)
Date Tue, 08 Mar 2016 04:55:01 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2.6 80034621e -> d61a2fd1d


HADOOP-12789. log classpath of ApplicationClassLoader at INFO level. (Sangjin Lee via mingma)

(cherry picked from commit 49eedc7ff02ea61764f416f0e2ddf81370aec5fb)
(cherry picked from commit f01f1940c4006eeffae679f822463d156c790c04)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/5579ee37
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/5579ee37
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/5579ee37

Branch: refs/heads/branch-2.6
Commit: 5579ee37e377138a124c8d6251480848310b339b
Parents: 8003462
Author: Ming Ma <mingma@apache.org>
Authored: Mon Mar 7 20:26:19 2016 -0800
Committer: Ming Ma <mingma@apache.org>
Committed: Mon Mar 7 20:52:12 2016 -0800

----------------------------------------------------------------------
 .../java/org/apache/hadoop/util/ApplicationClassLoader.java     | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/5579ee37/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ApplicationClassLoader.java
----------------------------------------------------------------------
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 b18997c..bec88bc 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
@@ -96,10 +96,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!");
@@ -108,6 +104,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);
   }
 


Mime
View raw message