[
https://issues.apache.org/jira/browse/HDFS-8804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jing Zhao updated HDFS-8804:
----------------------------
Attachment: HDFS-8804.001.patch
Thanks Nicholas for the review! Update the patch to address the comments. I did
not add synchronized to {{getParityBuffer}} because it is only used in
StatefulStripeReader which is already protected by the lock.
> 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
> 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)