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 304AD9239 for ; Thu, 13 Oct 2011 10:21:34 +0000 (UTC) Received: (qmail 94102 invoked by uid 500); 13 Oct 2011 10:21:34 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 93999 invoked by uid 500); 13 Oct 2011 10:21:33 -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 93991 invoked by uid 99); 13 Oct 2011 10:21:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2011 10:21:33 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2011 10:21:32 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 00D5D306852 for ; Thu, 13 Oct 2011 10:21:12 +0000 (UTC) Date: Thu, 13 Oct 2011 10:21:12 +0000 (UTC) From: "Amar Kamat (Commented) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <2097235942.8548.1318501272004.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <718811705.42468.1316445668888.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MAPREDUCE-3035) MR V2 jobhistory does not contain rack information 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-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126471#comment-13126471 ] Amar Kamat commented on MAPREDUCE-3035: --------------------------------------- W.r.t Rumen, {{LoggedTaskAttempt}} should now support {{setNodeName(RackName, HostName)}} API. Also in {{JobBuilder}} (e.g. see line-532), calls to {{LoggedTaskAttempt.setHostName()}} should be modified to {{LoggedTaskAttempt.setNodeName(RackName, HostName)}}. Hopefully this will help you guys get started. > MR V2 jobhistory does not contain rack information > -------------------------------------------------- > > Key: MAPREDUCE-3035 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-3035 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: mrv2 > Affects Versions: 0.23.0 > Reporter: Karam Singh > Assignee: chackaravarthy > Priority: Blocker > Fix For: 0.23.0 > > Attachments: MAPREDUCE-3035.patch > > > When topology.node.switch.mapping.impl is set to enable rack-locality resolution via the topology script, from the RM web-UI, we can see the rack information for each node. Running a job also reveals the information about rack-local map tasks launched at end of job completion on the client side. > But the hostname field for attempts in the JobHistory does not contain this rack information. > In case of hadoop-0.20 securiy or MRV1, hostname field of job history does contain rackid/hostname whereas in MRV2, hostname field only contains the hostIP. Thus this is a regression. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira