Hive action
The general schema for Hive action is as follows:
<action> <job-tracker> // Job tracker details <name-node> // Name node details <prepare> // Create or Delete directory <job-xml> // Any job xml properties <configuration> // Hadoop job configuration <script> // Hive script to run <param> // Parameters to hive script <argument> // Arguments <file> // Any files needed to run job <archive> // Any job dependencies (jar etc) </action>
Check out the location BOOK_CODE_FOLDER/xsd_svg/hive-action-0.5.svg
to see the visual representation.
Note
In the Oozie versions above v4.2, Hive action also supports running the Hive query instead of file-based script arguments.
We will start off from where we left in the previous chapter. We will persist the maximum ...
Get Apache Oozie Essentials now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.