Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 81453 invoked from network); 21 Jul 2008 22:56:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jul 2008 22:56:24 -0000 Received: (qmail 38925 invoked by uid 500); 21 Jul 2008 22:56:22 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 38893 invoked by uid 500); 21 Jul 2008 22:56:21 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 38882 invoked by uid 99); 21 Jul 2008 22:56:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jul 2008 15:56:21 -0700 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; Mon, 21 Jul 2008 22:55:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9F886234C169 for ; Mon, 21 Jul 2008 15:55:31 -0700 (PDT) Message-ID: <364276824.1216680931643.JavaMail.jira@brutus> Date: Mon, 21 Jul 2008 15:55:31 -0700 (PDT) From: "Ari Rabkin (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-9) mapred.local.dir temp dir. space allocation limited by smallest area MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ari Rabkin updated HADOOP-9: ---------------------------- Attachment: hadoop9.patch Patch fixing this issue. > mapred.local.dir temp dir. space allocation limited by smallest area > --------------------------------------------------------------------- > > Key: HADOOP-9 > URL: https://issues.apache.org/jira/browse/HADOOP-9 > Project: Hadoop Core > Issue Type: Bug > Components: mapred > Environment: all > Reporter: Paul Baclace > Assignee: Ari Rabkin > Attachments: hadoop9.patch > > > When mapred.local.dir is used to specify multiple temp dir. areas, space allocation limited by smallest area because the temp dir. selection algorithm is "round robin starting from a randomish point". When round robin is used with approximately constant sized chunks, the smallest area runs out of space first, and this is a fatal error. > Workaround: only list local fs dirs in mapred.local.dir with similarly-sized available areas. > I wrote a patch to JobConf (currenly being tested) which uses df to check available space (once a minute or less often) and then uses an efficient roulette selection to do allocation weighted by magnitude of available space. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.