Not able to run oozie hive action due to error: “Class not found:org.apache.atlas.hive.hook.HiveHook”
Please find my code below:
job.properties:
nameNode=hdfs://sandbox.hortonworks.com:8020
jobTracker:8050=sandbox.hortonworks.com
queueName=default
examplesRoot=ravi/oozie
oozie.use.system.libpath=true
oozie.wf.application.path=${nameNode}/user/${user.name}/${examplesRoot}/hive/
workflow.xml:
<action name="Create_External_Table"> <hive xmlns="uri:oozie:hive-action:0.2"> <job-tracker>${jobTracker}</job-tracker> <name-node>${nameNode}</name-node> <job-xml>hive-site.xml</job-xml> <configuration> <property> <name>mapred.job.queue.name</name> <value>${queueName}</value> </property> </configuration> <script>${nameNode}/user/${user}/${examplesRoot}/hive/external.hive</script> </hive> <ok to="end"/> <error to="fail"/> </action>
<kill name="fail"> <message>Hive failed, error message[${wf:errorMessage(wf:lastErrorNode())}]</message> </kill> <end name="end"/>
Please help me to resolve the issue