[
https://issues.apache.org/jira/browse/HDFS-8156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14498820#comment-14498820
]
Kai Zheng commented on HDFS-8156:
---------------------------------
Hi [~zhz],
Thanks for the review and comments.
bq.options could use some Javadoc to explain.
Right, this should be documented clearly. I will add to explain it.
bq.why do we need a set of options
I explained about this a little bit in the doc in HDFS-7337. In addition to
common and general parameters found in typical erasure codecs like RS, there
may be some codes that use some advanced specific parameters. For example, in
LRC, besides k & m, it should also need to specify additional parameters
regarding how to divide the source data units to have two local parity units.
The {{options}} (a map) would allow such possible settings for the
corresponding codec/coder to interpret itself.
bq.we can test a valid name and a non-existing name
We may already have, but sure will make sure about this.
Thanks!
> Define some system schemas in codes
> -----------------------------------
>
> Key: HDFS-8156
> URL: https://issues.apache.org/jira/browse/HDFS-8156
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Kai Zheng
> Assignee: Kai Zheng
> Attachments: HDFS-8156-v1.patch
>
>
> This is to define and add some system schemas in codes, and also resolve some
> TODOs left for HDFS-7859 and HDFS-7866 as they're still subject to further
> discussion.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)