Hive Action in Oozie 3.1.3
You should check the oozie:workflow and hive-action versions.
In my case, I use CDH4.3 distribution and I put the following versions:
0.4 for oozie workflow and 0.2 for hive action
<workflow-app name="test-hive" xmlns="uri:oozie:workflow:0.4"><start to="hive-request"/><action name="hive-request"> <hive xmlns="uri:oozie:hive-action:0.2"> <job-tracker>${jobTracker}</job-tracker> <name-node>${nameNode}</name-node> <job-xml>conf/hive-site.xml</job-xml> <script>lib/script.sql</script> </hive> <ok to="end"/> <error to="fail"/></action><!-- Fail bloc, redirect every action here when an error occurs--><kill name="fail"> <message>Action failed, error message[${wf:errorMessage(wf:lastErrorNode())}]</message></kill><end name="end"/>