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

Karthik Palanisamy commented on HDFS-12987:
-------------------------------------------

cc: [~surendrasingh]

> 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
>              Labels: documentation
>         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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to