hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinayakumar B (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3716) Purger should remove stale fsimage ckpt files
Date Fri, 29 May 2015 11:11:17 GMT

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

Vinayakumar B commented on HDFS-3716:
-------------------------------------

change looks fine to me.
I think you can add one test case for this.

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

Mime
View raw message