Hi,

I am trying to test action retries based on this:
http://yahoo.github.com/oozie/releases/3.1.0/WorkflowFunctionalSpec.html#a18_User-Retry_for_Workflow_Actions_since_Oozie_3.1

Environment:
Oozie: apache oozie incubator 3.1.3 from
http://incubator.apache.org/oozie/Downloads.html.
Hadoop: cdh3u0

Steps to reproduce:
1. Modified the pig-action's workflow.xml  available in oozie's examples:
to change the namespace URI to <workflow-app xmlns="uri:oozie:workflow:0.3"
name="pig-wf">
2. Added retry-max and retry-interval.
    <action name="pig-node" retry-max="3" retry-interval="1">
3. Commented prepare tag, to introduce error: JA018
            <!--<prepare>
                <delete
path="${nameNode}/user/${wf:user()}/${examplesRoot}/output-data/pig"/>
            </prepare>-->
4. oozie-default.xml remains as it is, but also tried by changing the
value  of property oozie.service.LiteWorkflowStoreService.user.retry.max in
oozie-default.xml

However, when I run this, as expected we get Error JA018 in pig action.
But I do not see oozie retrying the failed action again, neither in oozie
nor in hadoop.

What additional settings are required to test retry actions? my requirement
is to retry subflow for 10 times and then proceed to next action.

Thanks,
-Idris

Reply via email to