Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 311 invoked from network); 28 Mar 2008 18: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 18:06:43 -0000 Received: (qmail 58532 invoked by uid 500); 28 Mar 2008 18:06:40 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 58510 invoked by uid 500); 28 Mar 2008 18:06:40 -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 58501 invoked by uid 99); 28 Mar 2008 18:06:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Mar 2008 11:06:40 -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 18:05:58 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B4947234C0AD for ; Fri, 28 Mar 2008 11:04:24 -0700 (PDT) Message-ID: <1679795785.1206727464738.JavaMail.jira@brutus> Date: Fri, 28 Mar 2008 11:04:24 -0700 (PDT) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (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:comment-tabpanel&focusedCommentId=12583113#action_12583113 ] Tsz Wo (Nicholas), SZE commented on HADOOP-3108: ------------------------------------------------ > Since this patch is meant for 16, I think its better if it only fixes the NPEs. +1 we should minimize the last minute changes. > 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, getNodeNPE.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.