hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo Nicholas Sze (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-8071) Redundant checkFileProgress() in PART II of getAdditionalBlock()
Date Tue, 07 Apr 2015 01:59:12 GMT

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

Tsz Wo Nicholas Sze updated HDFS-8071:
    Hadoop Flags: Reviewed

+1 patch looks good.

> Redundant checkFileProgress() in PART II of getAdditionalBlock()
> ----------------------------------------------------------------
>                 Key: HDFS-8071
>                 URL: https://issues.apache.org/jira/browse/HDFS-8071
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 2.0.3-alpha
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>         Attachments: HDFS-8071-01.patch, HDFS-8071-02.patch
> {{FSN.getAdditionalBlock()}} consists of two parts I and II. Each part calls {{analyzeFileState()}},
which among other things check replication of the penultimate block via {{checkFileProgress()}}.
See details in HDFS-4452.
> Checking file progress in Part II is not necessary, because Part I already assured the
penultimate block is complete. It cannot change to incomplete, unless the file is truncated,
which is not allowed for files under construction.

This message was sent by Atlassian JIRA

View raw message