[
https://issues.apache.org/jira/browse/HDFS-8559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jing Zhao updated HDFS-8559:
----------------------------
Attachment: HDFS-8559.000.patch
For now we can save and load striped blocks just as contiguous blocks in a
legacy fsimage. Since the legacy fsimage currently is only used for offline
analysis, not exposing striped blocks information there should be fine.
> 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)