Issue Details (XML | Word | Printable)

Key: HDFS-428
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Pete Wyckoff
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Hadoop HDFS

fuse-dfs implement posix access method

Created: 08/Sep/08 04:05 AM   Updated: 22/Jun/09 03:04 PM
Return to search
Component/s: contrib/fuse-dfs
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Issue Links:
Blocker
 
Dependants
 


 Description  « Hide
int dfs_access(path, mode)

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Pete Wyckoff added a comment - 17/Sep/08 06:47 PM
proposal for the short term:

Implement this entirely in fuse-dfs using the hdfsStat structure which has the owner, group and permissions of a file. Use the 'root' user on the box fuse-dfs is running on as the super user.

This can be done relatively quickly and gives basically the right semantics assuming HDFS is "exported" with no_root_squash which since it doesn't implement authenticating users, it really is.

The only downside is fuse-dfs will not then respect the user that is the superuser for HDFS; they would have to sudo command like everyone else.

This does not introduce any security holes since the user could directly use the Java client or libhdfs to do any operation fuse-dfs can.


Craig Macdonald added a comment - 17/Sep/08 07:23 PM
+1.

C