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 F0F71E1ED for ; Fri, 21 Dec 2012 12:43:19 +0000 (UTC) Received: (qmail 37096 invoked by uid 500); 21 Dec 2012 12:43:19 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 36947 invoked by uid 500); 21 Dec 2012 12:43:19 -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 36537 invoked by uid 99); 21 Dec 2012 12:43:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Dec 2012 12:43:17 +0000 Date: Fri, 21 Dec 2012 12:43:17 +0000 (UTC) From: "Hudson (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MAPREDUCE-4845) ClusterStatus.getMaxMemory() and getUsedMemory() exist in MR1 but not MR2 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-4845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13537825#comment-13537825 ] Hudson commented on MAPREDUCE-4845: ----------------------------------- Integrated in Hadoop-Hdfs-0.23-Build #470 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/470/]) MAPREDUCE-4845. ClusterStatus.getMaxMemory() and getUsedMemory() exist in MR1 but not MR2 (Sandy Ryza via tgraves) (Revision 1424729) Result = UNSTABLE tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1424729 Files : * /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt * /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/ClusterStatus.java > ClusterStatus.getMaxMemory() and getUsedMemory() exist in MR1 but not MR2 > -------------------------------------------------------------------------- > > Key: MAPREDUCE-4845 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4845 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: client > Affects Versions: 1.1.1, 2.0.2-alpha > Reporter: Sandy Ryza > Assignee: Sandy Ryza > Fix For: 1.2.0, 2.0.3-alpha, 0.23.6 > > Attachments: MAPREDUCE-4845-branch-1.patch, MAPREDUCE-4845.patch, MAPREDUCE-4845.patch > > > For backwards compatibility, these methods should exist in both MR1 and MR2. > Confusingly, these methods return the max memory and used memory of the jobtracker, not the entire cluster. > I'd propose to add them to MR2 and return -1, and deprecate them in both MR1 and MR2. Alternatively, I could add plumbing to get the resource manager memory stats. -- 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