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

Li Bo commented on HDFS-8719:
-----------------------------

Yes, when to start a parity cell, the {{streamer}} used in 
{{adjustChunkBoundary}}  is the previous one. I think we need to update 
{{chunksPerPacket}} after the streamer is updated. Please see my new patch.

> Erasure Coding: client generates too many small packets when writing parity 
> data
> --------------------------------------------------------------------------------
>
>                 Key: HDFS-8719
>                 URL: https://issues.apache.org/jira/browse/HDFS-8719
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Li Bo
>            Assignee: Li Bo
>         Attachments: HDFS-8719-001.patch, HDFS-8719-HDFS-7285-001.patch
>
>
> Typically a packet is about 64K, but when writing parity data, many small 
> packets with size 512 bytes are generated. This may slow the write speed and 
> increase the network IO.



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

Reply via email to