[ https://issues.apache.org/jira/browse/HADOOP-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12525593 ]
Raghu Angadi commented on HADOOP-1298: -------------------------------------- 'Browse Directory' results in an NPE : Simple cluster with one datanode. Started from scratch. added one file with copyFromLocal. went to namenode:50070/ and clicked on the datanode link : We page shows this : {noformat} HTTP ERROR: 500 java.io.IOException: java.lang.NullPointerException at org.apache.hadoop.dfs.NameNode.isDir(NameNode.java:437) at org.apache.hadoop.dfs.NameNode$12.run(NameNode.java:1070) at org.apache.hadoop.dfs.NameNode$12.run(NameNode.java:1068) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at org.apache.hadoop.dfs.NameNode.doAsSubject(NameNode.java:917) at org.apache.hadoop.dfs.NameNode.isDir(NameNode.java:1068) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 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:341) at org.apache.hadoop.ipc.Server$Handler.run(Server.java:566) RequestURI=/browseDirectory.jsp {noformat} > adding user info to file > ------------------------ > > Key: HADOOP-1298 > URL: https://issues.apache.org/jira/browse/HADOOP-1298 > Project: Hadoop > Issue Type: New Feature > Components: dfs, fs > Reporter: Kurtis Heimerl > Assignee: Christophe Taton > Fix For: 0.15.0 > > Attachments: 1298_2007-09-05g.patch, 1298_2007-09-06a.patch, > hadoop-user-munncha.patch17 > > > I'm working on adding a permissions model to hadoop's DFS. The first step is > this change, which associates user info with files. Following this I'll > assoicate permissions info, then block methods based on that user info, then > authorization of the user info. > So, right now i've implemented adding user info to files. I'm looking for > feedback before I clean this up and make it offical. > I wasn't sure what release, i'm working off trunk. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.