Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AFA3A17B92 for ; Wed, 15 Apr 2015 05:53:02 +0000 (UTC) Received: (qmail 55730 invoked by uid 500); 15 Apr 2015 05:52:59 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 55658 invoked by uid 500); 15 Apr 2015 05:52:59 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 55647 invoked by uid 99); 15 Apr 2015 05:52:59 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Apr 2015 05:52:59 +0000 Date: Wed, 15 Apr 2015 05:52:59 +0000 (UTC) From: "Peng Zhang (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MAPREDUCE-6302) deadlock in a job between map and reduce cores allocation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAPREDUCE-6302?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D= 14495699#comment-14495699 ]=20 Peng Zhang commented on MAPREDUCE-6302: --------------------------------------- in head log it shows=20 Number of reduces for job job_1427451307913_0012 =3D 380 in tail log it shows=20 headroom=3D and totalResourceLimit: It seems conflict with statement =E2=80=9Cas long as reduces of a job is mo= re than max cores of the queue , deadlock always happened. =E2=80=9D > deadlock in a job between map and reduce cores allocation=20 > ---------------------------------------------------------- > > Key: MAPREDUCE-6302 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6302 > Project: Hadoop Map/Reduce > Issue Type: Bug > Affects Versions: 2.6.0 > Reporter: mai shurong > Assignee: Karthik Kambatla > Priority: Critical > Attachments: AM_log_head100000.txt.gz, AM_log_tail100000.txt.gz, = queue_with_max163cores.png, queue_with_max263cores.png, queue_with_max333co= res.png > > > I submit a big job, which has 500 maps and 350 reduce, to a queue(fairsc= heduler) with 300 max cores. When the big mapreduce job is running 100% map= s, the 300 reduces have occupied 300 max cores in the queue. And then, a ma= p fails and retry, waiting for a core, while the 300 reduces are waiting fo= r failed map to finish. So a deadlock occur. As a result, the job is blocke= d, and the later job in the queue cannot run because no available cores in = the queue. > I think there is the similar issue for memory of a queue . -- This message was sent by Atlassian JIRA (v6.3.4#6332)