Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 77615 invoked from network); 20 May 2009 02:01:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 May 2009 02:01:55 -0000 Received: (qmail 46255 invoked by uid 500); 20 May 2009 02:02:08 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 46185 invoked by uid 500); 20 May 2009 02:02:08 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 46175 invoked by uid 99); 20 May 2009 02:02:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 May 2009 02:02:08 +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; Wed, 20 May 2009 02:02:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 90026234C045 for ; Tue, 19 May 2009 19:01:45 -0700 (PDT) Message-ID: <839412423.1242784905588.JavaMail.jira@brutus> Date: Tue, 19 May 2009 19:01:45 -0700 (PDT) From: "Konstantin Boudnik (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-5867) Cleaning NNBench* off javac warnings In-Reply-To: <1714988474.1242702165597.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/HADOOP-5867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konstantin Boudnik updated HADOOP-5867: --------------------------------------- Attachment: HADOOP-5867.patch All but one comments from the reviewer were taken into consideration and fixed. I'm hesitant to used suggestion from the review and modify the code in question to success = fileSys.rename(...) because rename() might return false in three cases our of four existing exit points. More generic question is: are we trying to count both false and true return as success and only exception throwing as a failure? > Cleaning NNBench* off javac warnings > ------------------------------------ > > Key: HADOOP-5867 > URL: https://issues.apache.org/jira/browse/HADOOP-5867 > Project: Hadoop Core > Issue Type: Improvement > Components: test > Affects Versions: 0.20.0 > Reporter: Konstantin Boudnik > Assignee: Konstantin Boudnik > Fix For: 0.21.0 > > Attachments: HADOOP-5867.patch, HADOOP-5867.patch, HADOOP-5867.patch > > > These files have a number of javac 'class depricated' warnings > src/test/hdfs-with-mr/org/apache/hadoop/hdfs/NNBench.java > src/test/hdfs-with-mr/org/apache/hadoop/hdfs/NNBenchWithoutMR.java > It is possible to fix most of them plus make some readability improvements on the code. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.