[
https://issues.apache.org/jira/browse/HDFS-8719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14618363#comment-14618363
]
Walter Su commented on HDFS-8719:
---------------------------------
02 patch does adjustChunkBoundary() every time before switching streamer. It's
a simple but smart approach.
{code}
+ adjustChunkBoundary();
{code}
This line matters. Please remove the overrided function
{{adjustChunkBoundary()}}. It's no longer needed.
> 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,
> HDFS-8719-HDFS-7285-002.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)