hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kai Zheng (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12327) Initialize output buffers with ZERO bytes in erasure coder
Date Thu, 29 Oct 2015 00:49:29 GMT

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

Kai Zheng commented on HADOOP-12327:
------------------------------------

Thanks Walter for the review and good nit! Will update the patch shortly.

> Initialize output buffers with ZERO bytes in erasure coder
> ----------------------------------------------------------
>
>                 Key: HADOOP-12327
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12327
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Kai Zheng
>            Assignee: Kai Zheng
>             Fix For: HDFS-7285
>
>         Attachments: HADOOP-12327-HDFS-7285-v1.patch, HADOOP-12327-v2.patch
>
>
> Make sure output buffers are initialized with ZERO bytes in order for:
> * Coder callers won't have to bother doing that;
> * Avoid possible buggy codes if caller forgets doing that;
> * More efficiency, with a shared, length enough empty buffer allocated.



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

Mime
View raw message