[ https://issues.apache.org/jira/browse/HADOOP-5997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717650#action_12717650 ]
Ramya R commented on HADOOP-5997: --------------------------------- testmapredsort tries to create /tmp. TestDFSIO - /benchmarks/TestDFSIO. nnbench - /benchmarks/NNBench Below is the exception thrown by the above test jobs: {noformat} java.io.IOException: org.apache.hadoop.security.AccessControlException: Permission denied: user=Y, access=WRITE, inode="":X:X:rwxr-xr-x at org.apache.hadoop.fs.TestDFSIO.createControlFile(TestDFSIO.java:126) at org.apache.hadoop.fs.TestDFSIO.main(TestDFSIO.java:351) 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.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68) at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139) at org.apache.hadoop.test.AllTestDriver.main(AllTestDriver.java:81) 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.util.RunJar.main(RunJar.java:156) {noformat} > Many test jobs write to HDFS under / > ------------------------------------ > > Key: HADOOP-5997 > URL: https://issues.apache.org/jira/browse/HADOOP-5997 > Project: Hadoop Core > Issue Type: Bug > Components: test > Affects Versions: 0.20.0 > Reporter: Ramya R > Fix For: 0.20.1 > > > Many test jobs such as testmapredsort, TestDFSIO and nnbench try to write to > HDFS under root. > If a user 'X' brings up the cluster and gives full access to user 'Y' under > /user/Y, user Y's test jobs still will not run because they demand access to > / which cannot be granted. Such jobs should be modified to write their temp > outputs under /user/Y and not directly under / -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.