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

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

bq. Pardon my ignorance on this.

No ignorance here that I can detect. (smile) 

bq. Thinking it a little more, maybe the above list needs to be re-visited?

Yes

bq. Is there a real need to exempt Hadoop classes? What is special about hadoop 
packages as dependencies? What are the subpackages we really need to exempt? I 
can understand why we want to use the parent classloader to load HBase classes.

I think the idea was to load the common and HDFS classes that the HBase classes 
depend from the same source using the parent classloader. We could refine the 
whitelist to be more specific to actual dependencies in that case.



> 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
>            Assignee: Jerry He
>            Priority: Minor
>             Fix For: 2.0.0, 0.98.14, 1.0.2, 1.1.2
>
>         Attachments: HBASE-13706.patch
>
>
> 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