[ 
https://issues.apache.org/jira/browse/HBASE-14224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stack updated HBASE-14224:
--------------------------
    Attachment: 14224v2.txt

v2

In HTD, add check in setValue that prevents adding coprocessor via this means 
that skirts checks for such as duplicate loadings. This is a change in (an 
exotic) behavior.

Adds to HTD, addCoprocessorWithSpecStr for shell to call in place of setValue.

Some small refactoring in HTD to avoid duplicated code.

In HConstants, add doc around CP_HTD_ATTR_VALUE_PATTERN since it foregrounded 
by the changes in here.

In CoprocessorHost, guard against double-loading a cp in current session.

Add some tests. No shell test added because it has test to add cp already so at 
least we have not broken loading cp by shell

> Fix coprocessor handling of duplicate classes
> ---------------------------------------------
>
>                 Key: HBASE-14224
>                 URL: https://issues.apache.org/jira/browse/HBASE-14224
>             Project: HBase
>          Issue Type: Bug
>          Components: Coprocessors
>    Affects Versions: 2.0.0, 1.0.1, 1.2.0, 1.1.1
>            Reporter: Lars George
>            Assignee: stack
>            Priority: Critical
>         Attachments: 14224.txt, 14224v2.txt, problem.pdf
>
>
> While discussing with [~misty] over on HBASE-13907 we noticed some 
> inconsistency when copros are loaded. Sometimes you can load them more than 
> once, sometimes you can not. Need to consolidate.



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

Reply via email to