[
https://issues.apache.org/jira/browse/HDFS-11604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15951882#comment-15951882
]
Kai Zheng edited comment on HDFS-11604 at 4/1/17 12:53 AM:
-----------------------------------------------------------
Thanks [~Sammi] for the quick work. For easy discussion, put the content below:
{code}
<configuration>
<schemas>
<schema id="HHk6m3">
<codec>HH</codec>
<k>6</k>
<m>3</m>
</schema>
<schema id="RSk12m4">
<codec>RS</codec>
<k>12</k>
<m>4</m>
</schema>
</schemas>
<policies>
<policy>
<schema>HHk6m3</schema>
<cellsize>128k</cellsize>
</policy>
<policy>
<schema>RSk12m4</schema>
<cellsize>256k</cellsize>
</policy>
</policies>
</configuration>
{code}
was (Author: drankye):
Thanks [~Sammi] for the quick work. For each discussion, put the content below:
{code}
<configuration>
<schemas>
<schema id="HHk6m3">
<codec>HH</codec>
<k>6</k>
<m>3</m>
</schema>
<schema id="RSk12m4">
<codec>RS</codec>
<k>12</k>
<m>4</m>
</schema>
</schemas>
<policies>
<policy>
<schema>HHk6m3</schema>
<cellsize>128k</cellsize>
</policy>
<policy>
<schema>RSk12m4</schema>
<cellsize>256k</cellsize>
</policy>
</policies>
</configuration>
{code}
> Define and parse erasure code codecs, schemas and policies
> ----------------------------------------------------------
>
> Key: HDFS-11604
> URL: https://issues.apache.org/jira/browse/HDFS-11604
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: erasure-coding
> Reporter: Kai Zheng
> Assignee: Lin Zeng
> Fix For: 3.0.0-alpha3
>
> Attachments: ec-config-sample.xml
>
>
> According to recent discussions with [~andrew.wang] in HDFS-7337, it would be
> good to support allowing users to define their own erasure code codecs,
> schemas and policies via an XML file. The XML file can be passed to a CLI cmd
> to parse and send to NameNode to persist and maintain.
> Open this task to define the XML format providing a default sample file to
> put in the configuration folder for users' reference, and implement the
> necessary parser utility.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]