[
https://issues.apache.org/jira/browse/HBASE-20253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Somogyi updated HBASE-20253:
----------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
2.1.0
3.0.0
Status: Resolved (was: Patch Available)
Pushed to branch-2.0+.
> Error message is missing for restore_snapshot
> ---------------------------------------------
>
> Key: HBASE-20253
> URL: https://issues.apache.org/jira/browse/HBASE-20253
> Project: HBase
> Issue Type: Sub-task
> Components: shell
> Affects Versions: 2.0.0
> Reporter: Peter Somogyi
> Assignee: Gabor Bota
> Priority: Minor
> Fix For: 3.0.0, 2.1.0, 2.0.0
>
> Attachments: HBASE-20253.master.001.patch,
> HBASE-20253.master.002.patch, HBASE-20253.master.003.patch,
> HBASE-20253.master.004.patch
>
>
> When the table is not disabled and restore_snapshot executed the error
> message is useless, only displays the table name.
> hbase(main):007:0> restore_snapshot 'tsnap'
> ERROR: t
> Restore a specified snapshot.
> The restore will replace the content of the original table,
> bringing back the content to the snapshot state.
> The table must be disabled.
> Examples:
> hbase> restore_snapshot 'snapshotName'
> Following command will restore all acl from snapshot table into the table.
> hbase> restore_snapshot 'snapshotName', \{RESTORE_ACL=>true}
> Took 0.1044 seconds
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)