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 CFD7E11C90 for ; Wed, 18 Jun 2014 17:32:25 +0000 (UTC) Received: (qmail 89645 invoked by uid 500); 18 Jun 2014 17:32:25 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 89599 invoked by uid 500); 18 Jun 2014 17:32:25 -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 89581 invoked by uid 99); 18 Jun 2014 17:32:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jun 2014 17:32:25 +0000 Date: Wed, 18 Jun 2014 17:32:25 +0000 (UTC) From: "Jing Zhao (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-6535) HDFS quota update is wrong when file is appended 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-6535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14036000#comment-14036000 ] Jing Zhao commented on HDFS-6535: --------------------------------- Hi [~GWong], thanks for working on this. This is actually a bug from HDFS-6423. Your patch looks good to me. The only comment is that maybe we can move all the new unit tests into TestDiskspaceQuotaUpdate.java, where we should also change the number of DN and the replication factor to some number greater than 1. > HDFS quota update is wrong when file is appended > ------------------------------------------------ > > Key: HDFS-6535 > URL: https://issues.apache.org/jira/browse/HDFS-6535 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode > Affects Versions: 2.4.0 > Reporter: George Wong > Attachments: HDFS-6535.patch, TestHDFSQuota.java > > > when a file in the directory with Quota feature is appended, the cached disk consumption should be updated. > But currently, the update is wrong. > Use the uploaded UT to reproduce this bug. -- This message was sent by Atlassian JIRA (v6.2#6252)