You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "dragon (JIRA)" <ji...@apache.org> on 2016/03/15 09:17:34 UTC

[jira] [Created] (HDFS-10121) CLONE - Erasure Coding: fix non-protobuf fsimage for striped blocks

dragon created HDFS-10121:
-----------------------------

             Summary: CLONE - Erasure Coding: fix non-protobuf fsimage for striped blocks
                 Key: HDFS-10121
                 URL: https://issues.apache.org/jira/browse/HDFS-10121
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: dragon
            Assignee: Jing Zhao
            Priority: Minor


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)