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

Kai Zheng commented on HDFS-8668:
---------------------------------

[~jingzhao] maybe you could take a look at this and let see if it sounds good? 
Note I used *ElasticByteBufferPool* in favor of *DirectBufferPool* because we 
need to deal with both on-heap ByteBuffer and off-heap ByteBuffer, as the issue 
targeted. Thanks.

> Erasure Coding: revisit buffer used for encoding and decoding.
> --------------------------------------------------------------
>
>                 Key: HDFS-8668
>                 URL: https://issues.apache.org/jira/browse/HDFS-8668
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Yi Liu
>            Assignee: Kai Zheng
>         Attachments: HDFS-8668-v1.patch, HDFS-8668-v2.patch
>
>
> For encoding and decoding buffers, currently some places use java heap 
> ByteBuffer,  some use direct byteBUffer, and some use java byte array.  If 
> the coder implementation is native, we should use direct ByteBuffer. This 
> jira is to  revisit all encoding/decoding buffers and improve them.



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

Reply via email to