Oozie examples reference incorrect "jobTracker" config
------------------------------------------------------

                 Key: OOZIE-566
                 URL: https://issues.apache.org/jira/browse/OOZIE-566
             Project: Oozie
          Issue Type: Bug
            Reporter: Philip Zeyliger


The examples provided in oozie use "jobTracker" as the property name for the 
JT.  For example:

{noformat}
$cat ./examples/apps/pig/job.properties
nameNode=hdfs://localhost:8020
jobTracker=localhost:8021
queueName=default
examplesRoot=examples

oozie.libpath=/user/${user.name}/${examplesRoot}/apps/examples-lib

oozie.wf.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/pig
{noformat}

Unfortunately, when used, this gives the error:
{noformat}
java.lang.RuntimeException: jobtracker is not specified in conf
        at 
org.apache.oozie.client.XOozieClient.validateHttpSubmitConf(XOozieClient.java:99)
        at org.apache.oozie.client.XOozieClient.submitPig(XOozieClient.java:136)
        at org.apache.oozie.cli.OozieCLI.pigCommand(OozieCLI.java:1098)
        at org.apache.oozie.cli.OozieCLI.run(OozieCLI.java:341)
        at org.apache.oozie.cli.AuthOozieCLI.main(AuthOozieCLI.java:39)
jobtracker is not specified in conf
{noformat}

Investigation of the source code reveals that the code now uses 
"mapred.job.tracker" as the property, which neither the error message nor the 
examples mention.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to