Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
Table/region level coprocessor – RegionObserver – can be configured by setting a HTD's attribute which matches Coprocessor$*.
Current shell – alter – cannot support to set/unset a table's arbitrary attribute. We need it in order to configure region level coprocessors to a table.
Proposed new shell:
hbase shell > alter 't1', METHOD => 'table_att', COPROCESSOR$1 => 'hdfs://cp/foo.jar|org.apache.hadoop.hbase.sample|1|' hbase shell > describe 't1' {NAME => 't1', COPROCESSOR$1 => 'hdfs://cp/foo.jar|org.apache.hadoop.hbase.sample|1|', MAX_FILESIZE => '134217728', ...} hbase shell > alter 't1', METHOD => 'table_att_unset', COPROCESSOR$1 hbase shell > describe 't1' {NAME => 't1', MAX_FILESIZE => '134217728', ...}
Attachments
Attachments
Issue Links
- relates to
-
HBASE-3512 Coprocessors: Shell support for listing currently loaded coprocessor set
- Closed