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 2404310054 for ; Fri, 14 Jun 2013 23:45:21 +0000 (UTC) Received: (qmail 60705 invoked by uid 500); 14 Jun 2013 23:45:20 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 60606 invoked by uid 500); 14 Jun 2013 23:45:20 -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 60592 invoked by uid 99); 14 Jun 2013 23:45:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jun 2013 23:45:20 +0000 Date: Fri, 14 Jun 2013 23:45:20 +0000 (UTC) From: "Alejandro Abdelnur (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MAPREDUCE-5311) Remove slot millis computation logic and deprecate counter constants 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/MAPREDUCE-5311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683930#comment-13683930 ] Alejandro Abdelnur commented on MAPREDUCE-5311: ----------------------------------------------- How about? *for 2.1-beta:* * we change the calculation to use the MIN value from the local config (typically people use the in the clients the same confs as in the cluster) * we get rid of the MIN from the Yarn Client API *for the next release:* * introduce mem-millis and vcores-millis using allocation info * map slot-millis to mem-millis * deprecate slot-millis counter names If folks agree I can put a patch changing the calculation to use the MIN value from the local config > Remove slot millis computation logic and deprecate counter constants > -------------------------------------------------------------------- > > Key: MAPREDUCE-5311 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-5311 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: applicationmaster > Affects Versions: 2.0.4-alpha > Reporter: Alejandro Abdelnur > Assignee: Alejandro Abdelnur > Attachments: MAPREDUCE-5311.patch > > > Per discussion in MAPREDUCE-5310 and comments in the code we should remove all the related logic and just leave the counter constant for backwards compatibility and deprecate the counter constants. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira