Hi,

I have a simple coordinator with a single dataset:

<uri-template>${hadoop_nameNode}/${coord_stagingFolder}/${YEAR}/${MONTH}/${DAY}</uri-template>

I also have a corresponding input-event:

<data-in name="foo_event" dataset="foo_ds">
  <instance>${coord:current(-1)}</instance>
</data-in>

Now in my workflow I need to pass in the ${YEAR}, MONTH and DAY variables
as properties.
So far we've always used "fake" <output-events> and basically template our
variables that way (so used data-out things that don't actually correspond
to a folder anywhere).

What's the correct way of accessing the data we need?

We can also parse the output of ${coord:dataIn('foo_event')} but that seems
a bit redundant.
I hope I'm missing something.

Thank you for your help!

Cheers,
Lars

Reply via email to