You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Tak-Lon (Stephen) Wu (Jira)" <ji...@apache.org> on 2022/04/15 23:30:00 UTC

[jira] [Commented] (HBASE-26957) Add support to hbase shell to remove coproc by its class name instead of coproc ID

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

Tak-Lon (Stephen) Wu commented on HBASE-26957:
----------------------------------------------

hi [~shahrs87], are you trying to backport HBASE-26530/HBASE-26524 from master/branch-2 to branch-1 ? 

> Add support to hbase shell to remove coproc by its class name instead of coproc ID
> ----------------------------------------------------------------------------------
>
>                 Key: HBASE-26957
>                 URL: https://issues.apache.org/jira/browse/HBASE-26957
>             Project: HBase
>          Issue Type: Bug
>          Components: Coprocessors, shell
>    Affects Versions: 1.7.1
>            Reporter: Rushabh Shah
>            Priority: Major
>
> The syntax for removing coproc is as below:
>   hbase> alter 't1', METHOD => 'table_att_unset', NAME => 'coprocessor$1'
> We have to use coproc id to remove a coproc from a given table.
> Consider the following scenario. Due to some bug in a coproc, we have to remove a given coproc from all the tables in a cluster. Every table can have different set of co-procs. For a given co-proc class, the coproc ID will not be same for all the tables in a cluster. This gets more complex if we want to remove co-proc from all the production clusters. 
> Instead we can pass a co-proc class name to alter table command. So if a table has that co-proc, it will remove otherwise do nothing.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)