You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Raghu Angadi (JIRA)" <ji...@apache.org> on 2008/03/28 18:30:24 UTC

[jira] Commented: (HADOOP-3108) NPE in FSDirectory.unprotectedSetPermission

    [ https://issues.apache.org/jira/browse/HADOOP-3108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583102#action_12583102 ] 

Raghu Angadi commented on HADOOP-3108:
--------------------------------------

> I should say in general that handling of RemoteExceptions e.g. in connection
> with FileNotFoundException is terrible. I will file a separate jira.

This has been a long standing issue. Doug commented many times on this. If I remember correctly, his latest suggestion was something like to unwrap the exception as long as the inner exception class exists on  the client. New jira will be good. 


> 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.