hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hemanth Yamijala (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-1435) symlinks in cwd of the task are not handled properly after MAPREDUCE-896
Date Wed, 03 Feb 2010 04:37:20 GMT

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

Hemanth Yamijala commented on MAPREDUCE-1435:

As discussed offline, we probably need a unit test coverage for the changes in TaskRunner.setupWorkDir
as well. Can you please include that ? Also, we may want to add a public distributed cache
file in the streaming test case and ensure its permissions do not change too.

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

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

View raw message