Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D37021880B for ; Fri, 10 Jul 2015 18:09:06 +0000 (UTC) Received: (qmail 22684 invoked by uid 500); 10 Jul 2015 18:09:05 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 22622 invoked by uid 500); 10 Jul 2015 18:09:05 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 22408 invoked by uid 99); 10 Jul 2015 18:09:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jul 2015 18:09:05 +0000 Date: Fri, 10 Jul 2015 18:09:05 +0000 (UTC) From: "Jing Zhao (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-8744) Erasure Coding: the number of chunks in packet is not updated when writing parity data MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)