Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 51219 invoked from network); 3 Jun 2010 18:13:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Jun 2010 18:13:17 -0000 Received: (qmail 18145 invoked by uid 500); 3 Jun 2010 18:13:17 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 18064 invoked by uid 500); 3 Jun 2010 18:13:16 -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 18056 invoked by uid 99); 3 Jun 2010 18:13:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2010 18:13:16 +0000 X-ASF-Spam-Status: No, hits=-1494.8 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2010 18:13:16 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o53ICtgs002401 for ; Thu, 3 Jun 2010 18:12:56 GMT Message-ID: <26964294.163551275588775785.JavaMail.jira@thor> Date: Thu, 3 Jun 2010 14:12:55 -0400 (EDT) From: "Konstantin Shvachko (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Updated: (HDFS-615) TestLargeDirectoryDelete fails with NullPointerException In-Reply-To: <298571834.1252720017463.JavaMail.jira@brutus> 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-615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konstantin Shvachko updated HDFS-615: ------------------------------------- Fix Version/s: 0.21.0 Priority: Blocker (was: Minor) Looks like this causes a real pain for people. Should probably be fixed for 0.21 as a release cannot go on with failed tests. > TestLargeDirectoryDelete fails with NullPointerException > -------------------------------------------------------- > > Key: HDFS-615 > URL: https://issues.apache.org/jira/browse/HDFS-615 > Project: Hadoop HDFS > Issue Type: Bug > Components: name-node > Affects Versions: 0.21.0 > Environment: 64-bit debian 5, 64-bit sun java6, running in a single processor VM. > Reporter: Eli Collins > Priority: Blocker > Fix For: 0.21.0 > > Attachments: HDFS-615.patch, TestLargeDirectoryDelete.zip > > > I've hit the following failure two out of two times running "ant test" at rev 813587. This test doesn't appear to be failing on hudson. All other tests passed except TestHDFSFileSystemContract which timed out, so perhaps there's a race due to the test executing slowly. > [junit] Running org.apache.hadoop.hdfs.server.namenode.TestLargeDirectoryDelete > [junit] Exception in thread "Thread-30148" java.lang.NullPointerException > [junit] at org.apache.hadoop.hdfs.server.namenode.NameNodeAdapter.getNamesystem(NameNodeAdapter.java:32) > [junit] at org.apache.hadoop.hdfs.MiniDFSCluster.getNamesystem(MiniDFSCluster.java:522) > [junit] at org.apache.hadoop.hdfs.server.namenode.TestLargeDirectoryDelete.getBlockCount(TestLargeDirectoryDelete.java:75) > [junit] at org.apache.hadoop.hdfs.server.namenode.TestLargeDirectoryDelete.access$000(TestLargeDirectoryDelete.java:38) > [junit] at org.apache.hadoop.hdfs.server.namenode.TestLargeDirectoryDelete$1.run(TestLargeDirectoryDelete.java:90) > [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 94.264 sec > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ No failures or errors? > public static FSNamesystem getNamesystem(NameNode namenode) { > return namenode.getNamesystem(); <=========== > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.