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 DB8F2182BE for ; Mon, 12 Oct 2015 16:22:14 +0000 (UTC) Received: (qmail 423 invoked by uid 500); 12 Oct 2015 16:22:14 -0000 Delivered-To: apmail-apex-dev-archive@apex.apache.org Received: (qmail 366 invoked by uid 500); 12 Oct 2015 16:22:14 -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 354 invoked by uid 99); 12 Oct 2015 16:22:14 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Oct 2015 16:22:14 +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 05EC7C084E for ; Mon, 12 Oct 2015 16:22:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.002 X-Spam-Level: X-Spam-Status: No, score=-0.002 tagged_above=-999 required=6.31 tests=[RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id oC9OH06ToltY for ; Mon, 12 Oct 2015 16:22:12 +0000 (UTC) Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id D1B4B20524 for ; Mon, 12 Oct 2015 16:22:11 +0000 (UTC) Received: by pacex6 with SMTP id ex6so3934789pac.3 for ; Mon, 12 Oct 2015 09:22:10 -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=P1fHxfyS9xR2t7+Gnp56tJNG86YH4J9SoPnITxuer3w=; b=lGvMGHXWYlpepL14ZiTSMGMJRdNxfJBzyTYY5ia7TF9S0n2t4Qto4NCXg3CpbN3SFy J9AMR4IN/qiaV3l/QUk7Jn/pngHZKsx8FfC2R4uVt6LtQB5+lwnUAE8xmpxFukY04IHy pF9UPbXUL/8g6usZwkV2ML2SuZEM5Vo23CX/18RNZeOPv6zKSEuG0JLWFaCHNEHFQdAc 70ujnQWVXWvUXp2kvXmnA5TWP3Ns95FRi2NHnf9GUpynVpWWu8HY00TpBJDlgWSlIIxu 7/X7tt9GvCy4vPf5dos2ERXPIIivNatKsdQIgaTD83Y5T8yQmBC+UKBhomtSnHgMelv8 jCKQ== X-Gm-Message-State: ALoCoQlw5+9MUZF3uRyJj/BJqnsbdRPTTujaz/MerCzU4riXzBA68zA3P+G9IyzD7nGqN5pIxfLE X-Received: by 10.68.69.35 with SMTP id b3mr35982508pbu.22.1444666930463; Mon, 12 Oct 2015 09:22:10 -0700 (PDT) Received: from vrozov.local ([2601:646:8301:7f:71e7:1b16:27bf:e907]) by smtp.googlemail.com with ESMTPSA id of1sm19237663pbc.11.2015.10.12.09.22.09 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 12 Oct 2015 09:22:09 -0700 (PDT) Subject: Re: [APEX-105] Support for specifying module properties on modules. To: dev@apex.incubator.apache.org References: From: Vlad Rozov Organization: DataTorrent Message-ID: <561BDE31.20508@datatorrent.com> Date: Mon, 12 Oct 2015 09:22:09 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Is it necessary to distinguish modules from operators when setting modules properties? Unless it is necessary to set module internal operator properties it may be better to treat modules the same way as operators. Thank you, Vlad On 10/12/15 04:40, Tushar Gosavi wrote: > Hi All, > > As part of module support we will allow specifying module properties > through > external configuration files. The format will be similar to the operator, > instead of operator keyword we will use module keyword for properties > on module. > > dt.application..module..prop.= > dt.application..module..= > dt.module..prop.= > dt.module..= > > > Setting attribute on the module. > dt.application..module..attr.= > dt.module..attr.= > > There are no module attributes defined now, but we will add them in future > like > whether to group operators during parallel partitioning. > > Setting attribute on a module port. > dt.module..port..attr. > > The port attributes will be transferred to the internal operator port where > it is > mapped to. > > Please let us know, If we are missing something, or some syntax need > changes. > > Regards, > - Tushar. >