You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2009/12/22 06:48:18 UTC
[jira] Created: (MAPREDUCE-1322) TestStreamingAsDifferentUser fails
on trunk
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
Fix For: 0.22.0
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.
[jira] Updated: (MAPREDUCE-1322) TestStreamingAsDifferentUser fails
on trunk
Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amareshwari Sriramadasu updated MAPREDUCE-1322:
-----------------------------------------------
Attachment: 1322-1.patch
Updated to trunk
> 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-1.patch, 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.
[jira] Commented: (MAPREDUCE-1322) TestStreamingAsDifferentUser
fails on trunk
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793639#action_12793639 ]
Hadoop QA commented on MAPREDUCE-1322:
--------------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12428712/1322.patch
against trunk revision 893055.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 3 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed core unit tests.
-1 contrib tests. The patch failed contrib unit tests.
Test results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h3.grid.sp2.yahoo.net/235/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h3.grid.sp2.yahoo.net/235/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h3.grid.sp2.yahoo.net/235/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h3.grid.sp2.yahoo.net/235/console
This message is automatically generated.
> 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.
[jira] Commented: (MAPREDUCE-1322) TestStreamingAsDifferentUser
fails on trunk
Posted by "Hemanth Yamijala (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806333#action_12806333 ]
Hemanth Yamijala commented on MAPREDUCE-1322:
---------------------------------------------
+1. Looks fine to me. I will commit this patch.
> 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-1.patch, 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.
[jira] Commented: (MAPREDUCE-1322) TestStreamingAsDifferentUser
fails on trunk
Posted by "Amar Kamat (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796156#action_12796156 ]
Amar Kamat commented on MAPREDUCE-1322:
---------------------------------------
Isnt MAPREDUCE-1139 the right fix? Also I see the following error message due to staging area sharing in testcases
{code}
09/12/22 19:18:10 ERROR streaming.StreamJob:
Error Launching job : chmod: cannot access `/tmp/hadoop/mapred/staging/dummy44913967/.staging/job_local_0001': No such file or directory
{code}
Should we fix that here?
> 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.
[jira] Updated: (MAPREDUCE-1322) TestStreamingAsDifferentUser fails
on trunk
Posted by "Devaraj Das (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Devaraj Das updated MAPREDUCE-1322:
-----------------------------------
Attachment: 1322.patch
My initial thought on this one was that this config doesn't require to be tweaked at all (even by admins). It should typically point to "/user". But for testing purposes, i wanted to have it point to some temp dir. It didn't strike me that streaming tests don't pick the conf up from src/test.
After thinking about it some more, i think it makes sense to indeed define the config in mapred-default.xml.
Attaching a patch.
> 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
> 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.
[jira] Commented: (MAPREDUCE-1322) TestStreamingAsDifferentUser
fails on trunk
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828474#action_12828474 ]
Hudson commented on MAPREDUCE-1322:
-----------------------------------
Integrated in Hadoop-Mapreduce-trunk-Commit #225 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/225/])
> 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-1.patch, 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.
[jira] Commented: (MAPREDUCE-1322) TestStreamingAsDifferentUser
fails on trunk
Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793544#action_12793544 ]
Amareshwari Sriramadasu commented on MAPREDUCE-1322:
----------------------------------------------------
I ran the failing test with the patch, it passed now.
> 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.
[jira] Updated: (MAPREDUCE-1322) TestStreamingAsDifferentUser fails
on trunk
Posted by "Hemanth Yamijala (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hemanth Yamijala updated MAPREDUCE-1322:
----------------------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
I just committed this to trunk. Thanks, Devaraj and Amareshwari !
> 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-1.patch, 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.
[jira] Updated: (MAPREDUCE-1322) TestStreamingAsDifferentUser fails
on trunk
Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amareshwari Sriramadasu updated MAPREDUCE-1322:
-----------------------------------------------
Status: Patch Available (was: Open)
> 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-1.patch, 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.
[jira] Updated: (MAPREDUCE-1322) TestStreamingAsDifferentUser fails
on trunk
Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amareshwari Sriramadasu updated MAPREDUCE-1322:
-----------------------------------------------
Status: Open (was: Patch Available)
Patch does not apply anymore
> 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-1.patch, 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.
[jira] Commented: (MAPREDUCE-1322) TestStreamingAsDifferentUser
fails on trunk
Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793515#action_12793515 ]
Amareshwari Sriramadasu commented on MAPREDUCE-1322:
----------------------------------------------------
Looks like "mapreduce.jobtracker.staging.root.dir" is not added in mapred-default.xml, but is added to src/test/mapred-site.xml. Streaming tests do not pick mapred-site.xml from src/test/. Is there any reason for not adding the configuration in mapred-default.xml?
> 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
> Fix For: 0.22.0
>
>
> 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.
[jira] Commented: (MAPREDUCE-1322) TestStreamingAsDifferentUser
fails on trunk
Posted by "Devaraj Das (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (MAPREDUCE-1322) TestStreamingAsDifferentUser fails
on trunk
Posted by "Devaraj Das (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Devaraj Das updated MAPREDUCE-1322:
-----------------------------------
Assignee: Devaraj Das
Status: Patch Available (was: Open)
> 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.
[jira] Commented: (MAPREDUCE-1322) TestStreamingAsDifferentUser
fails on trunk
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806701#action_12806701 ]
Hudson commented on MAPREDUCE-1322:
-----------------------------------
Integrated in Hadoop-Mapreduce-trunk #221 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk/221/])
. Defines default value for staging directory to be user based fixing a failing streaming test. Contributed by Devaraj Das and Amareshwari Sriramadasu.
> 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-1.patch, 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.
[jira] Commented: (MAPREDUCE-1322) TestStreamingAsDifferentUser
fails on trunk
Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806330#action_12806330 ]
Amareshwari Sriramadasu commented on MAPREDUCE-1322:
----------------------------------------------------
bq. -1 core tests.
Is due to MAPREDUCE-1412
> 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-1.patch, 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.
[jira] Commented: (MAPREDUCE-1322) TestStreamingAsDifferentUser
fails on trunk
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806315#action_12806315 ]
Hadoop QA commented on MAPREDUCE-1322:
--------------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12431757/1322-1.patch
against trunk revision 904397.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 3 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
-1 core tests. The patch failed core unit tests.
+1 contrib tests. The patch passed contrib unit tests.
Test results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/416/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/416/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/416/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/416/console
This message is automatically generated.
> 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-1.patch, 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.