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 11 months, 1 week 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 am a plsql developer. Intrested to move into bigdata.

Neetika Singh ITA Hadoop in Dec/2016 December 22, 2016

.