Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 80360 invoked from network); 29 Sep 2007 06:05:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Sep 2007 06:05:15 -0000 Received: (qmail 46564 invoked by uid 500); 29 Sep 2007 06:05:04 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 46530 invoked by uid 500); 29 Sep 2007 06:05:04 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 46521 invoked by uid 99); 29 Sep 2007 06:05:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 23:05:04 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Sep 2007 06:07:38 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 64E4D71421B for ; Fri, 28 Sep 2007 23:04:51 -0700 (PDT) Message-ID: <25701346.1191045891410.JavaMail.jira@brutus> Date: Fri, 28 Sep 2007 23:04:51 -0700 (PDT) From: "Hadoop QA (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-1935) NullPointerException in internalReleaseCreate In-Reply-To: <26321152.1190421710689.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-1935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531212 ] Hadoop QA commented on HADOOP-1935: ----------------------------------- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12366794/npePendingCreate2.patch against trunk revision r580487. @author +1. The patch does not contain any @author tags. javadoc +1. The javadoc tool did not generate any warning messages. javac +1. The applied patch does not generate any new compiler warnings. findbugs -1. The patch appears to introduce 1 new Findbugs warnings. core tests +1. The patch passed core unit tests. contrib tests +1. The patch passed contrib unit tests. Test results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/848/testReport/ Findbugs warnings: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/848/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/848/artifact/trunk/build/test/checkstyle-errors.html Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/848/console This message is automatically generated. > NullPointerException in internalReleaseCreate > --------------------------------------------- > > Key: HADOOP-1935 > URL: https://issues.apache.org/jira/browse/HADOOP-1935 > Project: Hadoop > Issue Type: Bug > Components: dfs > Affects Versions: 0.15.0 > Reporter: Konstantin Shvachko > Assignee: dhruba borthakur > Priority: Blocker > Fix For: 0.15.0 > > Attachments: npePendingCreate2.patch > > > The exception occurs during abandonFileInProgress(). > {code} > 07/09/21 13:59:28 ERROR fs.FSNamesystem: java.lang.NullPointerException > at org.apache.hadoop.dfs.FSNamesystem.internalReleaseCreate(FSNamesystem.java:1494) > at org.apache.hadoop.dfs.FSNamesystem.access$100(FSNamesystem.java:50) > at org.apache.hadoop.dfs.FSNamesystem$Lease.releaseLocks(FSNamesystem.java:1385) > at org.apache.hadoop.dfs.FSNamesystem$LeaseMonitor.run(FSNamesystem.java:1447) > at java.lang.Thread.run(Thread.java:595) > {code} > My guess is that the client sends abandonFileInProgress() after create(), which timed out and was not executed by the name-node. > That is why dir.getFileINode(src) returns null in internalReleaseCreate(). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.