Hi Felix,

If you specify the <capture-output> element, you can have Oozie get the
output of an action; the output has to be in java properties format and
there's a few other restrictions.  Try searching
http://oozie.apache.org/docs/3.3.1/WorkflowFunctionalSpec.html for
<capture-output>; it should be similar to the Java action.  You can then
use an EL function to pass that output to any of your actions.

Oozie workflows must be DAGs (
http://en.wikipedia.org/wiki/Directed_acyclic_graph) so no loops/cycles are
allowed.

- Robert



On Sun, Mar 3, 2013 at 11:33 PM, Felix.徐 <[email protected]> wrote:

> Hi,
>
> I'm new to oozie and I'm wandering if there is any way to initialize
> Action's parameters according to the output of previous Action?
>
> The scenario is that I have a few hive scripts(A,B,C)
> If the output of A is null then I would initialize B's parameter with some
> other value.
>
> Another question is that does oozie support loop action that can invoke
> other actions?
>

Reply via email to