[ https://issues.apache.org/jira/browse/HDFS-8276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14525204#comment-14525204 ]
Hudson commented on HDFS-8276: ------------------------------ FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #181 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/181/]) HDFS-8276. LazyPersistFileScrubber should be disabled if scrubber interval configured zero. (Contributed by Surendra Singh Lilhore) (arp: rev 64d30a61867e5cb0a2acaa7ae4fa4d3eb3be8edd) * hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/LazyPersistTestCase.java * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java * hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestLazyPersistFiles.java * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt > LazyPersistFileScrubber should be disabled if scrubber interval configured > zero > ------------------------------------------------------------------------------- > > Key: HDFS-8276 > URL: https://issues.apache.org/jira/browse/HDFS-8276 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode > Affects Versions: 2.6.0 > Reporter: surendra singh lilhore > Assignee: surendra singh lilhore > Fix For: 2.8.0 > > Attachments: HDFS-8276.patch, HDFS-8276_1.patch > > > bq. but I think it is simple enough to change the meaning of the value so > that zero means 'never scrub'. Let me post an updated patch. > As discussed in [HDFS-6929|https://issues.apache.org/jira/browse/HDFS-6929], > scrubber should be disable if > *dfs.namenode.lazypersist.file.scrub.interval.sec* is zero. > Currently namenode startup is failing if interval configured zero > {code} > 2015-04-27 23:47:31,744 ERROR > org.apache.hadoop.hdfs.server.namenode.FSNamesystem: FSNamesystem > initialization failed. > java.lang.IllegalArgumentException: > dfs.namenode.lazypersist.file.scrub.interval.sec must be non-zero. > at > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:828) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)