You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/05/16 16:20:12 UTC
[jira] [Created] (HBASE-15836) The -set parameter in "hbase backup"
should be in the help text
Ted Yu created HBASE-15836:
------------------------------
Summary: 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
[~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)