hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerry...@apache.org
Subject hbase git commit: HBASE-13706 CoprocessorClassLoader should not exempt Hive classes
Date Sun, 09 Aug 2015 05:10:13 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.2 7abb12be2 -> a4c08f630


HBASE-13706 CoprocessorClassLoader should not exempt Hive classes


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

Branch: refs/heads/branch-1.2
Commit: a4c08f63045b2ccc983a6fb45614d09f7b47c3bc
Parents: 7abb12b
Author: Jerry He <jerryjch@apache.org>
Authored: Sat Aug 8 22:06:41 2015 -0700
Committer: Jerry He <jerryjch@apache.org>
Committed: Sat Aug 8 22:08:36 2015 -0700

----------------------------------------------------------------------
 .../hadoop/hbase/util/CoprocessorClassLoader.java    | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/a4c08f63/hbase-common/src/main/java/org/apache/hadoop/hbase/util/CoprocessorClassLoader.java
----------------------------------------------------------------------
diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/CoprocessorClassLoader.java
b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/CoprocessorClassLoader.java
index 7b837af..b9c9c97 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/CoprocessorClassLoader.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/CoprocessorClassLoader.java
@@ -97,7 +97,6 @@ public class CoprocessorClassLoader extends ClassLoaderBase {
   private static final String[] CLASS_PREFIX_EXEMPTIONS = new String[] {
     // Java standard library:
     "com.sun.",
-    "launcher.",
     "java.",
     "javax.",
     "org.ietf",
@@ -110,7 +109,19 @@ public class CoprocessorClassLoader extends ClassLoaderBase {
     "org.apache.log4j",
     "com.hadoop",
     // Hadoop/HBase/ZK:
-    "org.apache.hadoop",
+    "org.apache.hadoop.security",
+    "org.apache.hadoop.HadoopIllegalArgumentException",
+    "org.apache.hadoop.conf",
+    "org.apache.hadoop.fs",
+    "org.apache.hadoop.http",
+    "org.apache.hadoop.io",
+    "org.apache.hadoop.ipc",
+    "org.apache.hadoop.metrics",
+    "org.apache.hadoop.metrics2",
+    "org.apache.hadoop.net",
+    "org.apache.hadoop.util",
+    "org.apache.hadoop.hdfs",
+    "org.apache.hadoop.hbase",
     "org.apache.zookeeper",
   };
 


Mime
View raw message