hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rakesh R (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8493) Consolidate truncate() related implementation in a single class
Date Tue, 02 Jun 2015 10:11:18 GMT

    [ 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)

Mime
View raw message