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 03D26200B5A for ; Thu, 4 Aug 2016 19:36:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 02336160AAB; Thu, 4 Aug 2016 17:36:17 +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 4A4B9160A6A for ; Thu, 4 Aug 2016 19:36:16 +0200 (CEST) Received: (qmail 14192 invoked by uid 500); 4 Aug 2016 17:36:15 -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 14180 invoked by uid 99); 4 Aug 2016 17:36:15 -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; Thu, 04 Aug 2016 17:36:15 +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 BD2DB18852D for ; Thu, 4 Aug 2016 17:36:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.298 X-Spam-Level: * X-Spam-Status: No, score=1.298 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=datatorrent-com.20150623.gappssmtp.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id w8uiEORHmk3P for ; Thu, 4 Aug 2016 17:36:12 +0000 (UTC) Received: from mail-pf0-f177.google.com (mail-pf0-f177.google.com [209.85.192.177]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 0E9C15F479 for ; Thu, 4 Aug 2016 17:36:12 +0000 (UTC) Received: by mail-pf0-f177.google.com with SMTP id h186so88407704pfg.3 for ; Thu, 04 Aug 2016 10:36:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datatorrent-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=6ajvdxc3rLCpFSNIBEdicr66SAI7RODyx4Tx7e8YeIQ=; b=NFQ0NY5chmx4mIG+N3cqoyS46DB1nqxSpZxt+awj/QqOpMKCsF4dnNm78ivXIoQcL9 KEbfi1mINLdjjNqVCDOTJC5m/7LH6G5ioCjWGeF3uWpn0V29VDaRUnoQnwnU2Lesl/B4 S7KoZ18md5DvnSmErxoMaiv8uJsi9qCOmGgXGeYjXpUZWTglrFMMUXlK99rOjnDbse3c 3lZdx8nv3/6JTozXe3i44Yb4StyTTH7+3A8lqA+3gawsPiaKyQ+rSmt4kB08i9EK/R1B noNHv7MUsQ0Bok235hg/yVZ/AAdVghfKs3f97ww2qj5mn4egPGcagxNkkInSvuUNEXyk qqhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=6ajvdxc3rLCpFSNIBEdicr66SAI7RODyx4Tx7e8YeIQ=; b=CceR9GMQh1E0WpVuKe6F8h3OAeNP1nvf14uMokPelvWH/iE1zBn1Qal+R7sFOFq5la rC4dY+zE6u6JPKP5jLy0oGtR/jFaU+Nio36QeeiqSI36ghiC/THcX7Umwk1K3CTOMjXE xMXy33lE74WEhUhSqIy0dV+Flp1FzjeKEm3JbJHeJEvNW/LFY8j090uBIUADF5to5i2H k69H+H/fWivxGlcpUqZMZMyADdcNvgmeMQRW67uiIK6RaqNmDXFMLeH56CYLW2KmLQLO E52aEoO1oYXjiwdArR1Ypafzn6hciQ1qhvzSemOTmA6v4NVSccblPb4nA2BmdH8pNzue ks0Q== X-Gm-Message-State: AEkoousdvOzjcVW/VLBacsrdeK6a1GoTT1pPgYJarwCWIpk8NnZTc8V3C0SEVqEdHU48lfN9F8JPu0sXyNAL2F6t X-Received: by 10.98.51.131 with SMTP id z125mr93251326pfz.109.1470332164668; Thu, 04 Aug 2016 10:36:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.126.7 with HTTP; Thu, 4 Aug 2016 10:36:04 -0700 (PDT) In-Reply-To: <7C1A5DB1-F942-462B-AD63-BE097F74539D@datatorrent.com> References: <7C1A5DB1-F942-462B-AD63-BE097F74539D@datatorrent.com> From: Munagala Ramanath Date: Thu, 4 Aug 2016 10:36:04 -0700 Message-ID: Subject: Re: empty operator/stream/module names To: dev@apex.apache.org Content-Type: multipart/alternative; boundary=94eb2c11915e60975a05394262d8 archived-at: Thu, 04 Aug 2016 17:36:17 -0000 --94eb2c11915e60975a05394262d8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable It will not be possible to configure such operators from an XML file other than through wildcards -- but maybe that's OK. Ram On Thu, Aug 4, 2016 at 10:03 AM, Sanjay Pujare wrote: > I differ. For the UI to render a DAG the names are useful, but if the nam= e > is not required by the engine i.e. the engine is able to execute your > application fine with empty or null strings as names, is there any reason > to make them mandatory? > > On the other hand, we can come up with a scheme for system generated name= s > when the caller doesn=E2=80=99t provide a name. I have some ideas. > > > On 8/4/16, 9:48 AM, "Munagala Ramanath" wrote: > > I don't see any reason to allow either. > > Ram > > On Thu, Aug 4, 2016 at 8:51 AM, Vlad Rozov > wrote: > > > Currently addOperator/addStream/addModule allows both null and empt= y > > string in the operator/stream/module names. Is there any reason to > allow > > empty string? Should empty string and null be disallowed in those > APIs? > > > > Vlad > > > > > > --94eb2c11915e60975a05394262d8--