[ https://issues.apache.org/jira/browse/HBASE-14135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16111735#comment-16111735 ]
Vladimir Rodionov commented on HBASE-14135: ------------------------------------------- {quote} 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? {quote} This is not only for backup, right, [~elserj]? Hard crash can happen during regular HBase operation, do we have any automation tools in Master to address potential issues? > 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, > HBASE-14135-v9.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)