[ 
https://issues.apache.org/jira/browse/HBASE-14135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16096859#comment-16096859
 ] 

Josh Elser commented on HBASE-14135:
------------------------------------

bq. We have repair tool, just in case if "client goes away" or some other 
disaster happens. 

This was one question I had on RB. Let me add to it since it was brought up 
here as well.

It looks like there is the potential for files in HDFS to be orphaned (via a 
hard JVM crash where "deleteOnExit" wouldn't fire) and for entries in the 
hbase:backup table to be orphaned. The tooling to clean these up is great -- 
should we have some automation inside of the Master to try to catch these 
scenarios and proactively clean it up for the user?

I am thinking about something very un-aggressive (e.g. cleaning up files in 
hdfs after many hours or days). WDYT?

> HBase Backup/Restore Phase 3: Merge backup images
> -------------------------------------------------
>
>                 Key: HBASE-14135
>                 URL: https://issues.apache.org/jira/browse/HBASE-14135
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Vladimir Rodionov
>            Assignee: Vladimir Rodionov
>            Priority: Blocker
>              Labels: backup
>             Fix For: 2.0.0
>
>         Attachments: HBASE-14135-v3.patch, HBASE-14135-v5.patch, 
> HBASE-14135-v6.patch, HBASE-14135-v7.patch, HBASE-14135-v8.patch
>
>
> User can merge incremental backup images into single incremental backup image.
> # Merge supports only incremental images
> # Merge supports only images for the same backup destinations
> Command:
> {code}
> hbase backup merge image1,image2,..imageK
> {code}
> Example:
> {code}
> hbase backup merge backup_143126764557,backup_143126764456 
> {code}
> When operation is complete, only the most recent backup image will be kept 
> (in above example -  backup_143126764557) as a merged backup image, all other 
> images will be deleted from both: file system and backup system tables, 
> corresponding backup manifest for the merged backup image will be updated to 
> remove dependencies from deleted images. Merged backup image will contains 
> all the data from original image and from deleted images.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to