hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-2074) Task should fail when symlink creation fail
Date Fri, 28 Jan 2011 00:09:46 GMT

    [ 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.


Mime
View raw message