hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12047) Indicate preference not to affect input buffers during coding in erasure coder
Date Mon, 02 Nov 2015 03:35:27 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-12047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14984696#comment-14984696
] 

Hudson commented on HADOOP-12047:
---------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #614 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/614/])
HADOOP-12047. Indicate preference not to affect input buffers during (waltersu4549: rev 6e4f8a46c5ce983493cb0ac2234fceafdb3a5613)
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/erasurecode/rawcoder/AbstractRawErasureCoder.java
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/erasurecode/rawcoder/RawErasureEncoder.java
* hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/erasurecode/rawcoder/TestRawCoderBase.java
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/erasurecode/rawcoder/RawErasureCoder.java
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/erasurecode/rawcoder/CoderOption.java
* hadoop-common-project/hadoop-common/CHANGES.txt
* hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSStripedInputStream.java
* hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/erasurecode/rawcoder/TestXORRawCoder.java
* hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/erasurecode/TestCoderBase.java
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/erasurecode/rawcoder/RawErasureDecoder.java
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/erasurecode/rawcoder/RSRawEncoder.java


> Indicate preference not to affect input buffers during coding in erasure coder
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-12047
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12047
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Kai Zheng
>            Assignee: Kai Zheng
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-12047-HDFS-7285-v1.patch, HADOOP-12047-v2.patch, HADOOP-12047-v3.patch,
HADOOP-12047-v4.patch, HADOOP-12047-v5.patch, initial-poc.patch
>
>
> It's good to define and ensure input buffers are not affected during coding process in
raw erasure coders. Below are copied from discussion with [~jingzhao] in HDFS-8481:
> bq. In that case we cannot reuse the source buffers I guess? Then do we need to expose
this information in the decoder?
> bq. Good catch Jing! Yes in this case we can't reuse the source buffers here as they
need to be passed to caller/applications without being changed. I'm planning to re-implement
the Java coders in HADOOP-12041 and related, when done it's possible to ensure the input buffers
not to be affected. Benefits of doing this in coder layer: 1) a more clear contract between
coder and caller in more general sense for the inputs; 2) concrete coder may have specific
tweak to optimize in the aspect, ideally no input data copying at all, worst, make the copy,
but all transparent to callers; 3) allow new coders (LRC, HH) to be layered on other primitive
coders (RS, XOR) more easily.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message