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

Matteo Bertozzi commented on HBASE-8540:
----------------------------------------

{code}I assume this directory is not ever deleted (like when you disable)?{code}
Yes the directory is never deleted, and also if you disable the snapshot you 
don't have this cleaner running, so even in that case you will not get the 
message.
                
> SnapshotFileCache logs too many times if snapshot dir doesn't exists
> --------------------------------------------------------------------
>
>                 Key: HBASE-8540
>                 URL: https://issues.apache.org/jira/browse/HBASE-8540
>             Project: HBase
>          Issue Type: Bug
>          Components: snapshots
>    Affects Versions: 0.94.7
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Trivial
>             Fix For: 0.98.0, 0.94.8, 0.95.1
>
>         Attachments: HBASE-8540-v0.patch
>
>
> On a cluster with "hbase.snapshot.enabled" true, the /hbase/.hbase-snapshot 
> directory will not exists until a first snapshot will get created.
> meanwhile the SnapshotFileCache (snapshot cleaner) will keep print out as 
> error that the snapshot dir doesn't exists every N seconds 
> ("hbase.master.hfilecleaner.plugins.snapshot.period")
> {code}
> LOG.error("Snapshot directory: " + snapshotDir + " doesn't exist");
> {code}

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

Reply via email to