[
https://issues.apache.org/jira/browse/HDFS-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14306867#comment-14306867
]
Kai Zheng commented on HDFS-7662:
---------------------------------
Change summary:
1. Refactored the API, getting rid of the questionable callback for easy
understanding and using.
2. Provided workable examples per [~zhz]'s request and also for good
understanding of the API.
3. It only considers the most simple but often case that only *one step* is
involved to encode/decode a block group. The API is subject to change to
support complex cases of multiple coding steps. Will have a follow up JIRA for
this.
> Erasure Coder API for encoding and decoding of block group
> ----------------------------------------------------------
>
> Key: HDFS-7662
> URL: https://issues.apache.org/jira/browse/HDFS-7662
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Kai Zheng
> Assignee: Kai Zheng
> Attachments: HDFS-7662-v1.patch, HDFS-7662-v2.patch
>
>
> This is to define ErasureCoder API for encoding and decoding of BlockGroup.
> Given a BlockGroup, ErasureCoder extracts data chunks from the blocks and
> leverages RawErasureCoder defined in HDFS-7353 to perform concrete encoding
> or decoding.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)