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

Junegunn Choi resolved HBASE-29916.
-----------------------------------
    Fix Version/s: 2.7.0
                   3.0.0-beta-2
                   2.6.5
                   2.5.14
       Resolution: Fixed

Thanks for the contribution!

Pushed to the following branches:

* master
* branch-3
* branch-2
* branch-2.6
* branch-2.5

Thanks to Vaibhav Joshi, and Liu Xiao for the review!


> Correct alter_async help text examples
> --------------------------------------
>
>                 Key: HBASE-29916
>                 URL: https://issues.apache.org/jira/browse/HBASE-29916
>             Project: HBase
>          Issue Type: Task
>          Components: shell
>            Reporter: JinHyuk Kim
>            Assignee: JinHyuk Kim
>            Priority: Trivial
>              Labels: pull-request-available
>             Fix For: 2.7.0, 3.0.0-beta-2, 2.6.5, 2.5.14
>
>
> h1. Description
> The shell help text for the {{alter_async}} command currently includes 
> incorrect examples that use {{alter}} instead of {{{}alter_async{}}}.
>  
> {code:java}
> hbase:006:0> help 'alter_async'
> ...
> To delete the 'f1' column family in table 'ns1:t1', do:
> hbase> alter_async 'ns1:t1', NAME => 'f1', METHOD => 'delete'
> or a shorter version:
> hbase> alter_async 'ns1:t1', 'delete' => 'f1'
> You can also change table-scope attributes like 
> MAX_FILESIZE,MEMSTORE_FLUSHSIZE, and READONLY.
> For example, to change the max size of a family to 128MB, do:
> hbase> alter 't1', METHOD => 'table_att', MAX_FILESIZE => '134217728'
> # This should be alter_async !
> There could be more than one alteration in one command:
> hbase> alter 't1', {NAME => 'f1'}, {NAME => 'f2', METHOD => 'delete'}
> # This should be alter_async !{code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to