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

Backup command line tool: unification of argument names

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • HBASE-7912
    • None
    • None
    • Reviewed

    Description

      So, in backup usage, the backup root dir is called backup_root. In restore, it is called backup_path. I presume these are meant to refer to the same thing?
      In restore, the id for the backup is the backup_id but in describe when I am to pass a backup id, it is called backupId. Ditto on delete. In the dump of the history, the backup id is called 'ID'.
      Suggest you use same name for the arg everywhere. The inconsistency makes the tool appear untrustworthy.

      Attachments

        1. HBASE-17134-v1.patch
          20 kB
          Vladimir Rodionov
        2. HBASE-17134-v2.patch
          21 kB
          Vladimir Rodionov

        Issue Links

          Activity

            People

              vrodionov Vladimir Rodionov
              vrodionov Vladimir Rodionov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: