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

surendra singh lilhore commented on HDFS-8229:
----------------------------------------------

Thanks [~arpitagarwal] for review. I have one doubt, why we need to check 
{{isHaEnabled()}} and {{inActiveState()}} ??

{{LazyPersistFileScrubber}} started by {{startActiveServices()}} and this API 
start services for active namenode only. Please correct me if I am wrong.


> 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
>
>
> {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)

Reply via email to