[ 
https://issues.apache.org/jira/browse/HBASE-13706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14625107#comment-14625107
 ] 

Andrew Purtell commented on HBASE-13706:
----------------------------------------

bq. We have a case where hive classes are used in the coprocessor jar. 
coprocessor would fail to load unless we explore other approaches. e.g copy the 
Hive jars into HBase lib or shade the Hive classes.

We shouldn't be exempting foreign classes in our classloader. HBase doesn't 
know anything about Hive, nor should it. Since you've identified two solutions 
that do not involve code changes to HBase,  I'm going to close this as Not A 
Problem. Reopen if you disagree.


> CoprocessorClassLoader should not exempt Hive classes
> -----------------------------------------------------
>
>                 Key: HBASE-13706
>                 URL: https://issues.apache.org/jira/browse/HBASE-13706
>             Project: HBase
>          Issue Type: Bug
>          Components: Coprocessors
>    Affects Versions: 2.0.0, 1.0.1, 1.1.0, 0.98.12
>            Reporter: Jerry He
>            Priority: Minor
>
> CoprocessorClassLoader is used to load classes from the coprocessor jar.
> Certain classes are exempt from being loaded by this ClassLoader, which means 
> they will be ignored in the coprocessor jar, but loaded from parent classpath 
> instead.
> One problem is that we categorically exempt "org.apache.hadoop".
> But it happens that Hive packages start with "org.apache.hadoop".
> There is no reason to exclude hive classes from theCoprocessorClassLoader.
> HBase does not even include Hive jars.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to