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 "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2008/03/27 19:55:24 UTC
[jira] Assigned: (HADOOP-3108) NPE in
FSDirectory.unprotectedSetPermission
[ https://issues.apache.org/jira/browse/HADOOP-3108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE reassigned HADOOP-3108:
----------------------------------------------
Assignee: Tsz Wo (Nicholas), SZE
Oops, it throws NPE when the path does not exist. I will fix 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: Tsz Wo (Nicholas), SZE
>
> 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.