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 9BC487BAD for ; Sat, 22 Oct 2011 06:22:57 +0000 (UTC) Received: (qmail 2246 invoked by uid 500); 22 Oct 2011 06:22:57 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 2092 invoked by uid 500); 22 Oct 2011 06:22:56 -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 2063 invoked by uid 99); 22 Oct 2011 06:22:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Oct 2011 06:22:55 +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; Sat, 22 Oct 2011 06:22:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5C82A316625 for ; Sat, 22 Oct 2011 06:20:32 +0000 (UTC) Date: Sat, 22 Oct 2011 06:20:32 +0000 (UTC) From: "Vinod Kumar Vavilapalli (Reopened) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <809848724.4444.1319264432380.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1451821500.16114.1319129951146.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Reopened] (MAPREDUCE-3234) Locality scheduling broken due to mismatch between IPs and hosts 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-3234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vinod Kumar Vavilapalli reopened MAPREDUCE-3234: ------------------------------------------------ > Locality scheduling broken due to mismatch between IPs and hosts > ---------------------------------------------------------------- > > Key: MAPREDUCE-3234 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-3234 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: mrv2 > Affects Versions: 0.23.0 > Reporter: Todd Lipcon > Priority: Blocker > Attachments: MR-3234.1.patch > > > I noticed that, on a single-rack cluster, I wasn't getting hardly any data locality. The issue appears to be the code in RMContainerAllocator which changes the resource requests to use IP addresses instead of hostnames: > {code} > //host comes from data splitLocations which are hostnames. Containers > // use IP addresses. > //TODO Temporary fix for locality. Use resolvers from h-common. > // Cache to make this more efficient ? > {code} > However, at least on my cluster, the resource manager sees node resources as hostnames, not IPs. Removing this code fixed data locality. -- 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