hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhe Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8804) Erasure Coding: use DirectBufferPool in DFSStripedInputStream for buffer allocation
Date Tue, 04 Aug 2015 22:49:04 GMT

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

Zhe Zhang commented on HDFS-8804:
---------------------------------

Thanks Jing, sounds good to me. I'll try to do a follow-on to add some more checking in how
{{StripedBlockUtil}} allocates {{buf}} to chunks.

> Erasure Coding: use DirectBufferPool in DFSStripedInputStream for buffer allocation
> -----------------------------------------------------------------------------------
>
>                 Key: HDFS-8804
>                 URL: https://issues.apache.org/jira/browse/HDFS-8804
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>             Fix For: HDFS-7285
>
>         Attachments: HDFS-8804.000.patch, HDFS-8804.001.patch
>
>
> Currently we directly allocate direct ByteBuffer in DFSStripedInputstream for the stripe
buffer and the buffers holding parity data. It's better to get ByteBuffer from DirectBufferPool.



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

Mime
View raw message