Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7D260200ACA for ; Thu, 9 Jun 2016 17:30:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7BD8B160A5C; Thu, 9 Jun 2016 15:30:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C50D0160A29 for ; Thu, 9 Jun 2016 17:30:22 +0200 (CEST) Received: (qmail 49967 invoked by uid 500); 9 Jun 2016 15:30:21 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 49911 invoked by uid 99); 9 Jun 2016 15:30:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jun 2016 15:30:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 91F392C1F64 for ; Thu, 9 Jun 2016 15:30:21 +0000 (UTC) Date: Thu, 9 Jun 2016 15:30:21 +0000 (UTC) From: "Steve Loughran (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-12878) Impersonate hosts in s3a for better data locality handling MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 09 Jun 2016 15:30:23 -0000 [ https://issues.apache.org/jira/browse/HADOOP-12878?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D15= 322700#comment-15322700 ]=20 Steve Loughran commented on HADOOP-12878: ----------------------------------------- "*" is certainly something that is used in resource requests...I'd don't se= e it being used in any filesystem block location status calls. I suspect th= at any long-lived application will be doing hostname matching on the blocks= that come back for locality =E2=80=94and may not work with a "*" (it's not= a hostname after all), or not treat it that well. Assuming the hostname was configurable: you'd give it a list, it'd return a= random subset of them, people could experiment with "*" and "offsite.examp= le.org" to see what worked well. > Impersonate hosts in s3a for better data locality handling > ---------------------------------------------------------- > > Key: HADOOP-12878 > URL: https://issues.apache.org/jira/browse/HADOOP-12878 > Project: Hadoop Common > Issue Type: Sub-task > Components: fs/s3 > Affects Versions: 2.8.0 > Reporter: Thomas Demoor > Assignee: Thomas Demoor > > Currently, {{localhost}} is passed as locality for each block, causing al= l blocks involved in job to initially target the same node (RM), before bei= ng moved by the scheduler (to a rack-local node). This reduces parallelism = for jobs (with short-lived mappers).=20 > We should mimic Azures implementation: a config setting {{fs.s3a.block.lo= cation.impersonatedhost}} where the user can enter the list of hostnames in= the cluster to return to {{getFileBlockLocations}}.=20 > Possible optimization: for larger systems, it might be better to return N= (5?) random hostnames to prevent passing a huge array (the downstream code= assumes size =3D O(3)). -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org