[ https://issues.apache.org/jira/browse/HBASE-14049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14621030#comment-14621030 ]
Matteo Bertozzi commented on HBASE-14049: ----------------------------------------- {quote}Do you have any thoughts on what we should do? Maybe if the temporary snapshot dir is older than a given threshold we can consider it failed instead of in progress? And drop that log level.{quote} that's one option, how old is old? 1min is probably enough when you take a snapshot but 1h may be not enough when you are exporting/importing them. not sure what is the best solution for 98/1.0, you can have that time set to 1day if you are doing export and is already better than what we have now. proc-v2 should solve the problem (hope in the next 1.3) by having the known state checkable all the time. > SnapshotHFileCleaner should optionally clean up after failed snapshots > ---------------------------------------------------------------------- > > Key: HBASE-14049 > URL: https://issues.apache.org/jira/browse/HBASE-14049 > Project: HBase > Issue Type: Bug > Affects Versions: 0.98.13 > Reporter: Andrew Purtell > > SnapshotHFileCleaner should optionally clean up after failed snapshots rather > than just complain. Add a configuration option that, if set to true > (defaulting to false), instructs SnapshotHFileCleaner to recursively remove > failed snapshot temporary directories. -- This message was sent by Atlassian JIRA (v6.3.4#6332)