hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Bertozzi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-10567) Add overwrite manifest option to ExportSnapshot
Date Wed, 19 Feb 2014 19:38:24 GMT

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

Matteo Bertozzi updated HBASE-10567:
------------------------------------

    Attachment: HBASE-10567-v1.patch

v1 is slightly different, I've added the return check but moved the delete at the beginning,
to avoid the case where the destination is another hbase cluster and someone will do a restore/clone
during the ExportSnapshot operation.. by deleting the folder the snapshot will not be available
for list/restore/clone until the end of the export.

> Add overwrite manifest option to ExportSnapshot
> -----------------------------------------------
>
>                 Key: HBASE-10567
>                 URL: https://issues.apache.org/jira/browse/HBASE-10567
>             Project: HBase
>          Issue Type: Bug
>          Components: snapshots
>    Affects Versions: 0.98.0, 0.94.16, 0.99.0, 0.96.1.1
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 0.99.0
>
>         Attachments: HBASE-10567-v0.patch, HBASE-10567-v1.patch
>
>
> If you want to export a snapshot twice (e.g. in case you accidentally removed a file
and now your snapshot is corrupted) you have to manually remove the .hbase-snapshot/SNAPSHOT_NAME
directory and then run the ExportSnapshot tool.
> Add an -overwrite option to this operation automatically.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message