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 33253200B3B for ; Mon, 11 Jul 2016 18:06:18 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 31BD9160A5E; Mon, 11 Jul 2016 16:06:18 +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 78353160A7D for ; Mon, 11 Jul 2016 18:06:17 +0200 (CEST) Received: (qmail 69672 invoked by uid 500); 11 Jul 2016 16:06:16 -0000 Mailing-List: contact dev-help@apex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apex.apache.org Delivered-To: mailing list dev@apex.apache.org Received: (qmail 69463 invoked by uid 99); 11 Jul 2016 16:06:16 -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; Mon, 11 Jul 2016 16:06:16 +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 DB45718014A for ; Mon, 11 Jul 2016 16:06:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -5.446 X-Spam-Level: X-Spam-Status: No, score=-5.446 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx2-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 i4ImjJvca12D for ; Mon, 11 Jul 2016 16:06:12 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with SMTP id 1EEB65FE3F for ; Mon, 11 Jul 2016 16:06:11 +0000 (UTC) Received: (qmail 66635 invoked by uid 99); 11 Jul 2016 16:06:06 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jul 2016 16:06:06 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 1F797DFFF8; Mon, 11 Jul 2016 16:06:06 +0000 (UTC) From: ilganeli To: dev@apex.incubator.apache.org Reply-To: dev@apex.incubator.apache.org References: In-Reply-To: Subject: [GitHub] apex-malhar pull request #309: [APEXMALHAR-2106] Support multiple streams in... Content-Type: text/plain Message-Id: <20160711160606.1F797DFFF8@git1-us-west.apache.org> Date: Mon, 11 Jul 2016 16:06:06 +0000 (UTC) archived-at: Mon, 11 Jul 2016 16:06:18 -0000 GitHub user ilganeli reopened a pull request: https://github.com/apache/apex-malhar/pull/309 [APEXMALHAR-2106] Support multiple streams in StreamMerger * Created a module which creates a binary tree of StreamMerger operators to support merging multiple streams * StreamMerger operators are presently allocated as CONTAINER_LOCAL. I would like for them to be THREAD_LOCAL but I was getting the following error when attempting this: ``` Caused by: javax.validation.ValidationException: Locality THREAD_LOCAL invalid for operator OperatorMeta{name=Merger_Tier_0_#_0, operator=StreamMerger{name=null}, attributes={}} with multiple input streams as they origin from different owner OIO operators ``` * An example application is included You can merge this pull request into a Git repository by running: $ git pull https://github.com/ilganeli/incubator-apex-malhar APEXMALHAR-2106F Alternatively you can review and apply these changes as the patch at: https://github.com/apache/apex-malhar/pull/309.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 #309 ---- commit e56d2b00f2114842877ec403b8a60df82b4014a9 Author: Ilya Ganelin Date: 2016-06-02T21:56:39Z Created a module to merge multiple streams into a single stream. Created a test application demonstrating this in action. Still need to add more tests. Fixed error with attempting to use odd number of input streams. Input ports for StreamMerger are now optional. Dramatically simplified implementation by replacing manual tier creation with a queue of unconnected ports. Updated locality settings. Added test to count number of tuples received at output and test equality against all tuples sent across all merged streams. Added explicit check for values. Changes to pom. Restored pom commit d89df40ffd385c686b67ceef0aefb4f36f6fb5a0 Author: Ilya Ganelin Date: 2016-07-11T15:40:53Z Merge remote-tracking branch 'upstream/master' into APEXMALHAR-2106F commit f654ff6aeb3961cbdc566b266667eadc4d347856 Author: Ilya Ganelin Date: 2016-07-11T15:49:01Z Updated to use async execution and fixed comments from PR. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---