Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B3D8FDF5A for ; Tue, 18 Dec 2012 02:40:15 +0000 (UTC) Received: (qmail 84646 invoked by uid 500); 18 Dec 2012 02:40:13 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 84159 invoked by uid 500); 18 Dec 2012 02:40:12 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 84038 invoked by uid 99); 18 Dec 2012 02:40:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Dec 2012 02:40:08 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of psybers@gmail.com designates 209.85.213.171 as permitted sender) Received: from [209.85.213.171] (HELO mail-ye0-f171.google.com) (209.85.213.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Dec 2012 02:40:02 +0000 Received: by mail-ye0-f171.google.com with SMTP id m8so23834yen.2 for ; Mon, 17 Dec 2012 18:39:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=YNhtQCsV51jp2NccArDUUsO13/Js9V4GeeXolJpIvZA=; b=ZXz7rgeH1Zk/YVsndJs2DAw0SRvMJCGGvteIsO0mQqm+dbMjacwhy+fTv+tTYo/3SO xWGegzQ9GFNCdxD5/vqYTfk+uN+StX5AZrDuY2glUb7nJoS68eYjlVEillVZi4Lu7Y2y NTS3ebo4xgBxE3ziPkAOydv0KQThuZ5rqoxX1KgUaL6GWliDW0oae4U3RGZys8fZs/NH DsxKvvQs7NY5WwwOIgXA87V/1vlGDdwE3ta6iwtPr4Txc44c4jjxmTybolsXynRPInz3 eZd+OLI0z7IrlHkO01avIUvi6g8kFT61KOjQxfw+ts7IbmHrwRNpBmNiAU5hNoMdb/Hl rNyQ== MIME-Version: 1.0 Received: by 10.236.114.45 with SMTP id b33mr455830yhh.54.1355798382197; Mon, 17 Dec 2012 18:39:42 -0800 (PST) Sender: psybers@gmail.com Received: by 10.101.109.8 with HTTP; Mon, 17 Dec 2012 18:39:41 -0800 (PST) In-Reply-To: References: Date: Mon, 17 Dec 2012 20:39:41 -0600 X-Google-Sender-Auth: zgeYmkDJ4KcHN_I4v5MpJTPG5Co Message-ID: Subject: Re: Wrong input split locations after enabling reverse DNS From: Robert Dyer To: Jean-Daniel Cryans Cc: Hbase-User Content-Type: multipart/alternative; boundary=20cf301af943f53c5304d1176892 X-Virus-Checked: Checked by ClamAV on apache.org --20cf301af943f53c5304d1176892 Content-Type: text/plain; charset=ISO-8859-1 Seems plausible. A simple grep reveals this: mapreduce/TableInputFormatBase.java: hostName = DNS.reverseDns(ipAddress, this.nameServer); which is not doing the filtering that HBASE-4109 does. Would this typically be filed as a new issue or brought up in comments on the closed issue? On Mon, Dec 17, 2012 at 8:21 PM, Jean-Daniel Cryans wrote: > Maybe TableInputFormatBase.getSplits is missing something similar to > HBASE-4109? > > J-D > > On Mon, Dec 17, 2012 at 5:26 PM, Robert Dyer wrote: > > That's what I thought too. Except I am running 0.94.2 and this fix was > > released in 0.90.4. > > > > > > On Mon, Dec 17, 2012 at 5:11 PM, Stack wrote: > > > >> On Sun, Dec 16, 2012 at 1:16 AM, Robert Dyer wrote: > >> > >>> I recently enabled reverse DNS on my test cluster. Now when I run a MR > >>> job, the HBase input split locations are all adding a period to the > end. > >>> For example: > >>> > >>> /default-rack/foo-1. > >>> /default-rack/foo-2. > >>> > >>> Yet the machine locations are still correct: > >>> > >>> /default-rack/foo-1 > >>> /default-rack/foo-2 > >>> > >>> Since those strings don't match, it isn't assigning the tasks locally. > It > >>> actually thinks 100% of the map tasks are rack-local and 0% data-local > >>> (although in reality, some still wind up being data-local due to sheer > >>> luck). > >>> > >>> What is the issue here? Note that I don't have this problem with the > MR > >>> tasks using SequenceFile as input, only with HBase's TableMapper. > >>> > >> > >> > >> Looks like https://issues.apache.org/jira/browse/HBASE-4109 ? > >> St.Ack > >> > >> > -- Robert Dyer rdyer@iastate.edu --20cf301af943f53c5304d1176892--