Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 91593 invoked from network); 14 Oct 2008 22:12:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Oct 2008 22:12:07 -0000 Received: (qmail 68677 invoked by uid 500); 14 Oct 2008 22:12:05 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 68667 invoked by uid 500); 14 Oct 2008 22:12:05 -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 68656 invoked by uid 99); 14 Oct 2008 22:12:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Oct 2008 15:12:05 -0700 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; Tue, 14 Oct 2008 22:11:07 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4DBB9234C227 for ; Tue, 14 Oct 2008 15:11:44 -0700 (PDT) Message-ID: <667655107.1224022304317.JavaMail.jira@brutus> Date: Tue, 14 Oct 2008 15:11:44 -0700 (PDT) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-4358) NPE from CreateEditsLog In-Reply-To: <654127090.1223339144335.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-4358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639622#action_12639622 ] Tsz Wo (Nicholas), SZE commented on HADOOP-4358: ------------------------------------------------ > We should change the INode code and add the precision parameter to all methods/constructors that set access time, and have a constant for the default precision. I think we should round off atime to int before passing to INode. > NPE from CreateEditsLog > ----------------------- > > Key: HADOOP-4358 > URL: https://issues.apache.org/jira/browse/HADOOP-4358 > Project: Hadoop Core > Issue Type: Bug > Components: dfs, test > Affects Versions: 0.19.0 > Reporter: Chris Douglas > Priority: Blocker > Fix For: 0.19.0 > > > HADOOP-1869 added a call to setAccessTime(long) from the INode cstr, which relies on a non-null value from FSNamesystem::getFSNamesystem. > {noformat} > java.lang.NullPointerException > at org.apache.hadoop.hdfs.server.namenode.INode.setAccessTime(INode.java:301) > at org.apache.hadoop.hdfs.server.namenode.INode.(INode.java:99) > at org.apache.hadoop.hdfs.server.namenode.INodeDirectory.(INodeDirectory.java:45) > at org.apache.hadoop.hdfs.CreateEditsLog.addFiles(CreateEditsLog.java:68) > at org.apache.hadoop.hdfs.CreateEditsLog.main(CreateEditsLog.java:214) > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.