Return-Path: X-Original-To: apmail-apex-dev-archive@minotaur.apache.org Delivered-To: apmail-apex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E864A17EB5 for ; Mon, 31 Aug 2015 21:17:37 +0000 (UTC) Received: (qmail 52774 invoked by uid 500); 31 Aug 2015 21:17:37 -0000 Delivered-To: apmail-apex-dev-archive@apex.apache.org Received: (qmail 52731 invoked by uid 500); 31 Aug 2015 21:17:37 -0000 Mailing-List: contact dev-help@apex.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apex.incubator.apache.org Delivered-To: mailing list dev@apex.incubator.apache.org Received: (qmail 52719 invoked by uid 99); 31 Aug 2015 21:17:37 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Aug 2015 21:17:37 +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 18A0E1826CC for ; Mon, 31 Aug 2015 21:17:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=6.31 tests=[SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id hjh--zu2EyMi for ; Mon, 31 Aug 2015 21:17:26 +0000 (UTC) Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 1C0B5267F9 for ; Mon, 31 Aug 2015 21:17:26 +0000 (UTC) Received: by pacgr6 with SMTP id gr6so371201pac.3 for ; Mon, 31 Aug 2015 14:17:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=pXAguh/6GhHlCBSE9nB9oZGk8zYgcvYpe4JNvaUBK9I=; b=Ds2lwYcOpUdsHJWuT9aD19RBMDrHi3vSJbGPvrdjJe/8DRuofJOYp5sl3QRe9O6Eod bS0aCebe7iTpnlgAPXtxlcilvvUxLOuJI9GhLyWGzz9Xlx2iXW45XHud0vQIB2epGfoA JB56u6I2NWM7ZB5JVSF59Zd6NKot75+L49HwyhPBjS3jAWtwVKipyADZJ7YDIQ1Zx0Rj m9L8OcCbCvmfGdNMd4JmYhBOj+VsQ5lq2FwRbuKGHwbgUtg6qTTdZQrTHt+xJ+2WNnJ8 6Kuz+iRTl8wN67ERmPvpN2azt2nVuIm/6fc5EFN74GSG1nF1DGYwHi/0aO1oqCN2/zhO G7og== X-Gm-Message-State: ALoCoQlkiitTMI7kfWEyzFuZuM5Al0XVVaI8sLy0ELXvZbQGzm+Z8bG3rWG7JbMSnE0ZX9/DXDUR X-Received: by 10.68.138.200 with SMTP id qs8mr41396958pbb.19.1441055845706; Mon, 31 Aug 2015 14:17:25 -0700 (PDT) Received: from vrozov.local ([173.245.93.28]) by smtp.googlemail.com with ESMTPSA id am4sm15592117pbd.58.2015.08.31.14.17.24 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 31 Aug 2015 14:17:25 -0700 (PDT) Subject: Re: Modules support in Apex To: dev@apex.incubator.apache.org References: From: Vlad Rozov Organization: DataTorrent Message-ID: <55E4C463.6020504@datatorrent.com> Date: Mon, 31 Aug 2015 14:17:23 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Atri, As a first cut module is a predefined subgraph that can be inserted into a DAG. Generally speaking module is not required to expand to the same subgraph. Depending on module properties or configuration, module may expand to different subgraphs. At the same time, similar to an operator module has predefined input/output ports and properties. Thank you, Vlad On 8/31/15 11:46, Atri Sharma wrote: > No, I dont think APEX-3's functionality needs to be exceeded for this. What > I am trying to understand here is the concept of Module. Is it a family of > operators defined by same interface implementation *or* is it a defined > subgraph that can be replaced and used as a part of a subgraph instead of > building the whole connection again? > > On Mon, Aug 31, 2015 at 11:27 PM, Tushar Gosavi > wrote: > >> Yes, you are correct. The APEX-3 is for dynamic expansion of the DAG, If we >> can >> expand the DAG dynamically then we can use that functionality to expand the >> DAG >> with know list of operator and connections between them. In a way APEX-3 >> provides >> bigger functionality than APEX-55. >> >> Let me know if you think that module functionality requires more support >> that what will be provided by APEX-3. >> >> >> >> On Mon, Aug 31, 2015 at 10:39 AM, Atri Sharma wrote: >> >>> Looks interesting. >>> >>> Can you explain a bit on how it helps APEX-3? The objective of APEX-3 is >> to >>> have dynamic expansion of sub DAGs. If I understand correctly, the static >>> list is to be known when declaring a module. >>> >>> Please correct me if I am wrong. >>> >>> On Mon, Aug 31, 2015 at 11:05 PM, Tushar Gosavi >>> wrote: >>> >>>> Hi All, >>>> >>>> We are working on adding support for Modules in Apex. A module is a >> group >>>> of operators that will have their own existence and will ease the way >> we >>>> are currently defining an application. >>>> >>>> A module is defined by: >>>> >>>> - list of operators. >>>> - list of input and output ports. >>>> - set of properties for the module. >>>> - set of attributes for the module. >>>> >>>> >>>> Details on the proposed work is given at: >>>> >>>> https://malhar.atlassian.net/browse/APEX-55 . The work is also related >>> to >>>> https://malhar.atlassian.net/browse/APEX-3 >>>> >>>> Regards, >>>> -Tushar. >>>>