<?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 Re: CDH 5.1.2. Oozie cannot initialize cluster error JA009 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/CDH-5-1-2-Oozie-cannot-initialize-cluster-error-JA009/m-p/28737#M39991</link>
    <description>Had similar issue got resolved&lt;BR /&gt;Error&lt;BR /&gt;------&lt;BR /&gt;I had like this in workflow.xml&lt;BR /&gt;&amp;lt;job-tracker&amp;gt;localhost:8032&amp;lt;/job-tracker&amp;gt;&lt;BR /&gt;&amp;lt;name-node&amp;gt;localhost:8020&amp;lt;/name-node&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Changed it to the following&lt;BR /&gt;&amp;lt;job-tracker&amp;gt;${jobTracker}&amp;lt;/job-tracker&amp;gt;&lt;BR /&gt;&amp;lt;name-node&amp;gt;${nameNode}&amp;lt;/name-node&amp;gt;</description>
    <pubDate>Fri, 19 Jun 2015 15:26:18 GMT</pubDate>
    <dc:creator>bigdatafnds</dc:creator>
    <dc:date>2015-06-19T15:26:18Z</dc:date>
    <item>
      <title>CDH 5.1.2. Oozie cannot initialize cluster error JA009</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDH-5-1-2-Oozie-cannot-initialize-cluster-error-JA009/m-p/21678#M39987</link>
      <description>&lt;P&gt;I have installed CDH 5.1.2 using cloudera manager. Have configured for YARN. When I submit an oozie job I am getting the below error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;JA009: Cannot initialize Cluster. Please check your configuration for mapreduce.frameworl k.name and the correspond server addresses.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have checked the configuration files.. oozie-default.xml,oozie-site.xml,core-site.xml and everywhere the mapreduce.framework.name property is set to 'yarn'. Also set HADOOP_MAPRED_HOME=/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hadoop-mapreduce&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nothing has helped so far.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to submit YARN jobs from other clients such as hive,sqoop,pig etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly help. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:13:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDH-5-1-2-Oozie-cannot-initialize-cluster-error-JA009/m-p/21678#M39987</guid>
      <dc:creator>spd</dc:creator>
      <dc:date>2022-09-16T09:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: CDH 5.1.2. Oozie cannot initialize cluster error JA009</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDH-5-1-2-Oozie-cannot-initialize-cluster-error-JA009/m-p/22114#M39988</link>
      <description>Its more than likely that Oozie is still running with MR1 config-set even though it has YARN libraries in it properly.&lt;BR /&gt;&lt;BR /&gt;What MapReduce Service is associated as a dependency under CM -&amp;gt; Oozie -&amp;gt; Configuration? Make sure it is set to YARN, and restart your Oozie service. Does that help?</description>
      <pubDate>Sun, 30 Nov 2014 12:49:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDH-5-1-2-Oozie-cannot-initialize-cluster-error-JA009/m-p/22114#M39988</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2014-11-30T12:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: CDH 5.1.2. Oozie cannot initialize cluster error JA009</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDH-5-1-2-Oozie-cannot-initialize-cluster-error-JA009/m-p/25054#M39989</link>
      <description>&lt;P&gt;Hi Harsh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am facing similar issue with cdh 5.2.0. I have ensured that everything points to YARN in mapred-site.xml and that oozie-site.xml is pointing to the right configuration files of hadoop.conf.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know of any solution that you would have come across for this issue. Below are the configuration files that I have been using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kabeer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;job.properties:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;nameNode=hdfs://localhost:8020&lt;BR /&gt;job-tracker=localhost:8032&lt;BR /&gt;jobTracker=localhost:8032&lt;BR /&gt;queueName=default&lt;BR /&gt;weatherRoot=oozie&lt;BR /&gt;#mapreduce.jobtracker.kerberos.principal=foo&lt;BR /&gt;#dfs.namenode.kerberos.principal=foo&lt;BR /&gt;oozie.libpath=${nameNode}/user/oozie/share/lib&lt;BR /&gt;oozie.wf.application.path=${nameNode}/user/${user.name}/${weatherRoot}&lt;BR /&gt;outputDir=weather-ooze&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;workflow.xml&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;workflow-app xmlns="uri:oozie:workflow:0.4" name="oozie-wf"&amp;gt;&lt;BR /&gt;&amp;lt;start to="sqoop-wf1"/&amp;gt;&lt;BR /&gt;&amp;lt;action name="sqoop-wf1"&amp;gt;&lt;BR /&gt;&amp;lt;sqoop xmlns="uri:oozie:sqoop-action:0.2"&amp;gt;&lt;BR /&gt;&amp;lt;job-tracker&amp;gt;localhost:8032&amp;lt;/job-tracker&amp;gt;&lt;BR /&gt;&amp;lt;name-node&amp;gt;localhost:8020&amp;lt;/name-node&amp;gt;&lt;BR /&gt;&amp;lt;command&amp;gt;import --connect jdbc:mysql://localhost/employees --table forHive --username root --password test123 --m 1 &amp;lt;/command&amp;gt;&lt;BR /&gt;&amp;lt;/sqoop&amp;gt;&lt;BR /&gt;&amp;lt;ok to="end"/&amp;gt;&lt;BR /&gt;&amp;lt;error to="fail"/&amp;gt;&lt;BR /&gt;&amp;lt;/action&amp;gt;&lt;BR /&gt;&amp;lt;kill name="fail"&amp;gt;&lt;BR /&gt;&amp;lt;message&amp;gt;Failed, Error Message[${wf:errorMessage(wf:lastErrorNode())}]&amp;lt;/message&amp;gt;&lt;BR /&gt;&amp;lt;/kill&amp;gt;&lt;BR /&gt;&amp;lt;end name="end"/&amp;gt;&lt;BR /&gt;&amp;lt;/workflow-app&amp;gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Feb 2015 00:07:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDH-5-1-2-Oozie-cannot-initialize-cluster-error-JA009/m-p/25054#M39989</guid>
      <dc:creator>kabeer</dc:creator>
      <dc:date>2015-02-26T00:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: CDH 5.1.2. Oozie cannot initialize cluster error JA009</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDH-5-1-2-Oozie-cannot-initialize-cluster-error-JA009/m-p/25191#M39990</link>
      <description>&lt;P&gt;Never mind. Issue got resolved. I thought I would post the job.properties and workflow.xml so that anyone else having this issue can refer here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;workflow.xml:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;workflow-app xmlns="uri:oozie:workflow:0.4" name="oozie-wf"&amp;gt;&lt;BR /&gt;&amp;lt;start to="sqoop-wf1"/&amp;gt;&lt;BR /&gt;&amp;lt;action name="sqoop-wf1"&amp;gt;&lt;BR /&gt;&amp;lt;sqoop xmlns="uri:oozie:sqoop-action:0.2"&amp;gt;&lt;BR /&gt;&amp;lt;job-tracker&amp;gt;${jobTracker}&amp;lt;/job-tracker&amp;gt;&lt;BR /&gt;&amp;lt;name-node&amp;gt;${nameNode}&amp;lt;/name-node&amp;gt;&lt;BR /&gt;&amp;lt;command&amp;gt;import --connect jdbc:mysql://localhost/nosql --table forHive --username root --password test123 --m 1 --target-dir /user/kabeer/001&amp;lt;/command&amp;gt;&lt;BR /&gt;&amp;lt;archive&amp;gt;/tmp/mysql-connector-java-5.1.33-bin.jar#mysql-connector-java-5.1.33-bin.jar&amp;lt;/archive&amp;gt;&lt;BR /&gt;&amp;lt;/sqoop&amp;gt;&lt;BR /&gt;&amp;lt;ok to="end"/&amp;gt;&lt;BR /&gt;&amp;lt;error to="fail"/&amp;gt;&lt;BR /&gt;&amp;lt;/action&amp;gt;&lt;BR /&gt;&amp;lt;kill name="fail"&amp;gt;&lt;BR /&gt;&amp;lt;message&amp;gt;Failed, Error Message[${wf:errorMessage(wf:lastErrorNode())}]&amp;lt;/message&amp;gt;&lt;BR /&gt;&amp;lt;/kill&amp;gt;&lt;BR /&gt;&amp;lt;end name="end"/&amp;gt;&lt;BR /&gt;&amp;lt;/workflow-app&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Job.properties:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;nameNode=hdfs://localhost:8020&lt;BR /&gt;job-tracker=localhost:8032&lt;BR /&gt;jobTracker=localhost:8032&lt;BR /&gt;queueName=default&lt;BR /&gt;weatherRoot=oozie&lt;BR /&gt;#mapreduce.jobtracker.kerberos.principal=foo&lt;BR /&gt;#dfs.namenode.kerberos.principal=foo&lt;BR /&gt;oozie.libpath=${nameNode}/user/oozie/share/lib/lib_20150226170905&lt;BR /&gt;# oozie.wf.application.path=${nameNode}/user/${user.name}/${weatherRoot}&lt;BR /&gt;oozie.wf.application.path=${nameNode}/user/kabeer/${weatherRoot}&lt;BR /&gt;outputDir=sqoop-output&lt;BR /&gt;oozie.use.system.libpath=true&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2015 16:35:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDH-5-1-2-Oozie-cannot-initialize-cluster-error-JA009/m-p/25191#M39990</guid>
      <dc:creator>kabeer</dc:creator>
      <dc:date>2015-03-02T16:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: CDH 5.1.2. Oozie cannot initialize cluster error JA009</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDH-5-1-2-Oozie-cannot-initialize-cluster-error-JA009/m-p/28737#M39991</link>
      <description>Had similar issue got resolved&lt;BR /&gt;Error&lt;BR /&gt;------&lt;BR /&gt;I had like this in workflow.xml&lt;BR /&gt;&amp;lt;job-tracker&amp;gt;localhost:8032&amp;lt;/job-tracker&amp;gt;&lt;BR /&gt;&amp;lt;name-node&amp;gt;localhost:8020&amp;lt;/name-node&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Changed it to the following&lt;BR /&gt;&amp;lt;job-tracker&amp;gt;${jobTracker}&amp;lt;/job-tracker&amp;gt;&lt;BR /&gt;&amp;lt;name-node&amp;gt;${nameNode}&amp;lt;/name-node&amp;gt;</description>
      <pubDate>Fri, 19 Jun 2015 15:26:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDH-5-1-2-Oozie-cannot-initialize-cluster-error-JA009/m-p/28737#M39991</guid>
      <dc:creator>bigdatafnds</dc:creator>
      <dc:date>2015-06-19T15:26:18Z</dc:date>
    </item>
  </channel>
</rss>

