<?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 action Error in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Oozie-sqoop-action-Error/m-p/117649#M80432</link>
    <description>&lt;P&gt;Why would you restart the RM for this?&lt;/P&gt;</description>
    <pubDate>Thu, 08 Sep 2016 12:30:41 GMT</pubDate>
    <dc:creator>vranganathan</dc:creator>
    <dc:date>2016-09-08T12:30:41Z</dc:date>
    <item>
      <title>Oozie sqoop action Error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-sqoop-action-Error/m-p/117643#M80426</link>
      <description>&lt;P&gt;I am trying to import a oracle table data using sqoop action in oozie. I am getting error as &lt;/P&gt;&lt;P&gt; WARN SqoopActionExecutor:523 - SERVER[****] USER[hadoop] GROUP[-] TOKEN[] APP[sample-wf] JOB[0000134-160802050043050-oozie-oozi-W] ACTION[0000134-160802050043050-oozie-oozi-W@source2landingZone] Launcher ERROR, reason: Main class [org.apache.oozie.action.hadoop.SqoopMain], exit code [1]&lt;/P&gt;&lt;P&gt;Below is my workflow.xml.&lt;/P&gt;&lt;P&gt;&amp;lt;workflow-app name="sample-wf" xmlns="uri:oozie:workflow:0.1"&amp;gt;
  &amp;lt;start to="source2landingZone"/&amp;gt;
  &amp;lt;action name="source2landingZone"&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;command&amp;gt;sqoop import --connect jdbc:oracle:thin:@//****:1521/orcl --username *** --password *** --table TEST_SQOOP --target-dir /user/hadoop/generic/test55 -m 1&amp;lt;/command&amp;gt;
  &amp;lt;/sqoop&amp;gt;
  &amp;lt;ok to="end"/&amp;gt;
  &amp;lt;error to="kill"/&amp;gt;
  &amp;lt;/action&amp;gt;
  &amp;lt;kill name="kill"&amp;gt;
  &amp;lt;message&amp;gt;Action failed, error message[${wf:errorMessage(wf:lastErrorNode())}]&amp;lt;/message&amp;gt;
  &amp;lt;/kill&amp;gt;
  &amp;lt;end name="end"/&amp;gt;
&amp;lt;/workflow-app&amp;gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 16:20:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-sqoop-action-Error/m-p/117643#M80426</guid>
      <dc:creator>gaurab_dawn</dc:creator>
      <dc:date>2016-08-24T16:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie sqoop action Error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-sqoop-action-Error/m-p/117644#M80427</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/12099/gaurabdawn.html" nodeid="12099"&gt;@Gaurab D&lt;/A&gt;&lt;P&gt;Do you have Oracle drive in Sqoop directory? Check /usr/hdp/current/sqoop-client/lib/. If it's not there, pease put it here in classpath.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 02:45:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-sqoop-action-Error/m-p/117644#M80427</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2016-08-25T02:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie sqoop action Error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-sqoop-action-Error/m-p/117645#M80428</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/10969/mqureshi.html" nodeid="10969"&gt;@mqureshi&lt;/A&gt;  I dont have any such directory as /usr/hdp/current/sqoop-client/lib/. But I am able to import data from oracle database using sqoop. Problem starts while I am trying to do same using oozie sqoop action.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 12:27:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-sqoop-action-Error/m-p/117645#M80428</guid>
      <dc:creator>gaurab_dawn</dc:creator>
      <dc:date>2016-08-25T12:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie sqoop action Error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-sqoop-action-Error/m-p/117646#M80429</link>
      <description>&lt;P&gt;Then can you please share more from oozie logs? /var/log/oozie?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 13:38:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-sqoop-action-Error/m-p/117646#M80429</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2016-08-25T13:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie sqoop action Error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-sqoop-action-Error/m-p/117647#M80430</link>
      <description>&lt;P&gt;Make sure you add oracle jdbc driver to the sqoop sharelib in HDFS (find the current sharelib location using 'oozie admin -sharelibliblist sqoop' - For older installations (pre HDP -2.2) you can add the file to /user/oozie/share/lib/sqoop directory&lt;/P&gt;&lt;P&gt;Make sure you either call oozie admin -sharelibupdate or restart oozie after that&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2016 23:26:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-sqoop-action-Error/m-p/117647#M80430</guid>
      <dc:creator>vranganathan</dc:creator>
      <dc:date>2016-09-05T23:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie sqoop action Error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-sqoop-action-Error/m-p/117648#M80431</link>
      <description>&lt;P&gt;The Issue got resolved after copying the file ojdbc6.jar in hdfs, path
/user/oozie/share/lib/lib_&amp;lt;ts&amp;gt;/sqoop/ojdbc6.jar. &lt;/P&gt;&lt;P&gt;Then I restarted the yarn RM. Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2016 17:57:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-sqoop-action-Error/m-p/117648#M80431</guid>
      <dc:creator>gaurab_dawn</dc:creator>
      <dc:date>2016-09-07T17:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie sqoop action Error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-sqoop-action-Error/m-p/117649#M80432</link>
      <description>&lt;P&gt;Why would you restart the RM for this?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2016 12:30:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-sqoop-action-Error/m-p/117649#M80432</guid>
      <dc:creator>vranganathan</dc:creator>
      <dc:date>2016-09-08T12:30:41Z</dc:date>
    </item>
  </channel>
</rss>

