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 "J.Andreina (JIRA)" <ji...@apache.org> on 2015/05/28 13:29:20 UTC

[jira] [Updated] (HDFS-3716) Purger should remove stale fsimage ckpt files

     [ https://issues.apache.org/jira/browse/HDFS-3716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

J.Andreina updated HDFS-3716:
-----------------------------
    Attachment: HDFS-3716.1.patch

Attached an initial patch to remove stale fsimage ckpt files . 
please review.

> Purger should remove stale fsimage ckpt files
> ---------------------------------------------
>
>                 Key: HDFS-3716
>                 URL: https://issues.apache.org/jira/browse/HDFS-3716
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>    Affects Versions: 2.0.0-alpha
>            Reporter: suja s
>            Assignee: J.Andreina
>            Priority: Minor
>         Attachments: HDFS-3716.1.patch
>
>
> NN got killed while checkpointing in progress before renaming the ckpt file to actual file.
> Since the checkpointing process is not completed, on next NN startup it will load previous fsimage and apply rest of the edits.
> Functionally there's no harm but this ckpt file will be retained as is.
> Purger will not remove the ckpt file though other old fsimage files will be taken care.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)