You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Prashant Kommireddi (JIRA)" <ji...@apache.org> on 2012/05/27 12:11:23 UTC

[jira] [Commented] (OOZIE-566) Oozie examples reference incorrect "jobTracker" config

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

Prashant Kommireddi commented on OOZIE-566:
-------------------------------------------

Philip, Harsh any ideas on what the actual reason of this exception was?
                
> 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