[ 
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)

Reply via email to