[
https://issues.apache.org/jira/browse/HBASE-19771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16324128#comment-16324128
]
Ted Yu commented on HBASE-19771:
--------------------------------
Tried the patch on the same cluster:
{code}
hbase(main):002:0> restore_snapshot 'snapshot_table_tav6mrq397'
ERROR: Unknown namespace NS592088!
{code}
> restore_snapshot shell command gives wrong namespace if the namespace doesn't
> exist
> -----------------------------------------------------------------------------------
>
> Key: HBASE-19771
> URL: https://issues.apache.org/jira/browse/HBASE-19771
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.0.0-beta-1
> Reporter: Ted Yu
> Assignee: Janos Gub
> Priority: Minor
> Attachments: HBASE-19771.master.001.patch
>
>
> For the following snapshot:
> {code}
> snapshot_table_tav6mrq397
> NS592088:table_tav6mrq397 (2018-01-10 16:20:39 UTC)
> {code}
> namespace NS592088 is dropped.
> restore_snapshot on the snapshot gave the following :
> {code}
> hbase(main):003:0> restore_snapshot 'snapshot_table_tav6mrq397'
> ERROR: Unknown namespace snapshot_table_tav6mrq397!
> {code}
> The namespace in the message was incorrect.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)