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:07:46 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 05a963808 -> d322ebadf


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/d322ebad
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/d322ebad
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/d322ebad

Branch: refs/heads/branch-1
Commit: d322ebadf5cf8ab16cf3e4489188ced54a38ef0e
Parents: 05a9638
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:06:41 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/d322ebad/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