hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8229) LAZY_PERSIST file gets deleted after NameNode restart.
Date Wed, 29 Apr 2015 22:23:08 GMT

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

Arpit Agarwal commented on HDFS-8229:

Thanks for the update [~surendrasingh]. We should also add a check for HA status. if isHaEnabled()
then inActiveState() should be true. Sorry I should have mentioned that earlier.

Also perhaps we can update the test case to make it more predictable. e.g. stop DNs, restart
just the NN, wait until we see corrupt files and check they are not deleted.

> 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

View raw message