You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Rushabh Shah (Jira)" <ji...@apache.org> on 2022/04/15 22:03:00 UTC
[jira] [Created] (HBASE-26957) Add support to hbase shell to remove coproc by its class name instead of coproc ID
Rushabh Shah created HBASE-26957:
------------------------------------
Summary: 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
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)