[
https://issues.apache.org/jira/browse/HBASE-28619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
guluo resolved HBASE-28619.
---------------------------
Resolution: Fixed
> 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
> Assignee: guluo
> Priority: Minor
> Labels: pull-request-available
> Fix For: 2.7.0, 3.0.0-beta-2, 2.6.1, 2.5.9
>
>
> 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}
>
> ERROR: {color:#FF0000}Unable to find the table{color} name for
> snapshot=non_existing_snap
> This error message is inaccurate.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)