Return-Path: X-Original-To: apmail-pig-dev-archive@www.apache.org Delivered-To: apmail-pig-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 06CED11E44 for ; Sat, 28 Jun 2014 22:56:25 +0000 (UTC) Received: (qmail 74850 invoked by uid 500); 28 Jun 2014 22:56:24 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 74799 invoked by uid 500); 28 Jun 2014 22:56:24 -0000 Mailing-List: contact dev-help@pig.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pig.apache.org Delivered-To: mailing list dev@pig.apache.org Received: (qmail 74786 invoked by uid 500); 28 Jun 2014 22:56:24 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 74783 invoked by uid 99); 28 Jun 2014 22:56:24 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Jun 2014 22:56:24 +0000 Date: Sat, 28 Jun 2014 22:56:24 +0000 (UTC) From: "Cheolsoo Park (JIRA)" To: pig-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (PIG-4043) JobClient.getMap/ReduceTaskReports() causes OOM for jobs with a large number of tasks MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PIG-4043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Cheolsoo Park updated PIG-4043: ------------------------------- Attachment: PIG-4043-2.patch Per Rohini, make the property name all lowercase. > JobClient.getMap/ReduceTaskReports() causes OOM for jobs with a large number of tasks > ------------------------------------------------------------------------------------- > > Key: PIG-4043 > URL: https://issues.apache.org/jira/browse/PIG-4043 > Project: Pig > Issue Type: Bug > Reporter: Cheolsoo Park > Assignee: Cheolsoo Park > Fix For: 0.14.0 > > Attachments: PIG-4043-1.patch, PIG-4043-2.patch, heapdump.png > > > With Hadoop 2.4, I often see Pig client fails due to OOM when there are many tasks (~100K) with 1GB heap size. > The heap dump (attached) shows that TaskReport[] occupies about 80% of heap space at the time of OOM. > The problem is that JobClient.getMap/ReduceTaskReports() returns an array of TaskReport objects, which can be huge if the number of task is large. -- This message was sent by Atlassian JIRA (v6.2#6252)