Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-alpha-2
-
Incompatible change, Reviewed
-
-
incompatible
Description
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 for removing `ConstraintProcessor` , and we are just exposing this logic with a new method to alter command.
Attachments
Issue Links
- is related to
-
HBASE-26530 Backport HBASE-26524 Support remove coprocessor by class name via alter table command
- Resolved
- relates to
-
HBASE-26957 Add support to hbase shell to remove coproc by its class name instead of coproc ID
- Open
-
HBASE-26529 Document HBASE-26524 to section of Dynamic Unloading
- Resolved
- links to