[
https://issues.apache.org/jira/browse/HDFS-11467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16205451#comment-16205451
]
SammiChen commented on HDFS-11467:
----------------------------------
Thanks [~HuafengWang] for working on it!
1. Suggest move the new private {{convertErasureCodingPolicy}} function to
{{PBHelperClient}}, and rename it to distinguish with the current
{{convertErasureCodingPolicy}} function.
2. A schema is a must-have to a policy, so would handle the case when schema
is null. Can use Preconditions to check it's null or not. Also should handle
the case when there is no policy found in the section.
3. If "extraOptions" is not NULL, persist it.
4. Extra unit test is preferred.
> Support ErasureCoding section in OIV XML/ReverseXML
> ---------------------------------------------------
>
> Key: HDFS-11467
> URL: https://issues.apache.org/jira/browse/HDFS-11467
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: tools
> Affects Versions: 3.0.0-alpha4
> Reporter: Wei-Chiu Chuang
> Assignee: Huafeng Wang
> Labels: hdfs-ec-3.0-must-do
> Attachments: HDFS-11467.001.patch
>
>
> As discussed in HDFS-7859, after ErasureCoding section is added into fsimage,
> we would like to also support exporting this section into an XML back and
> forth using the OIV tool.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]