[ 
https://issues.apache.org/jira/browse/HDFS-12987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal updated HDFS-12987:
---------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 3.1.0
           Status: Resolved  (was: Patch Available)

+1. I've committed this. Thanks Karthik and Surendra.

> 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
>             Fix For: 3.1.0
>
>         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