Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 47831 invoked from network); 17 Jun 2008 23:39:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Jun 2008 23:39:37 -0000 Received: (qmail 36817 invoked by uid 500); 17 Jun 2008 23:39:38 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 36787 invoked by uid 500); 17 Jun 2008 23:39:38 -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 36768 invoked by uid 99); 17 Jun 2008 23:39:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jun 2008 16:39:37 -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; Tue, 17 Jun 2008 23:38:56 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 17490234C14A for ; Tue, 17 Jun 2008 16:38:45 -0700 (PDT) Message-ID: <488067507.1213745925094.JavaMail.jira@brutus> Date: Tue, 17 Jun 2008 16:38:45 -0700 (PDT) From: "Ari Rabkin (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-657) Free temporary space should be modelled better 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-657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ari Rabkin updated HADOOP-657: ------------------------------ Status: Patch Available (was: Open) revised, should no longer trigger findbugs > Free temporary space should be modelled better > ---------------------------------------------- > > Key: HADOOP-657 > URL: https://issues.apache.org/jira/browse/HADOOP-657 > Project: Hadoop Core > Issue Type: Improvement > Components: mapred > Affects Versions: 0.17.0 > Reporter: Owen O'Malley > Assignee: Ari Rabkin > Fix For: 0.19.0 > > Attachments: diskspaceest.patch, diskspaceest_v2.patch, diskspaceest_v3.patch > > > Currently, there is a configurable size that must be free for a task tracker to accept a new task. However, that isn't a very good model of what the task is likely to take. I'd like to propose: > Map tasks: totalInputSize * conf.getFloat("map.output.growth.factor", 1.0) / numMaps > Reduce tasks: totalInputSize * 2 * conf.getFloat("map.output.growth.factor", 1.0) / numReduces > where totalInputSize is the size of all the maps inputs for the given job. > To start a new task, > newTaskAllocation + (sum over running tasks of (1.0 - done) * allocation) >= > free disk * conf.getFloat("mapred.max.scratch.allocation", 0.90); > So in English, we will model the expected sizes of tasks and only task tasks that should leave us a 10% margin. With: > map.output.growth.factor -- the relative size of the transient data relative to the map inputs > mapred.max.scratch.allocation -- the maximum amount of our disk we want to allocate to tasks. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.