[
https://issues.apache.org/jira/browse/HDFS-8382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14551439#comment-14551439
]
Kai Zheng commented on HDFS-8382:
---------------------------------
Thanks for the comment, Nicholas. While having the initialize method makes
somethings easy I agree it's better to remove it. Previously I was thinking
there are something heavy to be done not appropriate in constructor, but for
now when I have finished the native coders, I agree the initialization work can
also be done well in constructor.
Will remove the initialize method as well in following updated patch.
> Remove chunkSize parameter from initialize method of raw erasure coder
> ----------------------------------------------------------------------
>
> Key: HDFS-8382
> URL: https://issues.apache.org/jira/browse/HDFS-8382
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Kai Zheng
> Assignee: Kai Zheng
> Attachments: HDFS-8382-HDFS-7285-v1.patch,
> HDFS-8382-HDFS-7285-v2.patch
>
>
> Per discussion in HDFS-8347, we need to support encoding/decoding variable
> width units data instead of predefined fixed width like {{chunkSize}}. Have
> this issue to remove chunkSize in the general raw erasure coder API. Specific
> coder will support fixed chunkSize using hard-coded or specific schema
> customizing way if necessary, like HitchHiker coder.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)