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

Andrew Purtell edited comment on HBASE-14049 at 7/9/15 6:25 PM:
----------------------------------------------------------------

bq. also everyone should already clean tmp after failure, if they don't do it 
is because hdfs was not responding

Yes, that is the problem. 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.


was (Author: apurtell):
bq. also everyone should already clean tmp after failure, if they don't do it 
is because hdfs was not responding

Yes, that is the problem. Do you have any thoughts on what we should do? Maybe 
if the snapshot dir is older than a given threshold we can consider it failed 
instead of in progress? And drop that log level.

> 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)

Reply via email to