Problem while runing the pig script in OOzie

to create new topics or reply. | New User Registration

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Amudhan K 1 year, 2 months ago.

  • Creator
    Topic
  • #51498

    Lakshmi Maddipati
    Participant

    I am getting the below error

    oozie pig -oozie http://localhost:11000/oozie -file test.script -config job.properties
    java.lang.RuntimeException: jobtracker is not specified in conf
    at org.apache.oozie.client.XOozieClient.validateHttpSubmitConf(XOozieClient.java:108)
    at org.apache.oozie.client.XOozieClient.submitPig(XOozieClient.java:158)
    at org.apache.oozie.cli.OozieCLI.pigCommand(OozieCLI.java:1579)
    at org.apache.oozie.cli.OozieCLI.processCommand(OozieCLI.java:522)
    at org.apache.oozie.cli.OozieCLI.run(OozieCLI.java:477)
    at org.apache.oozie.cli.OozieCLI.main(OozieCLI.java:179)
    jobtracker is not specified in conf

    My property is look like below.

    nameNode=hdfs://localhost:8020
    jobTracker=localhost:8021
    oozie.libpath=hdfs://localhost:8020/user/m30525/oozie/lib/

    The cmmand I used in OOZIE is
    oozie job -oozie http://localhost:11000/oozie -config /data/dev/fipl/incoming/testdata/oozie/job.properties -run

    Please any one help me

Viewing 1 replies (of 1 total)

You must be to reply to this topic. | Create Account

  • Author
    Replies
  • #51604

    Amudhan K
    Participant

    Hello Lakshmi,
    The port number which you mentioned in your job.properties is a wrong one. The correct jobTracker port number is 8050.
    Change your properties to like this and it will work.

    nameNode=hdfs://localhost:8020
    jobTracker=localhost:8050
    oozie.libpath=hdfs://localhost:8020/user/m30525/oozie/lib/

    Collapse
Viewing 1 replies (of 1 total)
Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.