[
https://issues.apache.org/jira/browse/HDFS-1601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12991310#comment-12991310
]
Tsz Wo (Nicholas), SZE commented on HDFS-1601:
----------------------------------------------
It seems that using {{BufferedOutputStream}} is a better solution since it will
also help other operations.
BTW, do you know why there are four one-byte packets?
> Pipeline ACKs are sent as lots of tiny TCP packets
> --------------------------------------------------
>
> Key: HDFS-1601
> URL: https://issues.apache.org/jira/browse/HDFS-1601
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: data-node
> Affects Versions: 0.22.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Fix For: 0.22.0
>
>
> I noticed in an hbase benchmark that the packet counts in my network
> monitoring seemed high, so took a short pcap trace and found that each
> pipeline ACK was being sent as five packets, the first four of which only
> contain one byte. We should buffer these bytes and send the PipelineAck as
> one TCP packet.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira