Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 014FBD875 for ; Wed, 22 Aug 2012 02:17:26 +0000 (UTC) Received: (qmail 74962 invoked by uid 500); 22 Aug 2012 02:17:21 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 74866 invoked by uid 500); 22 Aug 2012 02:17:21 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 74859 invoked by uid 99); 22 Aug 2012 02:17:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Aug 2012 02:17:20 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of harsh@cloudera.com designates 209.85.214.176 as permitted sender) Received: from [209.85.214.176] (HELO mail-ob0-f176.google.com) (209.85.214.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Aug 2012 02:17:13 +0000 Received: by obbtb18 with SMTP id tb18so887216obb.35 for ; Tue, 21 Aug 2012 19:16:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=QLM/rsbXj4PbuK07yarvt2aLZ+xy7GEQxu+Eib/dbkc=; b=DjusG4UiUPubH+madPALcm2fapd74fvW8BfL+f/O4k4XlDdJF4mdD1SlXdrVesDMNO 3sH/7R3MCZtMFbdOs5kSMHAqYwrjj5d2CVPGImr3SkYAjecgl7DfW6qTDFQiAfK7jvKv j9CwzHu0sSQ16Icq5cyDFgelDShMTphdCOQFHzZ/m5b5OGAUQE38WCNT9fikchqW1hdZ Sms9D6Zv4aAjtAe2JmzftL//vr8gU69VvB2KpOykeX1j6tC1GiEsFowPQeLoW5CWxw4H WT1fMIsYu4sUd0WYmxv6qFeijfVygDykHSPQckuNgUx5u1vNhzzKhEO8932TytoKPwaQ zpBQ== Received: by 10.60.13.37 with SMTP id e5mr14280615oec.98.1345601812575; Tue, 21 Aug 2012 19:16:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.11.168 with HTTP; Tue, 21 Aug 2012 19:16:30 -0700 (PDT) In-Reply-To: References: From: Harsh J Date: Wed, 22 Aug 2012 07:46:30 +0530 Message-ID: Subject: Re: Extension points available for data locality To: user@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmYX7T4Lh+hGv52N10oNwW6QuepBYnupf+NCnDwXsKWKBN8BtJSIUpu7O7EQ/FcORZwwjvp Hi, On Tue, Aug 21, 2012 at 6:14 PM, Tharindu Mathew wrote: > Harsh, > > What you said was the initial impression I got, but I thought I need to do > something more with the name node. Thanks for clearing that out. > > My guess is that this probably works by using getLocations and mapping this > location ip (or host) with the ip (or host) of the task tracker? Is this > correct? Yes this is correct, the TT's location (hostname/IP) is what it would map to. -- Harsh J