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 04365200C5B for ; Thu, 13 Apr 2017 01:42:42 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 02C92160BA8; Wed, 12 Apr 2017 23:42:42 +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 4A7EE160B95 for ; Thu, 13 Apr 2017 01:42:41 +0200 (CEST) Received: (qmail 71864 invoked by uid 500); 12 Apr 2017 23:42:40 -0000 Mailing-List: contact users-help@apex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@apex.apache.org Delivered-To: mailing list users@apex.apache.org Received: (qmail 71849 invoked by uid 99); 12 Apr 2017 23:42:40 -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; Wed, 12 Apr 2017 23:42:40 +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 D3C7C18055C for ; Wed, 12 Apr 2017 23:42:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.479 X-Spam-Level: ** X-Spam-Status: No, score=2.479 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, 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 mx1-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 hzWESyW2tGIx for ; Wed, 12 Apr 2017 23:42:37 +0000 (UTC) Received: from mail-qk0-f170.google.com (mail-qk0-f170.google.com [209.85.220.170]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 1B6915FB49 for ; Wed, 12 Apr 2017 23:42:37 +0000 (UTC) Received: by mail-qk0-f170.google.com with SMTP id h67so36472583qke.0 for ; Wed, 12 Apr 2017 16:42:37 -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=2O7V+BDmLBya8Upig9XnwInXpPJwUR03WZud+wjNuXc=; b=DBDHLDLywZ5vtIMSnzFd2FXw77u9YsSafHozNDag5rw6iLHTeQfTZUK3os5GxRuRh3 LmWbjffixIXpduFLWGR60bjmavzag+8dNFTpxW8SurowxkPcaCxyYWaM2PIj8+e8kmeM Ny4l/nwG2yY/eGGscJzvbfpYT5n5BHmwdl0YzoB7A06Xf5nf4uqOzjlb3Xm4s/Q9wydR lOCr8ZrWXKhNrylK4tlRhzyRD9oR2hAySHuWyVW8GzpsyYJlfEdqHTwoBuiUv4ybFxzL eEVMEIFtOIVKc69sleLhhYeSXiafRrV+lf3zoH6hSrkZ5oOTsayfWOV2xSsqEt6zBR3Y PXDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=2O7V+BDmLBya8Upig9XnwInXpPJwUR03WZud+wjNuXc=; b=ArPf9dc30IOZeboKxrSaXtaUmNzJLI//27vUBeWHMJMSUxSHxySLRzBvwLzCVliJWu upWs2cz7X9T80FNlH3qjigQPPJOStCURDGySv2NECbDDxQk1LnL5v6tX6kSy253XbYSu q/XdJEIOiE9S2DiKW/v9weq6V7czkEd/uTzWD8S1tFdQJUKGT0ofn9du+tFcus93KDHE JTNvLUSo1Fzjek1ZJChAempjFZMj8zipXt/Ojna4RFK+dBMyLejG1OsJ92iLRPeaEdFn X1aA8rdnRKxdhMzZheAAVMjpOBx0M6r4Qh/afk4uhx1c0Qgcwmwwbs0SN7eLuEY856VQ 4dsg== X-Gm-Message-State: AN3rC/6rkSfiUYyx341roAJZoxa8JKKRLkawkncWJO2+5NlOve3uUwJv s++9ryskNMmA99xh5IfYiuO1JKRV5Tq8q2c= X-Received: by 10.233.222.6 with SMTP id s6mr209421qkf.231.1492040556142; Wed, 12 Apr 2017 16:42:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.174.55 with HTTP; Wed, 12 Apr 2017 16:42:05 -0700 (PDT) In-Reply-To: References: From: Pramod Immaneni Date: Wed, 12 Apr 2017 16:42:05 -0700 Message-ID: Subject: Re: set attribute of type Map in properties.xml To: users@apex.apache.org Content-Type: multipart/alternative; boundary=94eb2c04316a56feb3054d00c353 archived-at: Wed, 12 Apr 2017 23:42:42 -0000 --94eb2c04316a56feb3054d00c353 Content-Type: text/plain; charset=UTF-8 Sorry different braces dt.operator.opname.prop.propname(key) value On Wed, Apr 12, 2017 at 4:23 PM, Pramod Immaneni wrote: > Hi Sunil, > > Have you tried > > > dt.operator.opname.prop.propname[key] > value > > Thanks > > On Wed, Apr 12, 2017 at 4:17 PM, Sunil Parmar > wrote: > >> We've a use case where we want to set an operator property of type Map >> (String, Long) in the property xml. Is there a way to do this ? >> >> Thanks, >> Sunil >> > > --94eb2c04316a56feb3054d00c353 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Sorry different braces

<property>
=C2= =A0 =C2=A0<name>dt.operator.opname.prop.propname(key)</name&g= t;
=C2=A0 =C2=A0<value>value<= /value
</property>

On Wed, Apr 1= 2, 2017 at 4:23 PM, Pramod Immaneni <pramod@datatorrent.com> wrote:
Hi Sunil,
Have you tried

<property><= /div>
=C2=A0 =C2=A0<name>dt.operator.opname.prop.propname[ke= y]</name>
=C2=A0 =C2=A0<value>value</value
</property>

Thanks

On Wed, Apr 12, 2017 at 4:17 PM, Sunil Parmar <sparmar= @threatmetrix.com> wrote:
We've a use case where we want to set an operator property of type= Map (String, Long) =C2=A0in the property xml. Is there a way to do this ?<= /div>

Thanks,
Sunil


--94eb2c04316a56feb3054d00c353--