[ https://issues.apache.org/jira/browse/HDFS-12987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karthik Palanisamy updated HDFS-12987: -------------------------------------- Flags: Patch Attachment: HDFS-12987.patch > 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 > Attachments: HDFS-12987.patch > > > 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