You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Amit Kabra (JIRA)" <ji...@apache.org> on 2017/10/03 11:29:01 UTC

[jira] [Created] (HBASE-18929) Hbase backup command doesn’t show debug option to enable backup in debug mode.

Amit Kabra created HBASE-18929:
----------------------------------

             Summary: Hbase backup command doesn’t show debug option to enable backup in debug mode.
                 Key: HBASE-18929
                 URL: https://issues.apache.org/jira/browse/HBASE-18929
             Project: HBase
          Issue Type: Bug
            Reporter: Amit Kabra
            Assignee: Amit Kabra


{code}./hbase backup create {code}
...
Usage: hbase backup create <type> <backup_path> [options]
  type           "full" to create a full backup image
                 "incremental" to create an incremental backup image
  backup_path     Full path to store the backup image

Options:
  -b <arg>        Bandwidth per task (MapReduce task) in MB/s
  -q <arg>        Yarn queue name to run backup create command on
  -s <arg>        Backup set to backup, mutually exclusive with -t (table list)
  -t <arg>        Table name list, comma-separated.
  -w <arg>        Number of parallel MapReduce tasks to execute

The above help doesn't show that we can actually run backups in debug mode easily by just providing -d option which is very helpful in debugging.

The following code works well.
{code}/hbase backup create full hdfs://localhost:8020/test/ -t test1 -d{code}

and shows all debug logs.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)