[ https://issues.apache.org/jira/browse/HDFS-8229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14521145#comment-14521145 ]
surendra singh lilhore commented on HDFS-8229: ---------------------------------------------- Attached new patch, please review. In test case I am not using {{getCorruptReplicaBlocksCount()}} API for counting corrupt blocks because of [HDFS-8296|https://issues.apache.org/jira/browse/HDFS-8296] > LAZY_PERSIST file gets deleted after NameNode restart. > ------------------------------------------------------ > > Key: HDFS-8229 > URL: https://issues.apache.org/jira/browse/HDFS-8229 > Project: Hadoop HDFS > Issue Type: Bug > Components: HDFS > Affects Versions: 2.6.0 > Reporter: surendra singh lilhore > Assignee: surendra singh lilhore > Attachments: HDFS-8229.patch, HDFS-8229_1.patch, HDFS-8229_2.patch > > > {code} > 2015-04-20 10:26:55,180 WARN > org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Removing lazyPersist > file /LAZY_PERSIST/smallfile with no replicas. > {code} > After namenode restart and before DN's registration if > {{LazyPersistFileScrubber}} will run then it will delete Lazy persist file. -- This message was sent by Atlassian JIRA (v6.3.4#6332)