Return-Path: Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: (qmail 705 invoked from network); 25 Sep 2009 01:13:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Sep 2009 01:13:38 -0000 Received: (qmail 13078 invoked by uid 500); 25 Sep 2009 01:13:37 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 12991 invoked by uid 500); 25 Sep 2009 01:13:37 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 12974 invoked by uid 99); 25 Sep 2009 01:13:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 01:13:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 01:13:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 05ADF234C004 for ; Thu, 24 Sep 2009 18:13:16 -0700 (PDT) Message-ID: <1651250909.1253841196009.JavaMail.jira@brutus> Date: Thu, 24 Sep 2009 18:13:16 -0700 (PDT) From: "Konstantin Shvachko (JIRA)" To: hdfs-dev@hadoop.apache.org Subject: [jira] Resolved: (HDFS-652) Replace BlockInfo.isUnderConstruction() with isComplete() In-Reply-To: <486357290.1253826496101.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HDFS-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konstantin Shvachko resolved HDFS-652. -------------------------------------- Resolution: Fixed Hadoop Flags: [Reviewed] I just committed this. > Replace BlockInfo.isUnderConstruction() with isComplete() > ---------------------------------------------------------- > > Key: HDFS-652 > URL: https://issues.apache.org/jira/browse/HDFS-652 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: name-node > Affects Versions: Append Branch > Reporter: Konstantin Shvachko > Assignee: Konstantin Shvachko > Fix For: Append Branch > > Attachments: isComplete.patch, isComplete.patch > > > In current implementation {{BlockInfo.isUnderConstruction()}} means the block is not COMPLETE. But there is also a block state UNDER_CONSTRUCTION, which make the semantics of {{isUnderConstruction()}} rather confusing. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.