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 0C7BD200C5D for ; Fri, 7 Apr 2017 21:12:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0937C160B97; Fri, 7 Apr 2017 19:12:46 +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 4F069160B84 for ; Fri, 7 Apr 2017 21:12:45 +0200 (CEST) Received: (qmail 49627 invoked by uid 500); 7 Apr 2017 19:12:44 -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 49611 invoked by uid 99); 7 Apr 2017 19:12:43 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Apr 2017 19:12:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 6A57FC047D for ; Fri, 7 Apr 2017 19:12:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-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 (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 423zeQV5DPZ7 for ; Fri, 7 Apr 2017 19:12:42 +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 5ADAD5F27E for ; Fri, 7 Apr 2017 19:12:42 +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 E563BE02AA for ; Fri, 7 Apr 2017 19:12:41 +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 9CC6B24065 for ; Fri, 7 Apr 2017 19:12:41 +0000 (UTC) Date: Fri, 7 Apr 2017 19:12:41 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: commits@beam.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-65) SplittableDoFn MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 07 Apr 2017 19:12:46 -0000 [ https://issues.apache.org/jira/browse/BEAM-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15961303#comment-15961303 ] ASF GitHub Bot commented on BEAM-65: ------------------------------------ GitHub user jkff opened a pull request: https://github.com/apache/beam/pull/2462 [BEAM-65] Adds HasDefaultTracker for RestrictionTracker inference Allows a restriction type to implement HasDefaultTracker, in that case the splittable DoFn itself does not need to implement NewTracker - only ProcessElement and GetInitialRestriction. R: @tgroh (this is less urgent to review than https://github.com/apache/beam/pull/2455 - just nice to have) You can merge this pull request into a Git repository by running: $ git pull https://github.com/jkff/incubator-beam auto-tracker Alternatively you can review and apply these changes as the patch at: https://github.com/apache/beam/pull/2462.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2462 ---- commit aa2f643a6a03ca1c1ac12873738219ed130edea5 Author: Eugene Kirpichov Date: 2017-04-07T19:09:47Z [BEAM-65] Adds HasDefaultTracker for RestrictionTracker inference Allows a restriction type to implement HasDefaultTracker, in that case the splittable DoFn itself does not need to implement NewTracker - only ProcessElement and GetInitialRestriction. ---- > SplittableDoFn > -------------- > > Key: BEAM-65 > URL: https://issues.apache.org/jira/browse/BEAM-65 > Project: Beam > Issue Type: New Feature > Components: beam-model > Reporter: Daniel Halperin > Assignee: Eugene Kirpichov > Priority: Minor > > SplittableDoFn is a proposed enhancement for "dynamically splittable work" to the Beam model. > Among other things, it would allow a unified implementation of bounded/unbounded sources with dynamic work rebalancing and the ability to express multiple scalable steps (e.g., global expansion -> file sizing & parsing -> splitting files into independently-processable blocks) via composition rather than inheritance. > This would make it much easier to implement many types of sources, to modify and reuse existing sources. Also, it would improve scalability of the Beam model by moving things like splitting a source from the control plane (where it is today -- glob -> List sent over service APIs) into the data plane (PCollection -> PCollection -> ...). -- This message was sent by Atlassian JIRA (v6.3.15#6346)