[ https://issues.apache.org/jira/browse/HDFS-7679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14291712#comment-14291712 ]
Li Bo commented on HDFS-7679: ----------------------------- The first patch shows the idea of EC encode/decode framework. Still a lot work to do. > EC encode/decode framework > -------------------------- > > Key: HDFS-7679 > URL: https://issues.apache.org/jira/browse/HDFS-7679 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Li Bo > Assignee: Li Bo > Attachments: ECEncodeDecodeFramework.patch > > > EC tasks such as client striping write, encode replicated file to EC style, > transform block layout from contiguous to striping, reconstruct some corrupt > blocks, etc, have similar behavior. They all read data from > client/BlockGroup, encode/decode them, and write the results to some > datanodes. So we can use a unified framework to handle all these tasks. We > can use different BlockGroupReader, Coder(ECEncoder/ECDecoder) and > BlockWriter to handle different EC tasks. -- This message was sent by Atlassian JIRA (v6.3.4#6332)