Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 40255 invoked from network); 28 Mar 2008 10:48:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Mar 2008 10:48:45 -0000 Received: (qmail 88540 invoked by uid 500); 28 Mar 2008 10:48:41 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 88515 invoked by uid 500); 28 Mar 2008 10:48:41 -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 88502 invoked by uid 99); 28 Mar 2008 10:48:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Mar 2008 03:48:41 -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; Fri, 28 Mar 2008 10:47:58 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C39F1234C0AC for ; Fri, 28 Mar 2008 03:46:24 -0700 (PDT) Message-ID: <511022453.1206701184800.JavaMail.jira@brutus> Date: Fri, 28 Mar 2008 03:46:24 -0700 (PDT) From: "Devaraj Das (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3104) MultithreadMapRunner keeps consuming records even if trheads are not available In-Reply-To: <1972946642.1206602844250.JavaMail.jira@brutus> 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-3104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12582979#action_12582979 ] Devaraj Das commented on HADOOP-3104: ------------------------------------- +1 > MultithreadMapRunner keeps consuming records even if trheads are not available > ------------------------------------------------------------------------------ > > Key: HADOOP-3104 > URL: https://issues.apache.org/jira/browse/HADOOP-3104 > Project: Hadoop Core > Issue Type: Bug > Affects Versions: 0.16.1 > Environment: all > Reporter: Alejandro Abdelnur > Assignee: Alejandro Abdelnur > Priority: Critical > Fix For: 0.16.2 > > Attachments: patch3104.txt, patch3104.txt > > > The ExecutorService execute() method does not block when there are not threads available, it queues up the runnables until there are threads. > The problem is that all key/values are read and kept in memory for the task, with large datasets this will create a OOM exception. > Have to figure out how to use the execute in blocking fashion. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.