incubator-oozie-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OOZIE-566) Oozie examples reference incorrect "jobTracker" config
Date Sun, 01 Jan 2012 18:35:30 GMT

    [ https://issues.apache.org/jira/browse/OOZIE-566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13178214#comment-13178214
] 

Harsh J commented on OOZIE-566:
-------------------------------

jobTracker is what the workflow.xml uses via <job-tracker> XML points. This change should
not be required -- perhaps you were running into some other issue (I noticed a lack of proper
capitalization in the reported error)?

-1 on patch, we can close this as Invalid. I do have examples working presently against multiple
NN/JT.
                
> 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
>         Attachments: OOZIE-566.patch.txt
>
>
> 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

        

Mime
View raw message