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

Ted Yu updated HBASE-15836:
---------------------------
    Attachment: 15836.v2.patch

> The -set parameter in "hbase backup" should be in the help text
> ---------------------------------------------------------------
>
>                 Key: HBASE-15836
>                 URL: https://issues.apache.org/jira/browse/HBASE-15836
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 15836.v1.patch, 15836.v2.patch
>
>
> [~cartershanklin] noticed the following:
> {code}
> $ hbase backup create
> ERROR: wrong number of arguments
> Usage: hbase backup create <type> <backup_root_path> [tables] [-s name] 
> [-convert] [-silent] [-w workers][-b bandwith]
>  type          "full" to create a full backup image;
>                "incremental" to create an incremental backup image
>   backup_root_path   The full root path to store the backup image,
>                     the prefix can be hdfs, webhdfs or gpfs
>  Options:
>   tables      If no tables ("") are specified, all tables are backed up. 
> Otherwise it is a
>                comma separated list of tables.
>  -s name     Use the specified snapshot for full backup
>  -convert    For an incremental backup, convert WAL files to HFiles
>  -w          number of parallel workers.
>  -b          bandwith per one worker (in MB sec)
> {code}
> A working backup command may look like the following (assuming the set named 
> green exists):
> {code}
> sudo -u hbase hbase backup create full hdfs://ip:8020/tmp/backup -set green
> {code}
> Help text for backup command should be updated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to