You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2024/09/28 07:03:00 UTC
[jira] [Updated] (HBASE-20253) Error message is missing for restore_snapshot
[ https://issues.apache.org/jira/browse/HBASE-20253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Duo Zhang updated HBASE-20253:
------------------------------
Fix Version/s: (was: 3.0.0-alpha-1)
> 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: 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
(v8.20.10#820010)