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 1AA52200C73 for ; Wed, 26 Apr 2017 03:08:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 192DB160BB6; Wed, 26 Apr 2017 01:08:08 +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 603EB160BB3 for ; Wed, 26 Apr 2017 03:08:07 +0200 (CEST) Received: (qmail 28355 invoked by uid 500); 26 Apr 2017 01:08:06 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 28340 invoked by uid 99); 26 Apr 2017 01:08:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Apr 2017 01:08:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id DEB871B0398 for ; Wed, 26 Apr 2017 01:08:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.001 X-Spam-Level: X-Spam-Status: No, score=-100.001 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 3579JtxlGAh2 for ; Wed, 26 Apr 2017 01:08:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id E1D9A5FCAC for ; Wed, 26 Apr 2017 01:08:04 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7328FE08BB for ; Wed, 26 Apr 2017 01:08:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1BD3F21D90 for ; Wed, 26 Apr 2017 01:08:04 +0000 (UTC) Date: Wed, 26 Apr 2017 01:08:04 +0000 (UTC) From: "Eugene Kirpichov (JIRA)" To: commits@beam.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-673) Data locality for Read.Bounded MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 26 Apr 2017 01:08:08 -0000 [ https://issues.apache.org/jira/browse/BEAM-673?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D159839= 50#comment-15983950 ]=20 Eugene Kirpichov commented on BEAM-673: --------------------------------------- On second thought, this might be related to SDF: processing different restr= ictions of the same element may have different requirements. Or more like: a design for DoFn's giving hints to runners about their resou= rce requirements would need to include some data dependence. I don't have a= good idea about how to express it in a way that will be modular and will c= ombine well with the rest of the Beam model and various tricks runners are = allowed to do (such as fusion or materialization). > Data locality for Read.Bounded > ------------------------------ > > Key: BEAM-673 > URL: https://issues.apache.org/jira/browse/BEAM-673 > Project: Beam > Issue Type: Bug > Components: runner-spark > Reporter: Amit Sela > Assignee: Isma=C3=ABl Mej=C3=ADa > Fix For: First stable release > > > In some distributed filesystems, such as HDFS, we should be able to hint = to Spark the preferred locations of splits. > Here is an example of how Spark does that for Hadoop RDDs: > https://github.com/apache/spark/blob/branch-1.6/core/src/main/scala/org/a= pache/spark/rdd/NewHadoopRDD.scala#L249 -- This message was sent by Atlassian JIRA (v6.3.15#6346)