Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 55559 invoked from network); 1 Aug 2010 00:29:40 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Aug 2010 00:29:40 -0000 Received: (qmail 44246 invoked by uid 500); 1 Aug 2010 00:29:40 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 44196 invoked by uid 500); 1 Aug 2010 00:29:39 -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 44186 invoked by uid 99); 1 Aug 2010 00:29:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Aug 2010 00:29:39 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Aug 2010 00:29:39 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o710TIPI010329 for ; Sun, 1 Aug 2010 00:29:18 GMT Message-ID: <6007737.104721280622558650.JavaMail.jira@thor> Date: Sat, 31 Jul 2010 20:29:18 -0400 (EDT) From: "Devaraj Das (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Updated: (MAPREDUCE-1288) DistributedCache localizes only once per cache URI In-Reply-To: <970147752.1260484338104.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAPREDUCE-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Devaraj Das updated MAPREDUCE-1288: ----------------------------------- Attachment: MR-1288-trunk-1.patch Patch for trunk. > DistributedCache localizes only once per cache URI > -------------------------------------------------- > > Key: MAPREDUCE-1288 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1288 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: distributed-cache, security, tasktracker > Affects Versions: 0.21.0 > Reporter: Devaraj Das > Priority: Critical > Fix For: 0.22.0 > > Attachments: MR-1288-bp20-1.patch, MR-1288-bp20-2.patch, MR-1288-bp20-3.patch, MR-1288-trunk-1.patch > > > As part of the file localization the distributed cache localizer creates a copy of the file in the corresponding user's private directory. The localization in DistributedCache assumes the key as the URI of the cachefile and if it already exists in the map, the localization is not done again. This means that another user cannot access the same distributed cache file. We should change the key to include the username so that localization is done for every user. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.