[
https://issues.apache.org/jira/browse/HDFS-6136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13946022#comment-13946022
]
Todd Lipcon commented on HDFS-6136:
-----------------------------------
Hey Nick. This is a surprising bug fix since data transfer apparently works
fine without it. Is there any effect of this change? If not, why not? Seems
like getting this wrong should cause problems :)
> PacketReceiver#doRead calls setFieldsFromData with wrong argument
> -----------------------------------------------------------------
>
> Key: HDFS-6136
> URL: https://issues.apache.org/jira/browse/HDFS-6136
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: datanode
> Affects Versions: 2.3.0
> Reporter: Nick White
> Labels: patch
> Attachments: HDFS-6136.patch
>
>
> PacketHeader#setFieldsFromData takes the packet length as the first argument,
> but PacketReceiver#doRead passes the dataPlusChecksumLen (which is 4 less).
--
This message was sent by Atlassian JIRA
(v6.2#6252)