Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D15639B42 for ; Thu, 8 Mar 2012 18:24:21 +0000 (UTC) Received: (qmail 36322 invoked by uid 500); 8 Mar 2012 18:24:21 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 36267 invoked by uid 500); 8 Mar 2012 18:24:21 -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 36257 invoked by uid 99); 8 Mar 2012 18:24:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2012 18:24:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2012 18:24:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0D0E6F528 for ; Thu, 8 Mar 2012 18:23:58 +0000 (UTC) Date: Thu, 8 Mar 2012 18:23:58 +0000 (UTC) From: "Vinod Kumar Vavilapalli (Reopened) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <539986648.39580.1331231038054.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1563175092.24599.1330989478942.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Reopened] (MAPREDUCE-3975) Default value not set for Configuration parameter mapreduce.job.local.dir 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-3975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vinod Kumar Vavilapalli reopened MAPREDUCE-3975: ------------------------------------------------ Sorry for coming late on this: bq. I think that it is fine to have them in different base directories, if it becomes a problem in practice because tasks are trying to share data with each other, then it can be fixed then. This is exactly what the job.local.dir is intended for - sharing of data across tasks on the node. If the tasks only need scratch space, they can write in ./tmp directory which is already created by nodemanager. Even our documentation for the 20.**/1.** release lines explicitly says this. We need to fix it. I am reopening this ticket. > Default value not set for Configuration parameter mapreduce.job.local.dir > ------------------------------------------------------------------------- > > Key: MAPREDUCE-3975 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-3975 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: mrv2 > Affects Versions: 0.23.1, 0.23.2 > Reporter: Eric Payne > Assignee: Eric Payne > Priority: Blocker > Fix For: 0.23.2 > > Attachments: MAPREDUCE-3975-1.txt > > > mapreduce.job.local.dir (formerly job.local.dir in 0.20) is not set by default. This is a regression from 0.20.205. > In 0.20.205, JobLocalizer.createWorkDir() constructs the "$mapred.local.dir/taskTracker/$user/jobcache/$jobid/work" path based on $user and $jobid, and then sets TaskTracker.JOB_LOCAL_DIR in the job's JobConf. > So far, I haven't found where this is done in 0.23. It could be that this is what should be done by LocalJobRunner.setupChildMapredLocalDirs(), but I am still investigating. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira