[ 
https://issues.apache.org/jira/browse/HBASE-28619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

guluo updated HBASE-28619:
--------------------------
    Description: 
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.

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


> 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
>            Priority: Minor
>
> 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)

Reply via email to