[
https://issues.apache.org/jira/browse/HDFS-8744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14623080#comment-14623080
]
Walter Su commented on HDFS-8744:
---------------------------------
I mean packet_0 should has 126 chunks, every chunk has 4 checksum and 512 data.
But now packet_0 has 1 chunk, the chunk has 504 checksum and 64512 data.
Similarly, packet_0 should has 2 chunks.
> 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,
> HDFS-8744-HDFS-7285-002.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)