<?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: we are getting below error/exception while executing sqoop action via oozie ? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/we-are-getting-below-error-exception-while-executing-sqoop/m-p/147185#M40385</link>
    <description>&lt;P&gt;You are executing an oozie admin command, so you need to be using an oozie admin user. Usually 'oozie' user is configured as admin user in oozie  You can take look at the 'adminusers.txt' file under oozie configuration. Once you switch to an oozie admin user, you should be able to update the oozie sharelib. 'sudo su - oozie'&lt;/P&gt;&lt;P&gt;The another error which you have mentioned regarding the 'java.lang.ClassNotFoundException: Class org.apache.oozie.action.hadoop.SqoopMain not found', I guess you did not specify the 'oozie.use.system.libpath=true' into your "job.properties" file. This should resolve both of your issues. &lt;/P&gt;&lt;P&gt;Note: If 'oozie.use.system.libpath=true' property was missing then just add it and submit/run the workflow, you need not to update the oozie share lib.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Sep 2016 01:59:26 GMT</pubDate>
    <dc:creator>abafna</dc:creator>
    <dc:date>2016-09-14T01:59:26Z</dc:date>
    <item>
      <title>we are getting below error/exception while executing sqoop action via oozie ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/we-are-getting-below-error-exception-while-executing-sqoop/m-p/147183#M40383</link>
      <description>&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/7537-img.png"&gt;img.png&lt;/A&gt;we are getting below error/exception while executing sqoop
action via oozie .&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error&lt;/STRONG&gt; - Failing Oozie Launcher, Main class
[org.apache.oozie.action.hadoop.SqoopMain], exception invoking main(),
java.lang.ClassNotFoundException: Class
org.apache.oozie.action.hadoop.SqoopMain not found&lt;/P&gt;&lt;P&gt;It seems some jars related to sqoop action not available on
oozie share lib path i.e. “/user/oozie/share/lib/lib_20160807001458/sqoop”.
 We are getting access issues while trying to update the oozie share lib
path with required jars.  &lt;/P&gt;&lt;P&gt;&lt;IMG style="height: 0.343in; width: 11.312in;" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 22:16:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/we-are-getting-below-error-exception-while-executing-sqoop/m-p/147183#M40383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-09-12T22:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: we are getting below error/exception while executing sqoop action via oozie ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/we-are-getting-below-error-exception-while-executing-sqoop/m-p/147184#M40384</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3134/sanchinakishore.html" nodeid="3134"&gt;@kishore sanchina&lt;/A&gt;: You are getting permission issue because user(which you have used to login) does not have admin role on cluster. So please try with oozie user, you can do sudo to oozie. &lt;/P&gt;&lt;P&gt;sudo su - oozie &lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;su oozie &lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 00:58:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/we-are-getting-below-error-exception-while-executing-sqoop/m-p/147184#M40384</guid>
      <dc:creator>SK1</dc:creator>
      <dc:date>2016-09-13T00:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: we are getting below error/exception while executing sqoop action via oozie ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/we-are-getting-below-error-exception-while-executing-sqoop/m-p/147185#M40385</link>
      <description>&lt;P&gt;You are executing an oozie admin command, so you need to be using an oozie admin user. Usually 'oozie' user is configured as admin user in oozie  You can take look at the 'adminusers.txt' file under oozie configuration. Once you switch to an oozie admin user, you should be able to update the oozie sharelib. 'sudo su - oozie'&lt;/P&gt;&lt;P&gt;The another error which you have mentioned regarding the 'java.lang.ClassNotFoundException: Class org.apache.oozie.action.hadoop.SqoopMain not found', I guess you did not specify the 'oozie.use.system.libpath=true' into your "job.properties" file. This should resolve both of your issues. &lt;/P&gt;&lt;P&gt;Note: If 'oozie.use.system.libpath=true' property was missing then just add it and submit/run the workflow, you need not to update the oozie share lib.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 01:59:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/we-are-getting-below-error-exception-while-executing-sqoop/m-p/147185#M40385</guid>
      <dc:creator>abafna</dc:creator>
      <dc:date>2016-09-14T01:59:26Z</dc:date>
    </item>
  </channel>
</rss>

