Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 72122 invoked from network); 4 Feb 2010 20:25:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Feb 2010 20:25:52 -0000 Received: (qmail 78110 invoked by uid 500); 4 Feb 2010 20:25:52 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 78074 invoked by uid 500); 4 Feb 2010 20:25:52 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 78064 invoked by uid 99); 4 Feb 2010 20:25:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 20:25:52 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 20:25:50 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 153FA234C4AB for ; Thu, 4 Feb 2010 12:25:29 -0800 (PST) Message-ID: <298978137.48331265315129085.JavaMail.jira@brutus.apache.org> Date: Thu, 4 Feb 2010 20:25:29 +0000 (UTC) From: "Ravi Gummadi (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-1435) symlinks in cwd of the task are not handled properly after MAPREDUCE-896 In-Reply-To: <453170317.4461265016951349.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-1435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829760#action_12829760 ] Ravi Gummadi commented on MAPREDUCE-1435: ----------------------------------------- TestFileArgs failed(known issue MAPREDUCE-1375) and all other unit tests passed on my local machine. > 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 > > > 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.