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 "Yi Liu (JIRA)" <ji...@apache.org> on 2015/06/14 09:42:00 UTC
[jira] [Commented] (HDFS-8559) Erasure Coding: fix non-protobuf
fsimage for striped blocks
[ https://issues.apache.org/jira/browse/HDFS-8559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14584971#comment-14584971 ]
Yi Liu commented on HDFS-8559:
------------------------------
Yes, I agree, +1. Thanks for working on this, Jing!
I have checked related tests, all them passed, will commit the patch shortly.
> Erasure Coding: fix non-protobuf fsimage for striped blocks
> -----------------------------------------------------------
>
> Key: HDFS-8559
> URL: https://issues.apache.org/jira/browse/HDFS-8559
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Jing Zhao
> Assignee: Jing Zhao
> Priority: Minor
> Attachments: HDFS-8559.000.patch
>
>
> For a legacy fsimage we currently always record its layoutversion as -51 so that we can make sure it cannot be processed by a protobuf-based image parser. Thus the following code in the parser always returns false and the parse will fail.
> {code}
> NameNodeLayoutVersion.supports(
> NameNodeLayoutVersion.Feature.ERASURE_CODING, imgVersion)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)