Hi,
I've set mapreduce.map.maxattempts to 1 under the <configuration> part of a
shell action.
I can see in the mapper that runs the action's log that it did catch the
configuration but the job itself is still running with the default (4) for
this parameter.

This is my workflow.xml:

<workflow-app name="danieltest" xmlns="uri:oozie:workflow:0.5">
    <start to="danieltest"/>
     <action name="danieltest" retry-max="1">
        <shell xmlns="uri:oozie:shell-action:0.2">
            <job-tracker>${jobTracker}</job-tracker>
            <name-node>${nameNode}</name-node>
            <configuration>
                <property>
                        <name>mapreduce.map.maxattempts</name>
                        <value>1</value>
                </property>
                <property>
                  <name>mapreduce.map.maxattempts</name>
                  <value>1</value>
                </property>
            </configuration>
            <exec>daniel.bash</exec>
            <file>/tmp/daniel.bash#daniel.bash</file>
        </shell>
            <ok to="end"/>
            <error to="end"/>
    </action>
    <end name="end"/>
</workflow-app>


How can I make sure the config sticks to the job ?

Thank you.
Daniel

Reply via email to