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 384E717ED3 for ; Mon, 16 Mar 2015 23:15:40 +0000 (UTC) Received: (qmail 75895 invoked by uid 500); 16 Mar 2015 23:15:40 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 75844 invoked by uid 500); 16 Mar 2015 23:15:40 -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 75832 invoked by uid 99); 16 Mar 2015 23:15:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Mar 2015 23:15:39 +0000 Date: Mon, 16 Mar 2015 23:15:39 +0000 (UTC) From: "Jing Zhao (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-7826) Erasure Coding: Update INodeFile quota computation for striped blocks 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-7826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14364171#comment-14364171 ] Jing Zhao commented on HDFS-7826: --------------------------------- Thanks Kai! Only one comment remaining: In {{storagespaceConsumedWithStriped}}, the current code only handles the scenario where the last block is UC, but misses the case that the last block is complete. +1 after fixing this. bq. And can I create another JIRA for making unit test for this ticket? Sure. Please go ahead to create the jira. Thanks Kai. > Erasure Coding: Update INodeFile quota computation for striped blocks > --------------------------------------------------------------------- > > Key: HDFS-7826 > URL: https://issues.apache.org/jira/browse/HDFS-7826 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Jing Zhao > Assignee: Kai Sasaki > Attachments: HDFS-7826.1.patch, HDFS-7826.2.patch, HDFS-7826.3.patch, HDFS-7826.4.patch > > > Currently INodeFile's quota computation only considers contiguous blocks (i.e., {{INodeFile#blocks}}). We need to update it to support striped blocks. -- This message was sent by Atlassian JIRA (v6.3.4#6332)