[ https://issues.apache.org/jira/browse/HDFS-7827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14577605#comment-14577605 ]
Jing Zhao commented on HDFS-7827: --------------------------------- I just found that 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. I will create a jira to fix this. {code} NameNodeLayoutVersion.supports( NameNodeLayoutVersion.Feature.ERASURE_CODING, imgVersion) {code} > Erasure Coding: support striped blocks in non-protobuf fsimage > -------------------------------------------------------------- > > Key: HDFS-7827 > URL: https://issues.apache.org/jira/browse/HDFS-7827 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Jing Zhao > Assignee: Hui Zheng > Fix For: HDFS-7285 > > Attachments: HDFS-7827.000.patch, HDFS-7827.002.patch, > HDFS-7827.003.patch, HDFS-7827.004.patch > > > HDFS-7749 only adds code to persist striped blocks to protobuf-based fsimage. > We should also add this support to the non-protobuf fsimage since it is still > used for use cases like offline image processing. -- This message was sent by Atlassian JIRA (v6.3.4#6332)