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

Improve Snapshot Name Error Message

    Details

      Description

      The output for snapshots when you enter an invalid snapshot name talks about "User-space table names" instead of "Snapshot names". The error message should say "Snapshot names can only contain...".

      Here is an example of the output:

      hbase(main):001:0> snapshot 'user', 'asdf asdf'
      
      ERROR: java.lang.IllegalArgumentException: Illegal character <32> at 4. User-space table names can only contain 'word characters': i.e. [a-zA-Z_0-9-.]: asdf asdf
      
      Here is some help for this command:
      Take a snapshot of specified table. Examples:
      
        hbase> snapshot 'sourceTable', 'snapshotName'
      

        Attachments

        1. HBASE-9708.1.patch
          4 kB
          Matteo Bertozzi
        2. HBASE-9708.1.patch
          5 kB
          Esteban Gutierrez

          Activity

            People

            • Assignee:
              mbertozzi Matteo Bertozzi
              Reporter:
              eljefe6a Jesse Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: