[
https://issues.apache.org/jira/browse/HDFS-8744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14622683#comment-14622683
]
Jing Zhao commented on HDFS-8744:
---------------------------------
bq. packet_0 has 504 checksum + 64512 data
bq. packet_1 has 8 checksum + 1024 data
So do you mean we should avoid generating multiple packets for this 64KB data?
Then this is similar with HDFS-8734?
> 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)