You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Arpit Agarwal (JIRA)" <ji...@apache.org> on 2015/04/27 19:51:40 UTC

[jira] [Commented] (HDFS-8229) LAZY_PERSIST file gets deleted after NameNode restart.

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

Arpit Agarwal commented on HDFS-8229:
-------------------------------------

Thank you for reporting this [~surendrasingh], good catch.

A better fix is to check is to avoid deleting until the NN is out of safe mode.

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