[
https://issues.apache.org/jira/browse/HBASE-8540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13656564#comment-13656564
]
Matteo Bertozzi commented on HBASE-8540:
----------------------------------------
My guess is that we should care about the missing dir just when we got a non
empty directory in the previous run...
{code}
if (this.cache.size() > 0) {
LOG.error("Snapshot directory: " + snapshotDir + " doesn't exist");
}
{code}
any other thoughts?
> 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
> Reporter: Matteo Bertozzi
> Assignee: Matteo Bertozzi
> Priority: Trivial
>
> 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