[ 
https://issues.apache.org/jira/browse/MAPREDUCE-1435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841167#action_12841167
 ] 

Hemanth Yamijala commented on MAPREDUCE-1435:
---------------------------------------------

Output of test-patch:

{noformat}
     [exec] +1 overall.  
     [exec] 
     [exec]     +1 @author.  The patch does not contain any @author tags.
     [exec] 
     [exec]     +1 tests included.  The patch appears to include 18 new or 
modified tests.
     [exec] 
     [exec]     +1 javadoc.  The javadoc tool did not generate any warning 
messages.
     [exec] 
     [exec]     +1 javac.  The applied patch does not increase the total number 
of javac compiler warnings.
     [exec] 
     [exec]     +1 findbugs.  The patch does not introduce any new Findbugs 
warnings.
     [exec] 
     [exec]     +1 release audit.  The applied patch does not increase the 
total number of release audit warnings.
{noformat}

> symlinks in cwd of the task are not handled properly after MAPREDUCE-896
> ------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1435
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1435
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: tasktracker
>    Affects Versions: 0.22.0
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Ravi Gummadi
>             Fix For: 0.22.0
>
>         Attachments: 1435.patch, 1435.v1.patch, 1435.v2.patch, 1435.v3.patch, 
> 1435.v4.patch, MR-1435-y20s.patch
>
>
> With JVM reuse, TaskRunner.setupWorkDir() lists the contents of workDir and 
> does a fs.delete on each path listed. If the listed file is a symlink to 
> directory, it will delete the contents of those linked directories. This 
> would delete files from distributed cache and jars directory,if 
> mapred.create.symlink is true.
> Changing ownership/permissions of symlinks through ENABLE_TASK_FOR_CLEANUP 
> would change ownership/permissions of underlying files.
> This is observed by Karam while running streaming jobs with DistributedCache 
> and jvm reuse.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to