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 6342B1776B for ; Tue, 2 Jun 2015 10:11:19 +0000 (UTC) Received: (qmail 37025 invoked by uid 500); 2 Jun 2015 10:11:18 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 36964 invoked by uid 500); 2 Jun 2015 10:11:18 -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 36764 invoked by uid 99); 2 Jun 2015 10:11:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jun 2015 10:11:18 +0000 Date: Tue, 2 Jun 2015 10:11:18 +0000 (UTC) From: "Rakesh R (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-8493) Consolidate truncate() related implementation in a single class 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-8493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14568885#comment-14568885 ] Rakesh R commented on HDFS-8493: -------------------------------- oops, I had done one mistake in the following condition. Now I've corrected it and uploaded another patch, will wait for the jenkins report. {code} FSDirTruncateOp#verifyQuotaForTruncate() + if (!fsn.isImageLoaded() || fsd.shouldSkipQuotaChecks()) { + // Do not check quota if edit log is still being processed + return; + } {code} > Consolidate truncate() related implementation in a single class > --------------------------------------------------------------- > > Key: HDFS-8493 > URL: https://issues.apache.org/jira/browse/HDFS-8493 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Haohui Mai > Assignee: Rakesh R > Attachments: HDFS-8493-001.patch, HDFS-8493-002.patch, HDFS-8493-003.patch, HDFS-8493-004.patch > > > This jira proposes to consolidate truncate() related methods into a single class. -- This message was sent by Atlassian JIRA (v6.3.4#6332)