HBASE-26529 Document HBASE-26524 to section of Dynamic Unloading (#3909)

Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
This commit is contained in:
Tak Lon (Stephen) Wu 2021-12-06 14:16:21 -08:00 committed by GitHub
parent d9315fa043
commit 1004e43a44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 1 deletions

View File

@ -428,13 +428,24 @@ verifies whether the given class is actually contained in the jar file.
==== Using HBase Shell
. Alter the table to remove the coprocessor.
. Alter the table to remove the coprocessor with `table_att_unset`.
+
[source]
----
hbase> alter 'users', METHOD => 'table_att_unset', NAME => 'coprocessor$1'
----
. Alter the table to remove the coprocessor with `table_remove_coprocessor` introduced in
link:https://issues.apache.org/jira/browse/HBASE-26524[HBASE-26524] by specifying an explicit
classname
+
[source]
----
hbase> alter 'users', METHOD => 'table_remove_coprocessor', CLASSNAME =>
'org.myname.hbase.Coprocessor.RegionObserverExample'
----
==== Using the Java API
Reload the table definition without setting the value of the coprocessor either by