[
https://issues.apache.org/jira/browse/HBASE-26524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Duo Zhang reopened HBASE-26524:
-------------------------------
Seems breaking a UT under the hbase-server module
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3910/1/testReport/org.apache.hadoop.hbase.constraint/TestConstraints/precommit_checks___yetus_jdk8_Hadoop3_checks___testRemoveUnsetConstraint/
> Support remove coprocessor by class name via alter table command
> ----------------------------------------------------------------
>
> Key: HBASE-26524
> URL: https://issues.apache.org/jira/browse/HBASE-26524
> Project: HBase
> Issue Type: Improvement
> Components: Coprocessors, shell
> Affects Versions: 3.0.0-alpha-2
> Reporter: Tak-Lon (Stephen) Wu
> Assignee: Tak-Lon (Stephen) Wu
> Priority: Major
> Fix For: 3.0.0-alpha-2
>
>
> With the shell, when operator wants to remove a table coprocessor, the flow
> is to
> 1. first use {{decs}} find the the mapping of coprocessor$# e.g.
> coprocessor$1, where # is the ordered number when the coprocessor was
> internally added to the table attribute
> 2. issue {{table_att_unset}} with the target `coprocessor$#` that maps to a
> value that include the unique class name.
> This task is to simplify the flow if the operator know exactly the class name
> of the added coprocessor, and create a new sub-method to {{alter}}, such that
> operator can do it only with the class name.
> NOTE that this logic has been added behind the scenes at
> [TableDescriptorBuilder#removeCoprocessor|https://github.com/apache/hbase/blob/358c4dc9022c507ee0159c1d4916aba41d42cde8/hbase-client/src/main/java/org/apache/hadoop/hbase/client/TableDescriptorBuilder.java#L1537-L1565]
> for removing `ConstraintProcessor` , and we are just exposing this logic
> with a new method to {{alter}} command.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)