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 91E04200C29 for ; Tue, 28 Feb 2017 18:28:50 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 90422160B7E; Tue, 28 Feb 2017 17:28:50 +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 D98EE160B7C for ; Tue, 28 Feb 2017 18:28:49 +0100 (CET) Received: (qmail 9354 invoked by uid 500); 28 Feb 2017 17:28:48 -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 9117 invoked by uid 99); 28 Feb 2017 17:28:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Feb 2017 17:28:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 11E9F18E122 for ; Tue, 28 Feb 2017 17:28:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.347 X-Spam-Level: X-Spam-Status: No, score=-2.347 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-2.999, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id QJdxZaPmhUe3 for ; Tue, 28 Feb 2017 17:28:47 +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 0F1D95FE0B for ; Tue, 28 Feb 2017 17:28:47 +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 57009E0608 for ; Tue, 28 Feb 2017 17:28:46 +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 880B524168 for ; Tue, 28 Feb 2017 17:28:45 +0000 (UTC) Date: Tue, 28 Feb 2017 17:28:45 +0000 (UTC) From: "Davor Bonaci (JIRA)" To: commits@beam.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-1556) Spark executors need to register IO factories MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 28 Feb 2017 17:28:50 -0000 [ https://issues.apache.org/jira/browse/BEAM-1556?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D15888= 502#comment-15888502 ]=20 Davor Bonaci commented on BEAM-1556: ------------------------------------ Ack the higher point -- this is an SDK specific-requirement. I think it would make sense if this is done by the SDK _if_ we had init & c= leanup methods at various scopes (per worker, JVM, process, thread, task, s= tep, etc.). The runner would then call the appropriately scoped init method= and the SDK can do this (trivially). However, this is something we need fo= r other reasons too, but don't have today. Today, the SDK could call it per= haps before every step (every DoFn, source, etc.), which seems like an over= kill. To unblock the user scenario, I'd be in favor of the approach that the runn= er calls this now on a per-task basis, with the clear understanding this ha= s to be cleaned up in the future. > Spark executors need to register IO factories > --------------------------------------------- > > Key: BEAM-1556 > URL: https://issues.apache.org/jira/browse/BEAM-1556 > Project: Beam > Issue Type: Bug > Components: runner-spark > Reporter: Frances Perry > Assignee: Jean-Baptiste Onofr=C3=A9 > > The Spark executors need to call IOChannelUtils.registerIOFactories(optio= ns) in order to support GCS file and make the default WordCount example wor= k. > Context in this thread: https://lists.apache.org/thread.html/469a139c9eb0= 7e64e514cdea42ab8000678ab743794a090c365205d7@%3Cuser.beam.apache.org%3E -- This message was sent by Atlassian JIRA (v6.3.15#6346)