guluo created HBASE-28619:
-----------------------------

             Summary: Fix the inaccurate message when snapshot doesn't exist
                 Key: HBASE-28619
                 URL: https://issues.apache.org/jira/browse/HBASE-28619
             Project: HBase
          Issue Type: Bug
          Components: snapshots
    Affects Versions: 2.4.13
            Reporter: guluo


We would get the as following message when restore a non-existing snapshot.
{code:java}
hbase:021:0> restore_snapshot  'non_existing_snap'

ERROR: Unable to find the table name for snapshot=non_existing_snap

For usage try 'help "restore_snapshot"'

Took 0.0170 seconds {code}
 
This error message is inaccurate.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to