hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-5783) Compute the digest before loading FSImage
Date Sat, 18 Jan 2014 00:46:22 GMT

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

Jing Zhao updated HDFS-5783:
----------------------------

    Attachment: HDFS-5783.002.patch

The 001 patch looks good to me. +1

Nit: we should add "if (cluster != null)" before we shutdown the cluster, and some unused
imports can be removed. Since this is trivial, I just made this change and upload the 002
patch.

> Compute the digest before loading FSImage
> -----------------------------------------
>
>                 Key: HDFS-5783
>                 URL: https://issues.apache.org/jira/browse/HDFS-5783
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: HDFS-5698 (FSImage in protobuf)
>            Reporter: Haohui Mai
>            Assignee: Haohui Mai
>         Attachments: HDFS-5783.000.patch, HDFS-5783.001.patch, HDFS-5783.002.patch
>
>
> When loading the fsimage, the current code computes its MD5 digest on-the-fly. It does
not work when the code does not read all the sections in strictly sequential order.
> This jira proposes to compute the MD5 digest before loading fsimage.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message