Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 47561 invoked from network); 28 Mar 2008 00:06:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Mar 2008 00:06:43 -0000 Received: (qmail 73489 invoked by uid 500); 28 Mar 2008 00:06:38 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 73454 invoked by uid 500); 28 Mar 2008 00:06:38 -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 73162 invoked by uid 99); 28 Mar 2008 00:06:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2008 17:06:37 -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; Fri, 28 Mar 2008 00:06:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 96A8E234C0B5 for ; Thu, 27 Mar 2008 17:04:26 -0700 (PDT) Message-ID: <132054493.1206662666616.JavaMail.jira@brutus> Date: Thu, 27 Mar 2008 17:04:26 -0700 (PDT) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-3108) NPE in FSDirectory.unprotectedSetPermission In-Reply-To: <567262857.1206642444370.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-3108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo (Nicholas), SZE updated HADOOP-3108: ------------------------------------------- Attachment: 3108_20080327.patch Here is the codes I got. Konstantin will continue work on it. > NPE in FSDirectory.unprotectedSetPermission > ------------------------------------------- > > Key: HADOOP-3108 > URL: https://issues.apache.org/jira/browse/HADOOP-3108 > Project: Hadoop Core > Issue Type: Bug > Components: dfs > Affects Versions: 0.16.1 > Reporter: Koji Noguchi > Assignee: Konstantin Shvachko > Priority: Blocker > Fix For: 0.16.2 > > Attachments: 3108_20080327.patch > > > Not sure if this is fixed in later release, but I'm seeing many NPE in the namenode log. > Permission is disabled on this cluster. > {noformat} > 2008-03-27 03:22:39,984 INFO org.apache.hadoop.ipc.Server: IPC Server handler 18 on 8020, > call setPermission(/user/knoguchi/file0, rwxr-xr-x) from 99.9.99.9:55555: > error: java.io.IOException: java.lang.NullPointerException > java.io.IOException: java.lang.NullPointerException > at org.apache.hadoop.dfs.FSDirectory.unprotectedSetPermission(FSDirectory.java:411) > at org.apache.hadoop.dfs.FSDirectory.setPermission(FSDirectory.java:405) > at org.apache.hadoop.dfs.FSNamesystem.setPermission(FSNamesystem.java:716) > at org.apache.hadoop.dfs.NameNode.setPermission(NameNode.java:297) > at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:409) > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:899) > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.