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

Mingjie Lai commented on HBASE-3810:
------------------------------------

I had an offline discussion with Gary and Andy, and we agreed to add a new 
method -- addCoprocessor() -- to HTableDescriptor which can help ease the 
potential difficulty of adding a coprocessor by setting htd attributes. 

Since we propose to have htd.addCoprocessor(), it makes sense to have 
htd.removeCoprocessor(). In addition, we may want to support adding shell 
commands for add/remove coprocessors. But I prefer to address 
htd.removeCoprocessor() and shell commands at other jiras.


> Registering a Coprocessor at HTableDescriptor should be less strict
> -------------------------------------------------------------------
>
>                 Key: HBASE-3810
>                 URL: https://issues.apache.org/jira/browse/HBASE-3810
>             Project: HBase
>          Issue Type: Improvement
>          Components: coprocessors
>    Affects Versions: 0.92.0
>         Environment: all
>            Reporter: Joerg Schad
>            Assignee: Mingjie Lai
>            Priority: Minor
>             Fix For: 0.92.0
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Registering a Copressor in the following way will fail as the "Coprocessor$1" 
> keyword is case sensitive (instead COPROCESSOR$1 works fine). Removing this 
> restriction would improve usability.
> HTableDescriptor desc = new HTableDescriptor(tName);
> desc.setValue("Coprocessor$1",
>    path.toString() + ":" + full_class_name +
>  ":" + Coprocessor.Priority.USER);

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to