Skip to content

Instantly share code, notes, and snippets.

@sankars
Created August 12, 2013 11:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sankars/6210009 to your computer and use it in GitHub Desktop.
Save sankars/6210009 to your computer and use it in GitHub Desktop.
Hbase shell commands to load/unload coprocessors
## 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'
@CheyenneForbes
Copy link

its now alter 'Table', 'coprocessor' => '/path/to/coprocessors.jar|com.org.xxxx.Coprocessorclass|3|'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment