You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Karthik Palanisamy (JIRA)" <ji...@apache.org> on 2018/01/04 09:53:00 UTC

[jira] [Created] (HDFS-12987) Document - Disabling the Lazy persist file scrubber.

Karthik Palanisamy created HDFS-12987:
-----------------------------------------

             Summary: Document - Disabling the Lazy persist file scrubber.
                 Key: HDFS-12987
                 URL: https://issues.apache.org/jira/browse/HDFS-12987
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: documentation, hdfs
            Reporter: Karthik Palanisamy
            Assignee: Karthik Palanisamy
            Priority: Trivial


LazyPersistFileScrubber will be disabled if scrubber interval configured to zero. But the document was incorrect - "Set it to a negative value to disable this behavior". 

Namenode will not start if we set to negative value. We have another strong check to prevent it.

{code:java}
   if (this.lazyPersistFileScrubIntervalSec < 0) {
        throw new IllegalArgumentException(
            DFS_NAMENODE_LAZY_PERSIST_FILE_SCRUB_INTERVAL_SEC
                + " must be zero (for disable) or greater than zero.");
      }
{code}

This seems reflected due to [HDFS-8276|https://issues.apache.org/jira/browse/HDFS-8276]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org