Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 93197 invoked from network); 18 Jun 2010 12:08:48 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Jun 2010 12:08:48 -0000 Received: (qmail 8232 invoked by uid 500); 18 Jun 2010 12:08:48 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 8144 invoked by uid 500); 18 Jun 2010 12:08:46 -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 8136 invoked by uid 99); 18 Jun 2010 12:08:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jun 2010 12:08:45 +0000 X-ASF-Spam-Status: No, hits=-1529.9 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; Fri, 18 Jun 2010 12:08:44 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5IC8N4F024984 for ; Fri, 18 Jun 2010 12:08:24 GMT Message-ID: <20574422.77961276862903925.JavaMail.jira@thor> Date: Fri, 18 Jun 2010 08:08:23 -0400 (EDT) From: "Amar Kamat (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Updated: (MAPREDUCE-1876) TaskAttemptStartedEvent.java incorrectly logs MAP_ATTEMPT_STARTED as event type for reduce tasks In-Reply-To: <16460640.73791276836324260.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-1876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amar Kamat updated MAPREDUCE-1876: ---------------------------------- Attachment: mapreduce-1876-v1.1.patch Attaching a patch that uses the task-attempt-id to distinguish between map-tasktype and reduce-tasktype. Added a test for the same. > TaskAttemptStartedEvent.java incorrectly logs MAP_ATTEMPT_STARTED as event type for reduce tasks > ------------------------------------------------------------------------------------------------ > > Key: MAPREDUCE-1876 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1876 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobtracker > Affects Versions: 0.22.0 > Reporter: Amar Kamat > Assignee: Amar Kamat > Fix For: 0.22.0 > > Attachments: mapreduce-1876-v1.1.patch > > > {{TaskAttemptStartedEvent}} is used to log the start time of both the map and reduce task attempts to {{JobHistory}}. Following is the implementation of _getEventType()_ method of {{TaskAttemptStartedEvent}} > {code} > /** Get the event type */ > public EventType getEventType() { > return EventType.MAP_ATTEMPT_STARTED; > } > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.