-
-
Save knotman90/3e442df880058bf45934 to your computer and use it in GitHub Desktop.
Hbase shell commands to load/unload coprocessors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## To load | |
disable 'Table' | |
alter 'Table', METHOD => 'table_att', 'COPROCESSOR' => '/path/to/coprocessors.jar|com.org.xxxx.Coprocessorclass|3|' | |
enable 'Table' | |
## To check coprocessor is loaded | |
describe 'Table' | |
## To check the coprocessor status | |
status 'detailed' | |
## To unload the coprocessor | |
alter 'table', METHOD => 'table_att_unset',NAME => 'coprocessor$1' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment