Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4650FDF69 for ; Tue, 30 Oct 2012 17:25:05 +0000 (UTC) Received: (qmail 64996 invoked by uid 500); 30 Oct 2012 17:25:00 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 64482 invoked by uid 500); 30 Oct 2012 17:24:59 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 64454 invoked by uid 99); 30 Oct 2012 17:24:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Oct 2012 17:24:59 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of acm@hortonworks.com designates 209.85.210.48 as permitted sender) Received: from [209.85.210.48] (HELO mail-da0-f48.google.com) (209.85.210.48) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Oct 2012 17:24:52 +0000 Received: by mail-da0-f48.google.com with SMTP id z8so214298dad.35 for ; Tue, 30 Oct 2012 10:24:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer:x-gm-message-state; bh=Ow8m3bkEncqtOq+6u/N+HxFeBMU5/aVFJrahuxDouh8=; b=HYGMlgALD0nRNa2Y2grgdLjUi7JVYpRLwMXL+RgqxfOGpHHuSpw0XThwP3WiQiPc9n lMyG9V7Cf4tUHFnCfX4B6drNgMcePHz2tdLJnZcvDxFmSFgA8VHbRIykMmkCOnRTadf/ TCyA6bpNNJMr2tKTtSZ0sl0VY/yLq9v3mQ8r1YBUofxHpGhCf7pn8WP/GGGkZp0sDbVd +GL9V2Mm2uPXx/EjTply4ef6poKgbDjweHOYSCHspiZj4fGa5qgyghep/wXdCOdgb6Sj 6zCjmgUE5LUKU2yvajVeceWh3FkQC71xgPI5+TxqGtCsbQJY/HBJsS6SwzUiaMyafAMi GRDw== Received: by 10.68.130.66 with SMTP id oc2mr14198043pbb.135.1351617872512; Tue, 30 Oct 2012 10:24:32 -0700 (PDT) Received: from [10.10.11.94] (host1.hortonworks.com. [70.35.59.2]) by mx.google.com with ESMTPS id ix9sm840465pbc.7.2012.10.30.10.24.27 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 30 Oct 2012 10:24:27 -0700 (PDT) From: Arun C Murthy Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/alternative; boundary=Apple-Mail-12--351487778 Subject: Re: Memory based scheduling Date: Tue, 30 Oct 2012 10:24:26 -0700 In-Reply-To: To: user@hadoop.apache.org References: Message-Id: X-Mailer: Apple Mail (2.1084) X-Gm-Message-State: ALoCoQmIa8ZR1liBrOCqCjiRP/fExFgqsdNi/10IPPZpK0yJn8VBAoIQGMUVeQ1w/Qszvgo5WvHh X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-12--351487778 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Yes, use the CapacityScheduler and ask for multiple slots per map or = reduce task: = http://hadoop.apache.org/docs/stable/capacity_scheduler.html#Resource+base= d+scheduling Arun On Oct 30, 2012, at 8:49 AM, Marco Z=FChlke wrote: > Hi, >=20 > on our cluster our jobs usually satisfied with less than 2 GB of heap = space. > so we have on our 8 GB computers 3 maps maximum and on our 16 GB > computers 4 maps maximum (we only have quad core CPUs and to have > memory left for reducers). This works very well. >=20 > But now we have a new kind of jobs. Each mapper requires at lest 4 GB > of heap space. >=20 > Is it possible to limit the number of tasks (mapper) per computer to 1 = or 2 for > these kinds of jobs ? >=20 > Regards, > Marco >=20 -- Arun C. Murthy Hortonworks Inc. http://hortonworks.com/ --Apple-Mail-12--351487778 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 Yes, = use the CapacityScheduler and ask for multiple slots per map or reduce = task:

Arun
=

On Oct 30, 2012, at 8:49 AM, Marco Z=FChlke = wrote:

Hi,

on our cluster our jobs usually satisfied with = less than 2 GB of heap space.
so we have on our 8 GB computers 3 maps = maximum and on our 16 GB
computers 4 maps maximum (we only have quad = core CPUs and to have
memory left for reducers). This works very well.

But now we have = a new kind of jobs. Each mapper requires at lest 4 GB
of heap = space.

Is it possible to limit the number of tasks (mapper) per = computer to 1 or 2 for
these kinds of jobs ?

Regards,
Marco


--
Arun C. Murthy
Hortonworks Inc.
http://hortonworks.com/

=

= --Apple-Mail-12--351487778--