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-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to