<?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: Oozie sqoop job failing in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Oozie-sqoop-job-failing/m-p/138940#M101569</link>
    <description>&lt;P&gt;Thanks, It was a silly mistake.&lt;/P&gt;</description>
    <pubDate>Tue, 10 May 2016 15:18:07 GMT</pubDate>
    <dc:creator>agareta</dc:creator>
    <dc:date>2016-05-10T15:18:07Z</dc:date>
    <item>
      <title>Oozie sqoop job failing</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-sqoop-job-failing/m-p/138938#M101567</link>
      <description>&lt;P&gt;
	Hi,&lt;/P&gt;&lt;P&gt;
	I am successfully able to do sqoop action from shell. But not able to do with oozie. I have read several question in hortonworks that states need to add mysql jar in oozie/lib. I have added that too.. but still no success.&lt;/P&gt;&lt;P&gt;
	Main class [org.apache.oozie.action.hadoop.SqoopMain], exit code [1]&lt;/P&gt;&lt;P&gt;
	My workflow.xml looks like &lt;/P&gt;&lt;PRE&gt;&amp;lt;action name="sqoop-action"&amp;gt;
   &amp;lt;sqoop xmlns="uri:oozie:sqoop-action:0.2"&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;
      &amp;lt;prepare&amp;gt;
         &amp;lt;delete path="${deleteHdfsPath}"/&amp;gt;
      &amp;lt;/prepare&amp;gt;
      &amp;lt;configuration&amp;gt;
         &amp;lt;property&amp;gt;
            &amp;lt;name&amp;gt;oozie.hive.defaults&amp;lt;/name&amp;gt;
            &amp;lt;value&amp;gt;/usr/hdp/current/hive-client/conf/hive-site.xml&amp;lt;/value&amp;gt;
         &amp;lt;/property&amp;gt;
      &amp;lt;/configuration&amp;gt;
      &amp;lt;command&amp;gt;${command}&amp;lt;/command&amp;gt;
      &amp;lt;archive&amp;gt;mysql-connector-java.jar#mysql-connector-java.jar&amp;lt;/archive&amp;gt;
   &amp;lt;/sqoop&amp;gt;
   &amp;lt;ok to="hive-action" /&amp;gt;
   &amp;lt;error to="kill" /&amp;gt;
&amp;lt;/action&amp;gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/4121-oozielog.zip"&gt;oozielog.zip&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;
	I am attaching my log file as well

	Can anybody  help me ?&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 01:01:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-sqoop-job-failing/m-p/138938#M101567</guid>
      <dc:creator>agareta</dc:creator>
      <dc:date>2016-05-10T01:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie sqoop job failing</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-sqoop-job-failing/m-p/138939#M101568</link>
      <description>&lt;P&gt;Your sqoop command begins with "sqoop":&lt;/P&gt;&lt;PRE&gt;No such sqoop tool: sqoop. See 'sqoop help'.Intercepting System.exit(1)&lt;/PRE&gt;&lt;P&gt;Remove "sqoop" from the command, it should start with "import", and retry.&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 08:01:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-sqoop-job-failing/m-p/138939#M101568</guid>
      <dc:creator>pminovic</dc:creator>
      <dc:date>2016-05-10T08:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie sqoop job failing</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-sqoop-job-failing/m-p/138940#M101569</link>
      <description>&lt;P&gt;Thanks, It was a silly mistake.&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 15:18:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-sqoop-job-failing/m-p/138940#M101569</guid>
      <dc:creator>agareta</dc:creator>
      <dc:date>2016-05-10T15:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie sqoop job failing</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-sqoop-job-failing/m-p/138941#M101570</link>
      <description>&lt;P&gt;No problems, it can happen to the best of us. Also glad to hear that it worked for your, because many people have been having troubles with Oozie Sqoop actions recently. By the way, for me it worked without specifying "archive" in the workflow file, I just uploaded mysql-connector jar to Oozie Sqoop share lib. Happy sqooping!&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 15:26:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-sqoop-job-failing/m-p/138941#M101570</guid>
      <dc:creator>pminovic</dc:creator>
      <dc:date>2016-05-10T15:26:48Z</dc:date>
    </item>
  </channel>
</rss>

