[
https://issues.apache.org/jira/browse/MAPREDUCE-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Priyo Mustafi updated MAPREDUCE-2074:
-------------------------------------
Attachment: MAPREDUCE-2074.txt
Throw IOException so that tasks can fail for invalid symlinks
> 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.