Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-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 00C20178E7 for ; Fri, 1 May 2015 21:52:07 +0000 (UTC) Received: (qmail 28051 invoked by uid 500); 1 May 2015 21:52:06 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 27996 invoked by uid 500); 1 May 2015 21:52:06 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 27984 invoked by uid 99); 1 May 2015 21:52:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2015 21:52:06 +0000 Date: Fri, 1 May 2015 21:52:06 +0000 (UTC) From: "Wangda Tan (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-1631) Container allocation issue in Leafqueue assignContainers() 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/YARN-1631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14524039#comment-14524039 ] Wangda Tan commented on YARN-1631: ---------------------------------- Just offline discussed with [~vinodkv] and [~jianhe], now our consensus is, if we allow skip first submitted application because of queueMax resource limit, it violates FIFO. This is different from user-limit, if we skip it, first application with large resource request may be starved. Another problem in your example is, app1 shouldn't reserve container in node_1 because app_1's AM is running on that node too. Queue continuous reservation looking can solve this problem. Closing it as won't fix. [~sunilg], please reopen it if you still think it's a problem. > Container allocation issue in Leafqueue assignContainers() > ---------------------------------------------------------- > > Key: YARN-1631 > URL: https://issues.apache.org/jira/browse/YARN-1631 > Project: Hadoop YARN > Issue Type: Bug > Components: scheduler > Affects Versions: 2.2.0 > Environment: SuSe 11 Linux > Reporter: Sunil G > Assignee: Sunil G > Attachments: Yarn-1631.1.patch, Yarn-1631.2.patch > > > Application1 has a demand of 8GB[Map Task Size as 8GB] which is more than Node_1 can handle. > Node_1 has a size of 8GB and 2GB is used by Application1's AM. > Hence reservation happened for remaining 6GB in Node_1 by Application1. > A new job is submitted with 2GB AM size and 2GB task size with only 2 Maps to run. > Node_2 also has 8GB capability. > But Application2's AM cannot be launched in Node_2. And Application2 waits longer as only 2 Nodes are available in cluster. -- This message was sent by Atlassian JIRA (v6.3.4#6332)