Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 49958 invoked from network); 9 Nov 2010 18:40:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Nov 2010 18:40:59 -0000 Received: (qmail 79859 invoked by uid 500); 9 Nov 2010 18:41:30 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 79816 invoked by uid 500); 9 Nov 2010 18:41:30 -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 79774 invoked by uid 99); 9 Nov 2010 18:41:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Nov 2010 18:41:29 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Nov 2010 18:41:29 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oA9If9hf021133 for ; Tue, 9 Nov 2010 18:41:09 GMT Message-ID: <21901852.105631289328068997.JavaMail.jira@thor> Date: Tue, 9 Nov 2010 13:41:08 -0500 (EST) From: "Scott Chen (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-2170) Send out last-minute load averages in TaskTrackerStatus In-Reply-To: <17678413.180651288641984842.JavaMail.jira@thor> 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-2170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12930227#action_12930227 ] Scott Chen commented on MAPREDUCE-2170: --------------------------------------- Hey Harsh, Why do we need to override getSystemLoadAverage()? The native one should also work for Linux case, right? {code} @Override public float getSystemLoadAverage() { readProcLoadAverageFile(); return loadAverage; } {code} > Send out last-minute load averages in TaskTrackerStatus > ------------------------------------------------------- > > Key: MAPREDUCE-2170 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2170 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: jobtracker > Affects Versions: 0.22.0 > Environment: GNU/Linux > Reporter: Harsh J Chouraria > Assignee: Harsh J Chouraria > Priority: Minor > Fix For: 0.22.0 > > Original Estimate: 0.33h > Remaining Estimate: 0.33h > > Load averages could be useful in scheduling. This patch looks to extend the existing Linux resource plugin (via /proc/loadavg file) to allow transmitting load averages of the last one minute via the TaskTrackerStatus. > Patch is up for review, with test cases added, at: https://reviews.apache.org/r/20/ -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.