Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 14672 invoked from network); 12 May 2010 08:31:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 May 2010 08:31:04 -0000 Received: (qmail 67881 invoked by uid 500); 12 May 2010 08:31:04 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 67822 invoked by uid 500); 12 May 2010 08:31:04 -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 67813 invoked by uid 99); 12 May 2010 08:31:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 May 2010 08:31:04 +0000 X-ASF-Spam-Status: No, hits=-1416.7 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 May 2010 08:31:03 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4C8UgVM017631 for ; Wed, 12 May 2010 08:30:42 GMT Message-ID: <28288779.21761273653042674.JavaMail.jira@thor> Date: Wed, 12 May 2010 04:30:42 -0400 (EDT) From: "Amareshwari Sriramadasu (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-1683) Remove JNI calls from ClusterStatus cstr In-Reply-To: <1639573140.37041270623573851.JavaMail.jira@brutus.apache.org> 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-1683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12866506#action_12866506 ] Amareshwari Sriramadasu commented on MAPREDUCE-1683: ---------------------------------------------------- Patch functionally looks fine. But lets wait for the resolution of MAPREDUCE-1779 before this. > Remove JNI calls from ClusterStatus cstr > ---------------------------------------- > > Key: MAPREDUCE-1683 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1683 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobtracker > Affects Versions: 0.20.2 > Reporter: Chris Douglas > Assignee: Luke Lu > Fix For: 0.22.0 > > Attachments: MAPREDUCE-1683_part2_yhadoop_20_10.patch, MAPREDUCE-1683_yhadoop_20_9.patch, MAPREDUCE-1683_yhadoop_20_S.patch, mr-1683-trunk-v1.patch > > > The {{ClusterStatus}} constructor makes two JNI calls to the {{Runtime}} to fetch memory information. {{ClusterStatus}} instances are often created inside the {{JobTracker}} to obtain other, unrelated metrics (sometimes from schedulers' inner loops). Given that this information is related to the {{JobTracker}} process and not the cluster, the metrics are also available via {{JvmMetrics}}, and the jsps can gather this information for themselves: these fields can be removed from {{ClusterStatus}} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.