You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@oozie.apache.org by Tim Chan <ti...@chan.net> on 2013/02/12 22:45:36 UTC

Is there any way to use parameterized values for input-events?

I would like to used values specified in my properties files to populate

<start-instance>${coord:current(-7)}</start-instance>

Can this -7 value be specified by a property? I've tried:

${coord:current(${myProperty})}

which doesn't work.

Re: Is there any way to use parameterized values for input-events?

Posted by Tim Chan <ti...@chan.net>.
Thanks Alejandro, removing the ${} worked.


On Tue, Feb 12, 2013 at 2:48 PM, Alejandro Abdelnur <tu...@cloudera.com>wrote:

> yes it can, just don't use the ${} in the embedded var.
>
> thx
>
> Alejandro
> (phone typing)
>
> On Feb 12, 2013, at 1:45 PM, Tim Chan <ti...@chan.net> wrote:
>
> > I would like to used values specified in my properties files to populate
> >
> > <start-instance>${coord:current(-7)}</start-instance>
> >
> > Can this -7 value be specified by a property? I've tried:
> >
> > ${coord:current(${myProperty})}
> >
> > which doesn't work.
>



-- 
[image: Monkey]  Tim Chan   //  tim@chan.net   //   213.784.2523

Re: Is there any way to use parameterized values for input-events?

Posted by Alejandro Abdelnur <tu...@cloudera.com>.
yes it can, just don't use the ${} in the embedded var. 

thx

Alejandro
(phone typing)

On Feb 12, 2013, at 1:45 PM, Tim Chan <ti...@chan.net> wrote:

> I would like to used values specified in my properties files to populate
> 
> <start-instance>${coord:current(-7)}</start-instance>
> 
> Can this -7 value be specified by a property? I've tried:
> 
> ${coord:current(${myProperty})}
> 
> which doesn't work.