oozie worflow for Hive


Hadoop Eco System Forums Hadoop Discussion Forum oozie worflow for Hive

This topic contains 2 replies, has 2 voices, and was last updated by  Siva 1 year, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #11607

    satya reddy

    Hi,

    i am newbie to hadoop, i would like to know how to develop a OOZIE workflow to execute hive in shell mode
    the workflow has to execute query only when data is available.

    Pls somebody provide the solution/code.

    #11611

    Siva
    Keymaster

    Hi Satya,

    Sample workflow.xml looks like below for your hive action.


    ${jobTracker}
    ${nameNode}
    mapred.job.queue.name
    ${queueName}








    oozie workflow failed, error message[${wf:errorMessage(wf:lastErrorNode())}]


    and job.properties file can be regular properties file containing namenode and jobtracker properties files and you might need to have a coordinator.xml file as well if you need file dependency to get your script executed.

    I hope this helps to get started your work

    #11612

    Siva
    Keymaster

    For some reason xml tags got removed from the above response

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘oozie worflow for Hive’ is closed to new replies.

Review Comments
default image

I have attended Siva’s Spark and Scala training. He is good in presentation skills and explaining technical concepts easily to everyone in the group. He is having excellent real time experience and provided enough use cases to understand each concepts. Duration of the course and time management is awesome. Happy that I found a right person on time to learn Spark. Thanks Siva!!!

Dharmeswaran ETL / Hadoop Developer Spark Nov 2016 September 21, 2017

.