<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Oozie sqoop job creation failing in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-sqoop-job-creation-failing/m-p/126863#M18063</link>
    <description>&lt;P&gt;
	Oozie client build version: 4.2.0.2.3.4.0-3485
&lt;/P&gt;
&lt;P&gt;
	I'm trying to run 
	&lt;CODE&gt;oozie sqoop ...&lt;/CODE&gt; from a node in my cluster. I'm using a &lt;STRONG&gt;job.properties&lt;/STRONG&gt; file as my configuration file and I've attempted to write the file as XML:
&lt;/P&gt;
&lt;PRE&gt;
&amp;lt;configuration&amp;gt;
  &amp;lt;property&amp;gt;
    &amp;lt;name&amp;gt;jobTracker&amp;lt;/name&amp;gt;
    &amp;lt;value&amp;gt;ip-10-85-2-192.ec2.internal:8050&amp;lt;/value&amp;gt;
  &amp;lt;/property&amp;gt;
  &amp;lt;property&amp;gt;
    &amp;lt;name&amp;gt;nameNode&amp;lt;/name&amp;gt;
    &amp;lt;value&amp;gt;hdfs://ip-10-85-2-205.ec2.internal:8020&amp;lt;/value&amp;gt;
  &amp;lt;/property&amp;gt;
&amp;lt;/configuration&amp;gt;
&lt;/PRE&gt;
&lt;P&gt;
	and also as a plain file:
&lt;/P&gt;
&lt;PRE&gt;
jobTracker=ip-10-85-2-192.ec2.internal:8050
nameNode=hdfs://ip-10-85-2-205.ec2.internal:8020
&lt;/PRE&gt;

When running the following command:
&lt;CODE&gt;oozie sqoop --auth SIMPLE -config ./job.properties -command import --connect jdbc:postgresql://db.mydb.com/dbname --table foo --username foobar --password-file /user/oozie/share/password&lt;/CODE&gt;

And it keeps failing with:
&lt;PRE&gt;
java.lang.RuntimeException: jobtracker is not specified in conf
	at org.apache.oozie.client.XOozieClient.validateHttpSubmitConf(XOozieClient.java:130)
	at org.apache.oozie.client.XOozieClient.submitSqoop(XOozieClient.java:257)
	at org.apache.oozie.cli.OozieCLI.sqoopCommand(OozieCLI.java:2132)
	at org.apache.oozie.cli.OozieCLI.processCommand(OozieCLI.java:697)
	at org.apache.oozie.cli.OozieCLI.run(OozieCLI.java:626)
	at org.apache.oozie.cli.OozieCLI.main(OozieCLI.java:225)
jobtracker is not specified in conf
&lt;/PRE&gt;

It would seem that I have specified the jobTracker property. Am I not wriing the job.properties file correctly? I've called it both locally (local on the node) and in HDFS.</description>
    <pubDate>Fri, 05 Feb 2016 07:24:02 GMT</pubDate>
    <dc:creator>james_denman</dc:creator>
    <dc:date>2016-02-05T07:24:02Z</dc:date>
    <item>
      <title>Oozie sqoop job creation failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-sqoop-job-creation-failing/m-p/126863#M18063</link>
      <description>&lt;P&gt;
	Oozie client build version: 4.2.0.2.3.4.0-3485
&lt;/P&gt;
&lt;P&gt;
	I'm trying to run 
	&lt;CODE&gt;oozie sqoop ...&lt;/CODE&gt; from a node in my cluster. I'm using a &lt;STRONG&gt;job.properties&lt;/STRONG&gt; file as my configuration file and I've attempted to write the file as XML:
&lt;/P&gt;
&lt;PRE&gt;
&amp;lt;configuration&amp;gt;
  &amp;lt;property&amp;gt;
    &amp;lt;name&amp;gt;jobTracker&amp;lt;/name&amp;gt;
    &amp;lt;value&amp;gt;ip-10-85-2-192.ec2.internal:8050&amp;lt;/value&amp;gt;
  &amp;lt;/property&amp;gt;
  &amp;lt;property&amp;gt;
    &amp;lt;name&amp;gt;nameNode&amp;lt;/name&amp;gt;
    &amp;lt;value&amp;gt;hdfs://ip-10-85-2-205.ec2.internal:8020&amp;lt;/value&amp;gt;
  &amp;lt;/property&amp;gt;
&amp;lt;/configuration&amp;gt;
&lt;/PRE&gt;
&lt;P&gt;
	and also as a plain file:
&lt;/P&gt;
&lt;PRE&gt;
jobTracker=ip-10-85-2-192.ec2.internal:8050
nameNode=hdfs://ip-10-85-2-205.ec2.internal:8020
&lt;/PRE&gt;

When running the following command:
&lt;CODE&gt;oozie sqoop --auth SIMPLE -config ./job.properties -command import --connect jdbc:postgresql://db.mydb.com/dbname --table foo --username foobar --password-file /user/oozie/share/password&lt;/CODE&gt;

And it keeps failing with:
&lt;PRE&gt;
java.lang.RuntimeException: jobtracker is not specified in conf
	at org.apache.oozie.client.XOozieClient.validateHttpSubmitConf(XOozieClient.java:130)
	at org.apache.oozie.client.XOozieClient.submitSqoop(XOozieClient.java:257)
	at org.apache.oozie.cli.OozieCLI.sqoopCommand(OozieCLI.java:2132)
	at org.apache.oozie.cli.OozieCLI.processCommand(OozieCLI.java:697)
	at org.apache.oozie.cli.OozieCLI.run(OozieCLI.java:626)
	at org.apache.oozie.cli.OozieCLI.main(OozieCLI.java:225)
jobtracker is not specified in conf
&lt;/PRE&gt;

It would seem that I have specified the jobTracker property. Am I not wriing the job.properties file correctly? I've called it both locally (local on the node) and in HDFS.</description>
      <pubDate>Fri, 05 Feb 2016 07:24:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-sqoop-job-creation-failing/m-p/126863#M18063</guid>
      <dc:creator>james_denman</dc:creator>
      <dc:date>2016-02-05T07:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie sqoop job creation failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-sqoop-job-creation-failing/m-p/126864#M18064</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2545/jamesdenman.html" nodeid="2545"&gt;@J. David&lt;/A&gt;&lt;P&gt;please copy my workflows if you'd like &lt;A href="https://github.com/dbist/oozie"&gt;Link&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2016 07:27:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-sqoop-job-creation-failing/m-p/126864#M18064</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-05T07:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie sqoop job creation failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-sqoop-job-creation-failing/m-p/126865#M18065</link>
      <description>&lt;PRE&gt;&amp;lt;action name="load"&amp;gt;
        &amp;lt;sqoop&amp;gt;
           &amp;lt;job-tracker&amp;gt;${jobTracker}&amp;lt;/job-tracker&amp;gt;
            &amp;lt;name-node&amp;gt;${nameNode}&amp;lt;/name-node&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 05 Feb 2016 08:08:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-sqoop-job-creation-failing/m-p/126865#M18065</guid>
      <dc:creator>bleonhardi</dc:creator>
      <dc:date>2016-02-05T08:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie sqoop job creation failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-sqoop-job-creation-failing/m-p/126866#M18066</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2545/jamesdenman.html" nodeid="2545"&gt;@J. David&lt;/A&gt; Can you confirm ?&lt;/P&gt;&lt;P&gt;Value of JobTracker property is value of yarn.resourcemanager.cluster-id in YARN settings in Ambari &lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2016 00:43:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-sqoop-job-creation-failing/m-p/126866#M18066</guid>
      <dc:creator>shishir_saxena4</dc:creator>
      <dc:date>2016-02-25T00:43:57Z</dc:date>
    </item>
  </channel>
</rss>

