Return-Path: X-Original-To: apmail-asterixdb-dev-archive@minotaur.apache.org Delivered-To: apmail-asterixdb-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EE4B2182E5 for ; Sat, 30 Jan 2016 00:59:48 +0000 (UTC) Received: (qmail 40318 invoked by uid 500); 30 Jan 2016 00:59:48 -0000 Delivered-To: apmail-asterixdb-dev-archive@asterixdb.apache.org Received: (qmail 40253 invoked by uid 500); 30 Jan 2016 00:59:48 -0000 Mailing-List: contact dev-help@asterixdb.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.incubator.apache.org Delivered-To: mailing list dev@asterixdb.incubator.apache.org Received: (qmail 40237 invoked by uid 99); 30 Jan 2016 00:59:48 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Jan 2016 00:59:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 2178AC17B0 for ; Sat, 30 Jan 2016 00:59:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.898 X-Spam-Level: ** X-Spam-Status: No, score=2.898 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id SBZvp679JB7I for ; Sat, 30 Jan 2016 00:59:47 +0000 (UTC) Received: from mail-pa0-f53.google.com (mail-pa0-f53.google.com [209.85.220.53]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 5108C20C6A for ; Sat, 30 Jan 2016 00:59:46 +0000 (UTC) Received: by mail-pa0-f53.google.com with SMTP id ho8so49495495pac.2 for ; Fri, 29 Jan 2016 16:59:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type; bh=yHsELQSzIGiX92pv6BdrH/xiWzd73agb5RHEozFZMBY=; b=OH7n7CrS9CI210WKbTPorslOjeeqtxgqLONCeZQbRfadLjju3S/JZqaXMf/Auq8wna c1W7OeRA3WSkj7dB54IO8ASh0S44aty1Yr+IUABi9WRPZMhi3hd/ejbJY38izM1pCa6C XFkTIexMPi7WE2M4L6f0mSjUQO7WIZB2iUeU3FFGA58KyyHcv/oXXyNUWjBwBlAZrmU9 QBUdpS7F3tPY+g0vbdc8nYGb1LKDb1FfK1hGHqKe9UsvduP8DhjmNqJU7I86DfCHHXvm OSmsULSAp6fyq4c5cVfT4bVGNdXp0zSZjohFRENN9jyTVAF890GNrIifVJ5/nfGl/1jT 7NmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type; bh=yHsELQSzIGiX92pv6BdrH/xiWzd73agb5RHEozFZMBY=; b=lLyHcOENyxxO9yp4AkDv15QoRVGhpCNsaI0xNturxFoFILO5Satjb1Qx8DTXo9Xw/C N0xJJFd8y0ov+fl0Jq0XsX0KraGpMDgc6bPb0kIWaVxJFIGGOJzGaShN8wVewa3U5iNH JLNK21/WdnatUHYkA3ZcXNe/tIbVCZZOPX8qfCwkTjPXMKWZBEw/U0wlLdQPsMwHKBLa GsxMdEXdE9csYCwp9XoV9SA3UOUJVkjLrI5fdGjtVJIJ+NTnMLzcdHwHnuT0wbH2MC1S rzkSGvewlQa1sB65qApwc9YZUGJQsyG1BrXigFGS2WZ5NnsxuNJM8waN65D/sU+darSf sTPQ== X-Gm-Message-State: AG10YOSiecunfU5LhKkwQ2fTZDY+S7gar5LUc4rmOwMuWwhYYczpt8U7u2asyez3czUjDA== X-Received: by 10.66.144.37 with SMTP id sj5mr17887234pab.69.1454115579044; Fri, 29 Jan 2016 16:59:39 -0800 (PST) Received: from dhcp-053184.ics.uci.edu (dhcp-053184.ics.uci.edu. [128.195.53.184]) by smtp.googlemail.com with ESMTPSA id cf6sm26114583pad.41.2016.01.29.16.59.37 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 29 Jan 2016 16:59:38 -0800 (PST) Subject: Re: Proposal for adding test name resolver for NC names and HDFS NameNode names To: dev@asterixdb.incubator.apache.org References: From: Mike Carey Message-ID: <56AC0AF9.9030904@gmail.com> Date: Fri, 29 Jan 2016 16:59:37 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------070703010305020208070303" --------------070703010305020208070303 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit +1 :-) On 1/29/16 12:37 PM, Ian Maxon wrote: > Hi all, > Murtadha, Till, Abdullah and I all were discussing the best way to resolve > the issue with how to provide the location of the HDFS namenode to external > indexing queries in test cases, without having to change the queries > themselves. > > The proposed solution (as I understood it... :) ) is to basically come up > with a new name resolver, akin to the DNSResolver and IdentityResolver in > Hyracks, but will allow for arbitrary mappings of strings to IPs akin to a > host file. This will be used both in the NC name resolution and the > external indexing adapter configuration. > By default this will be disabled, everything will still use DNSResolver by > default in normal instances. However this resolver will be available and > possible to enable (again, mainly for testing's sake) in the > asterix-configuration.xml properties. > > Please feel free to comment! In the meantime, I will start implementing > this so it can unblock the use of external indexing queries in > ClusterExecutionIT. > > Thanks, > - Ian > --------------070703010305020208070303--