Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-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 2CE8710A3D for ; Fri, 14 Jun 2013 20:06:22 +0000 (UTC) Received: (qmail 4694 invoked by uid 500); 14 Jun 2013 20:06:17 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 4587 invoked by uid 500); 14 Jun 2013 20:06:17 -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 4580 invoked by uid 99); 14 Jun 2013 20:06:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jun 2013 20:06:17 +0000 X-ASF-Spam-Status: No, hits=-0.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yuzhanghan1982@gmail.com designates 209.85.160.174 as permitted sender) Received: from [209.85.160.174] (HELO mail-gh0-f174.google.com) (209.85.160.174) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jun 2013 20:06:11 +0000 Received: by mail-gh0-f174.google.com with SMTP id r17so277826ghr.19 for ; Fri, 14 Jun 2013 13:05:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=3WEpoKrN5+zleTBTI9x783ab2G9GvCNjUWLV8Rjcn1k=; b=DClBsFzWvMbgsKdHfQOCEvSWEC/nkMC+VtMMIXZlxQE1xhhwyxtuO162l1sqjbYvXX 9Zc0zcFHcH/WKgrfmFt07dFYR1rgvbx8BtlgyWGFkkLUgbsmiC8WoCKmqu5i5ITxrV4S lfiaoGpQ3PPLbvHarlJBI28bMsLEH9gQ8HVfCNaXBT4Cnj+D/RJCzSWjtf7Bz2cdUDOd Oz4BG1FyC4f12SUhpCMZNPkd4ZMjXdUPK77j5wboZU1MFmpCqbUDoyvZiyoj6Vb8sB9T i+ugojO8rn/XNf5lbJmWlg9RFuFhD+iCBXSHYGR/gk6P68988xix99z1Zf93OWL4yJFQ WwxQ== X-Received: by 10.236.2.202 with SMTP id 50mr2301934yhf.126.1371240350384; Fri, 14 Jun 2013 13:05:50 -0700 (PDT) Received: from [192.168.0.4] (cpe-066-057-064-190.nc.res.rr.com. [66.57.64.190]) by mx.google.com with ESMTPSA id j64sm5401658yhj.25.2013.06.14.13.05.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 14 Jun 2013 13:05:49 -0700 (PDT) Message-ID: <51BB7773.8010306@gmail.com> Date: Fri, 14 Jun 2013 16:05:07 -0400 From: Yuzhang Han User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: "user@hadoop.apache.org" Subject: Different container sizes for MR tasks, job does not complete Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am using MapReduce on YARN. I want to make tasks of the same job run in containers with different sizes. For example: Job1 = . Task1 := 1280 MB; Task2 to 8 := 1024 MB. To achieve this, I manually call reqEvent.getCapability().setMemory(MEMORY_SIZE) in RMContainerAllocator.java with MEMORY_SIZE = 1280 or 1024. The problem is, if one task has different memory than the others, then the whole job stops at 80% forever. When all the tasks have the same memory, the job completes correctly and fast. Does some one has any idea? Thanks a lot. Yuzhang