Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
0.16.0
-
None
-
None
Description
Quoted from an email sending to core-dev by Andy Li:
For example, assuming I have installed Hadoop with an account 'hadoop' and I am going to run my program with user account 'test'. I have created an input folder as /user/test/input/ with user 'test' and the permission is set to 0775.
/user/test/input <dir> 2008-02-27 01:20 rwxr-xr-x test hadoopWhen I run the MapReduce code, the output I specified will be set to user 'hadoop' instead of 'test'.
/bin/hadoop jar /tmp/test_perm.jar -m 57 -r 3 "/user/test/input/l" "/user/test/output/"The directory "/user/test/output/" will have the following permission and user:group.
/user/test/output <dir> 2008-02-27 03:53 rwxr-xr-x hadoop hadoop
Attachments
Attachments
Issue Links
- blocks
-
HADOOP-2929 need regression tests for setting up cluster and running jobs with different users
- Closed