incubator-oozie-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Zeyliger (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OOZIE-566) Oozie examples reference incorrect "jobTracker" config
Date Mon, 03 Oct 2011 04:47:34 GMT

     [ https://issues.apache.org/jira/browse/OOZIE-566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Philip Zeyliger updated OOZIE-566:
----------------------------------

    Attachment: OOZIE-566.patch.txt

I ran perl -pi -e 's/^jobTracker/mapred.job.tracker/' $(find . | grep properties | grep -v
svn) to create the attached patch.
                
> 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