Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CF69A200AFE for ; Sat, 7 May 2016 02:21:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CC755160A0F; Sat, 7 May 2016 00:21:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2779D160A0D for ; Sat, 7 May 2016 02:21:14 +0200 (CEST) Received: (qmail 14688 invoked by uid 500); 7 May 2016 00:21:13 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 14372 invoked by uid 99); 7 May 2016 00:21:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 May 2016 00:21:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id F1D722C1F71 for ; Sat, 7 May 2016 00:21:12 +0000 (UTC) Date: Sat, 7 May 2016 00:21:12 +0000 (UTC) From: "Hudson (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MAPREDUCE-6689) MapReduce job can infinitely increase number of reducer resource requests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 07 May 2016 00:21:15 -0000 [ https://issues.apache.org/jira/browse/MAPREDUCE-6689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15274965#comment-15274965 ] Hudson commented on MAPREDUCE-6689: ----------------------------------- FAILURE: Integrated in Hadoop-trunk-Commit #9731 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/9731/]) MAPREDUCE-6689. MapReduce job can infinitely increase number of reducer (jlowe: rev c9bb96fa81fc925e33ccc0b02c98cc2d929df120) * hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/test/java/org/apache/hadoop/mapreduce/v2/app/rm/TestRMContainerAllocator.java * hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/rm/RMContainerAllocator.java > MapReduce job can infinitely increase number of reducer resource requests > ------------------------------------------------------------------------- > > Key: MAPREDUCE-6689 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6689 > Project: Hadoop Map/Reduce > Issue Type: Bug > Reporter: Wangda Tan > Assignee: Wangda Tan > Priority: Blocker > Fix For: 2.8.0, 2.7.3, 2.6.5 > > Attachments: MAPREDUCE-6689.1.patch > > > We have seen this issue from one of our clusters: when running terasort map-reduce job, some mappers failed after reducer started, and then MR AM tries to preempt reducers to schedule these failed mappers. > After that, MR AM enters an infinite loop, for every RMContainerAllocator#heartbeat run, it: > - In {{preemptReducesIfNeeded}}, it cancels all scheduled reducer requests. (total scheduled reducers = 1024) > - Then, in {{scheduleReduces}}, it ramps up all reducers (total = 1024). > As a result, we can see total #requested-containers increased 1024 for every MRAM-RM heartbeat (1 sec per heartbeat). The AM is hanging for 18+ hours, so we get 18 * 3600 * 1024 ~ 66M+ requested containers in RM side. > And this bug also triggered YARN-4844, which makes RM stop scheduling anything. > Thanks to [~sidharta-s] for helping with analysis. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org