[ 
https://issues.apache.org/jira/browse/HBASE-14438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chia-Ping Tsai resolved HBASE-14438.
------------------------------------
    Resolution: Duplicate

fixed by HBASE-14510. Sorry for missing you patch. [~cuijianwei]

> admin.rb#alter should invoke HTableDescriptor#addCoprocessorWithSpec instead 
> of HTableDescriptor#addCoprocessorWith
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-14438
>                 URL: https://issues.apache.org/jira/browse/HBASE-14438
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 1.2.1
>            Reporter: Jianwei Cui
>            Priority: Minor
>         Attachments: HBASE-14438-trunk-v1.patch
>
>
> The help info of 'alter' in hbase shell includes the following usage:
> {code}
> You can add a table coprocessor by setting a table coprocessor attribute:
>   hbase> alter 't1',
>     
> 'coprocessor'=>'hdfs:///foo.jar|com.foo.FooRegionObserver|1001|arg1=1,arg2=2'
> {code}
> However, the admin.rb#alter method will invoke 
> HTableDescriptor#addCoprocessorWith, in which the coprocessor will be 
> incorrectly formatted as:
> {code}
> |hdfs:///foo.jar|com.foo.FooRegionObserver|1001|arg1=1,arg2=2|1073741823|
> {code}
> It seems the admin.rb#alter should use 
> HTableDescriptor#addCoprocessorWithSpec instead.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to