Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18929

Hbase backup command doesn’t show debug option to enable backup in debug mode

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0-alpha-4, 2.0.0
    • None
    • None
    • Reviewed

    Description

      ./hbase backup create 

      ...
      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.

      /hbase backup create full hdfs://localhost:8020/test/ -t test1 -d

      and shows all debug logs.

      Attachments

        1. HBASE-18929.patch
          1 kB
          Amit Kabra
        2. 18929.txt
          2 kB
          Ted Yu

        Issue Links

          Activity

            People

              amitkabraiiit Amit Kabra
              amitkabraiiit Amit Kabra
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: