WIP trying to use hive2 actions

This commit is contained in:
Claudio Atzori 2020-03-23 11:14:54 +01:00
parent ecb64e4998
commit 658d40ccbe
1 changed files with 5 additions and 2 deletions

View File

@ -69,16 +69,19 @@
</action> </action>
<action name="PostProcessing"> <action name="PostProcessing">
<hive xmlns="uri:oozie:hive-action:0.2"> <hive2 xmlns="uri:oozie:hive2-action:0.1">
<job-tracker>${jobTracker}</job-tracker>
<name-node>${nameNode}</name-node>
<configuration> <configuration>
<property> <property>
<name>oozie.hive.defaults</name> <name>oozie.hive.defaults</name>
<value>hive-site.xml</value> <value>hive-site.xml</value>
</property> </property>
</configuration> </configuration>
<jdbc-url>jdbc:hive2://iis-cdh5-test-gw.ocean.icm.edu.pl:21050/${hive_db_name}</jdbc-url>
<script>lib/scripts/postprocessing.sql</script> <script>lib/scripts/postprocessing.sql</script>
<param>hive_db_name=${hive_db_name}</param> <param>hive_db_name=${hive_db_name}</param>
</hive> </hive2>
<ok to="End"/> <ok to="End"/>
<error to="Kill"/> <error to="Kill"/>
</action> </action>