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 "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2011/01/28 01:09:46 UTC
[jira] Commented: (MAPREDUCE-2074) Task should fail when symlink
creation fail
[ https://issues.apache.org/jira/browse/MAPREDUCE-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987843#action_12987843 ]
Konstantin Shvachko commented on MAPREDUCE-2074:
------------------------------------------------
Looks like TestSetupWorkDir fails
{code}
Testcase: testSetupWorkDir took 0.414 sec
Testcase: testSetupWorkDirDistCacheSymlinkValid took 0.08 sec
FAILED
null
junit.framework.AssertionFailedError: null
at org.apache.hadoop.mapred.TestSetupWorkDir.testSetupWorkDirDistCacheSymlinkValid(TestSetupWorkDir.java:173)
{code}
> Task should fail when symlink creation fail
> -------------------------------------------
>
> Key: MAPREDUCE-2074
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2074
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: distributed-cache
> Affects Versions: 0.20.2
> Reporter: Koji Noguchi
> Assignee: Priyo Mustafi
> Priority: Minor
> Attachments: MAPREDUCE-2074.txt
>
>
> If I pass an invalid symlink as -Dmapred.cache.files=/user/knoguchi/onerecord.txt#abc/abc
> Task only reports a WARN and goes on.
> {noformat}
> 2010-09-16 21:38:49,782 INFO org.apache.hadoop.mapred.TaskRunner: Creating symlink: /0/tmp/mapred-local/taskTracker/knoguchi/distcache/-5031501808205559510_-128488332_1354038698/abc-nn1.def.com/user/knoguchi/onerecord.txt <- /0/tmp/mapred-local/taskTracker/knoguchi/jobcache/job_201008310107_15105/attempt_201008310107_15105_m_000000_0/work/./abc/abc
> 2010-09-16 21:38:49,789 WARN org.apache.hadoop.mapred.TaskRunner: Failed to create symlink: /0/tmp/mapred-local/taskTracker/knoguchi/distcache/-5031501808205559510_-128488332_1354038698/abc-nn1.def.com/user/knoguchi/onerecord.txt <- /0/tmp/mapred-local/taskTracker/knoguchi/jobcache/job_201008310107_15105/attempt_201008310107_15105_m_000000_0/work/./abc/abc
> {noformat}
> I believe we should fail the task at this point.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.