[ https://issues.apache.org/jira/browse/MAPREDUCE-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796461#action_12796461 ]
Devaraj Das commented on MAPREDUCE-1322: ---------------------------------------- bq. Isnt MAPREDUCE-1139 the right fix? That fix would address this issue as well but I'd like the staging directory to be defined in mapred-default.xml anyway. bq. Error Launching job : chmod: cannot access `/tmp/hadoop/mapred/staging/dummy44913967/.staging/job_local_0001': No such file or directory The attached patch should fix this problem (this happens due to the fact that the same /tmp/hadoop directory is being read/written by multiple users). > TestStreamingAsDifferentUser fails on trunk > ------------------------------------------- > > Key: MAPREDUCE-1322 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1322 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: contrib/streaming, test > Affects Versions: 0.22.0 > Reporter: Amareshwari Sriramadasu > Assignee: Devaraj Das > Fix For: 0.22.0 > > Attachments: 1322.patch > > > TestStreamingAsDifferentUser fails on trunk with following exception : > Can not create a Path from a null string > java.lang.IllegalArgumentException: Can not create a Path from a null string > at org.apache.hadoop.fs.Path.checkPathArg(Path.java:78) > at org.apache.hadoop.fs.Path.<init>(Path.java:90) > at > org.apache.hadoop.mapred.ClusterWithLinuxTaskController.createHomeAndStagingDirectory(ClusterWithLinuxTaskController.java:158) > at > org.apache.hadoop.mapred.ClusterWithLinuxTaskController.startCluster(ClusterWithLinuxTaskController.java:147) > at > org.apache.hadoop.streaming.TestStreamingAsDifferentUser.testStreaming(TestStreamingAsDifferentUser.java:49) > The corresponding line for the exception : > {code} > Path stagingArea = new Path(conf.get(JTConfig.JT_STAGING_AREA_ROOT)); > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.