Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 37965 invoked from network); 10 Nov 2009 01:29:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Nov 2009 01:29:56 -0000 Received: (qmail 61819 invoked by uid 500); 10 Nov 2009 01:29:56 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 61750 invoked by uid 500); 10 Nov 2009 01:29:55 -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 61740 invoked by uid 99); 10 Nov 2009 01:29:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Nov 2009 01:29:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Nov 2009 01:29:53 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 77FC6234C1F1 for ; Mon, 9 Nov 2009 17:29:32 -0800 (PST) Message-ID: <684542567.1257816572490.JavaMail.jira@brutus> Date: Tue, 10 Nov 2009 01:29:32 +0000 (UTC) From: "Scott Chen (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Updated: (MAPREDUCE-1167) Make ProcfsBasedProcessTree collect rss memory information In-Reply-To: <1690572128.1256845439370.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-1167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Chen updated MAPREDUCE-1167: ---------------------------------- Attachment: MAPREDUCE-1167-v3.patch 1. Rename rssmem to rssmemPage to help clarify. 2. Throws Exception when PAGESIZE is not available. @Vinod: After reviewing the code, I think it is better to use page number in ProcessInfo because ProcessInfo is simply a parsed version of /proc/PID directory. It should be consistent with what's in /proc. I changed the field's name from rssmem to rssmemPage and also the getters' names. I think this should be able to help clarify. Also ProcessInfo is a private class. I think as long as our public methods all use bytes it should be fine. > Make ProcfsBasedProcessTree collect rss memory information > ---------------------------------------------------------- > > Key: MAPREDUCE-1167 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1167 > Project: Hadoop Map/Reduce > Issue Type: New Feature > Components: tasktracker > Affects Versions: 0.20.1 > Reporter: Scott Chen > Assignee: Scott Chen > Attachments: MAPREDUCE-1167-v2.patch, MAPREDUCE-1167.patch > > > Right now ProcfsBasedProcess collects only virtual memory. We can make it collect rss memory as well. > Later we can use rss in TaskMemoryManagerThread to obtain better memory management. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.