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

Zhe Zhang commented on HDFS-8328:
---------------------------------

bq. paddingBufferToLen(..) for multiple zeroStripeBuffers[] is wasting time. 
One zeroStripeBuffer is enough.
Good thought Walter. But as Kai mentioned on another JIRA, the input buffers 
could be altered in the decode method. Maybe we should do this zero copy update 
after the HADOOP side changes to keep input buffers unchanged.

> Follow-on to update decode for DataNode striped blocks reconstruction
> ---------------------------------------------------------------------
>
>                 Key: HDFS-8328
>                 URL: https://issues.apache.org/jira/browse/HDFS-8328
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Yi Liu
>            Assignee: Yi Liu
>         Attachments: HDFS-8328-HDFS-7285.001.patch, 
> HDFS-8328-HDFS-7285.002.patch
>
>
> Current the decode for DataNode striped blocks reconstruction is a 
> workaround, we need to update it after the decode fix in HADOOP-11847.



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

Reply via email to