[
https://issues.apache.org/jira/browse/HDFS-8744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14621340#comment-14621340
]
Jing Zhao commented on HDFS-8744:
---------------------------------
The patch looks good to me. One minor is that the old {{incNumChunks}} can now
be replaced by the new one. +1 after addressing the comment.
> Erasure Coding: the number of chunks in packet is not updated when writing
> parity data
> --------------------------------------------------------------------------------------
>
> Key: HDFS-8744
> URL: https://issues.apache.org/jira/browse/HDFS-8744
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Li Bo
> Assignee: Li Bo
> Attachments: HDFS-8744-HDFS-7285-001.patch
>
>
> The member {{numChunks}} in {{DFSPacket}} is always zero if this packet
> contains parity data. The calling of {{getNumChunks}} may cause potential
> errors.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)