[
https://issues.apache.org/jira/browse/HBASE-13706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14661127#comment-14661127
]
Andrew Purtell commented on HBASE-13706:
----------------------------------------
I'm glad you've taken this up [~jerryhe].
bq. The current way is ambiguous and un-intended? Coprocessors should share
with the host env only via clearly defined interfaces.
Agreed. Getting there will be a process. It's been that way from the beginning.
bq. What about for the other branches? Explicit listing of the hadoop packages?
We can try that for branch-1.
Could also try for branch-1.2 since 1.2.0 has not been released yet. Depends
what [~busbey] thinks.
Would not be an appropriate change for 1.0.x or 1.1.x since it's a
compatibility concern with other releases in those lines.
We could talk about putting it in 0.98.
> 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.3
>
> Attachments: HBASE-13706-master-v2.patch, 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)