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 2012/10/30 18:19:48 UTC

a list of values for an oozie property

Is it possible to have a list of values for a given oozie property in the
properties file?

For example,

property1 = { a, b, c, d }

instead of just

property1 = a

Re: a list of values for an oozie property

Posted by Alejandro Abdelnur <tu...@cloudera.com>.
Tim,

If you define comma to be you delimiter, then you can pass

property1=a,b,c,d,e

as a single property and in your java action you just split the value
of property1 on commas.

thx

On Tue, Oct 30, 2012 at 11:43 AM, Tim Chan <ti...@chan.net> wrote:
> Hi Mohammad,
>
> I'd like to create a Java action that will make calls to a list of servers.
> I'd like to configure this list using an oozie properties file.
>
> Thanks,
>
> Tim
>
> On Tue, Oct 30, 2012 at 11:26 AM, Mohammad Islam <mi...@yahoo.com> wrote:
>
>> Hi Tim,
>> How will it be used in xml?
>>
>> Regards,
>> Mohammad
>>
>>
>> ________________________________
>>  From: Tim Chan <ti...@chan.net>
>> To: oozie-users@incubator.apache.org
>> Sent: Tuesday, October 30, 2012 10:19 AM
>> Subject: a list of values for an oozie property
>>
>> Is it possible to have a list of values for a given oozie property in the
>> properties file?
>>
>> For example,
>>
>> property1 = { a, b, c, d }
>>
>> instead of just
>>
>> property1 = a
>>
>
>
>
> --
> [image: Monkey]  Tim Chan   //  tim@chan.net   //   213.784.2523



-- 
Alejandro

Re: a list of values for an oozie property

Posted by Tim Chan <ti...@chan.net>.
Hi Mohammad,

I'd like to create a Java action that will make calls to a list of servers.
I'd like to configure this list using an oozie properties file.

Thanks,

Tim

On Tue, Oct 30, 2012 at 11:26 AM, Mohammad Islam <mi...@yahoo.com> wrote:

> Hi Tim,
> How will it be used in xml?
>
> Regards,
> Mohammad
>
>
> ________________________________
>  From: Tim Chan <ti...@chan.net>
> To: oozie-users@incubator.apache.org
> Sent: Tuesday, October 30, 2012 10:19 AM
> Subject: a list of values for an oozie property
>
> Is it possible to have a list of values for a given oozie property in the
> properties file?
>
> For example,
>
> property1 = { a, b, c, d }
>
> instead of just
>
> property1 = a
>



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

Re: a list of values for an oozie property

Posted by Mohammad Islam <mi...@yahoo.com>.
Hi Tim,
How will it be used in xml?

Regards,
Mohammad


________________________________
 From: Tim Chan <ti...@chan.net>
To: oozie-users@incubator.apache.org 
Sent: Tuesday, October 30, 2012 10:19 AM
Subject: a list of values for an oozie property
 
Is it possible to have a list of values for a given oozie property in the
properties file?

For example,

property1 = { a, b, c, d }

instead of just

property1 = a