Return-Path: X-Original-To: apmail-incubator-oozie-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-oozie-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 73EE49400 for ; Mon, 3 Oct 2011 04:47:59 +0000 (UTC) Received: (qmail 74599 invoked by uid 500); 3 Oct 2011 04:47:59 -0000 Delivered-To: apmail-incubator-oozie-commits-archive@incubator.apache.org Received: (qmail 74540 invoked by uid 500); 3 Oct 2011 04:47:58 -0000 Mailing-List: contact oozie-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oozie-dev@incubator.apache.org Delivered-To: mailing list oozie-commits@incubator.apache.org Received: (qmail 74524 invoked by uid 99); 3 Oct 2011 04:47:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2011 04:47:57 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2011 04:47:55 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 05F352A554A for ; Mon, 3 Oct 2011 04:47:34 +0000 (UTC) Date: Mon, 3 Oct 2011 04:47:34 +0000 (UTC) From: "Philip Zeyliger (Updated) (JIRA)" To: oozie-commits@incubator.apache.org Message-ID: <1626190025.1984.1317617254026.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1911268935.1982.1317617134021.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (OOZIE-566) Oozie examples reference incorrect "jobTracker" config MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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