[ https://issues.apache.org/jira/browse/HBASE-7240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesse Yates updated HBASE-7240: ------------------------------- Attachment: hbase-7240.patch Patch for this. Adds a start method to SnapshotManager that just does cleanup. Didn't add a unit test since it required spinnning up a minicluster (or down and then up in an exisiting test) for just checking a couple line change that can be verified on sight easily. > Cleanup old snapshots on start > ------------------------------ > > Key: HBASE-7240 > URL: https://issues.apache.org/jira/browse/HBASE-7240 > Project: HBase > Issue Type: Sub-task > Components: Client, master, regionserver, snapshots, Zookeeper > Affects Versions: hbase-6055 > Reporter: Jesse Yates > Assignee: Jesse Yates > Fix For: hbase-6055 > > Attachments: hbase-7240.patch > > > If the master is hard stopped (i.e. kill -9), the snapshot handler or > SnapshotManager may not have a chance to cleanup after the snapshot, leaving > extraneous files in the working snapshot directory (/hbase/.snapshot/.tmp > directory). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira