<?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: Sqoop with Oozie error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-with-Oozie-error/m-p/78648#M37713</link>
    <description>I have this same problem, I too tried follow the method of &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/16463"&gt;@Vinod369&lt;/a&gt; and not resolved</description>
    <pubDate>Fri, 17 Aug 2018 18:11:03 GMT</pubDate>
    <dc:creator>Tirabassi</dc:creator>
    <dc:date>2018-08-17T18:11:03Z</dc:date>
    <item>
      <title>Sqoop with Oozie error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-with-Oozie-error/m-p/43877#M37706</link>
      <description>&lt;P&gt;I am running Sqoop action in Oozie, with below script&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sqoop import --connect jdbc:sqlserver://SQLM03;database=test --username data_user --password pass1 --driver com.microsoft.sqlserver.jdbc.SQLServerDriver --table table123 -m 1 --target-dir /user/data_user/sqoop&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have placed SQL Server driver jar in Oozie share lib &lt;STRONG&gt;/user/oozie/share/lib/lib_20150429135817/sqoop&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am able to import data using sqoop from command prompt using same script, but getting below error while running from Oozie&lt;/P&gt;&lt;PRE&gt; Log Type: stderr
  
  Log Length: 539
  log4j:ERROR Could not find value for key log4j.appender.CLA
  log4j:ERROR Could not instantiate appender named "CLA".
  log4j:WARN No appenders could be found for logger (org.apache.hadoop.yarn.client.ConfiguredRMFailoverProxyProvider).
  log4j:WARN Please initialize the log4j system properly.
  log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
  No such sqoop tool: sqoop. See 'sqoop help'.
  Intercepting System.exit(1)
  Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.SqoopMain], exit code [1]&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Tried to search it in previous posts, but no solution found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:34:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-with-Oozie-error/m-p/43877#M37706</guid>
      <dc:creator>Vinod369</dc:creator>
      <dc:date>2022-09-16T10:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop with Oozie error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-with-Oozie-error/m-p/43921#M37707</link>
      <description>&lt;PRE&gt;No such sqoop tool: sqoop. See 'sqoop help'.&lt;/PRE&gt;&lt;P&gt;Your Sqoop Action's commands should begin with just the "import" command, and not include "sqoop" as its first argument, i.e. it should look like this:&lt;/P&gt;&lt;PRE&gt;&amp;lt;command&amp;gt;import --connect …&amp;lt;/command&amp;gt;&lt;/PRE&gt;&lt;P&gt;And not like this, which is how you've specified it:&lt;/P&gt;&lt;PRE&gt;&amp;lt;command&amp;gt;sqoop import --connect …&amp;lt;/command&amp;gt;&lt;/PRE&gt;&lt;P&gt;The Sqoop Action of Oozie is documented with an example at&amp;nbsp;&lt;A href="http://archive.cloudera.com/cdh5/cdh/5/oozie/DG_SqoopActionExtension.html" target="_blank"&gt;http://archive.cloudera.com/cdh5/cdh/5/oozie/DG_SqoopActionExtension.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Aug 2016 22:28:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-with-Oozie-error/m-p/43921#M37707</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2016-08-14T22:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop with Oozie error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-with-Oozie-error/m-p/43927#M37708</link>
      <description>&lt;P&gt;Thank you Harsh.&lt;/P&gt;&lt;P&gt;It was my bad to overlook the actul commands inside the Sqoop action.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I am getting below error,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Log Type: stderr&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; Log Length: 3696&lt;BR /&gt;&amp;nbsp; log4j:ERROR Could not find value for key log4j.appender.CLA&lt;BR /&gt;&amp;nbsp; log4j:ERROR Could not instantiate appender named "CLA".&lt;BR /&gt;&amp;nbsp; log4j:WARN No appenders could be found for logger (org.apache.hadoop.yarn.client.ConfiguredRMFailoverProxyProvider).&lt;BR /&gt;&amp;nbsp; log4j:WARN Please initialize the log4j system properly.&lt;BR /&gt;&amp;nbsp; log4j:WARN See &lt;A href="http://logging.apache.org/log4j/1.2/faq.html#noconfig" target="_blank"&gt;http://logging.apache.org/log4j/1.2/faq.html#noconfig&lt;/A&gt; for more info.&lt;BR /&gt;&amp;nbsp; Aug 14, 2016 9:47:55 PM com.microsoft.sqlserver.jdbc.SQLServerConnection &amp;lt;init&amp;gt;&lt;BR /&gt;&amp;nbsp; SEVERE: Java Runtime Environment (JRE) version 1.7 is not supported by this driver. Use the sqljdbc4.jar class library, which provides support for JDBC 4.0.&lt;BR /&gt;&amp;nbsp; java.lang.UnsupportedOperationException: Java Runtime Environment (JRE) version 1.7 is not supported by this driver. Use the sqljdbc4.jar class library, which provides support for JDBC 4.0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have below drivers in Oozie sahred lib / user/ oozie/ share/ lib/ lib_20150429135817/ sqoop,&lt;/P&gt;&lt;P&gt;sqljdbc.jar, sqljdbc4.jar, sqljdbc41.jar, sqljdb42.jar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also have below drivers,&lt;/P&gt;&lt;P&gt;Edge node Sqoop2: /var/lib/sqoop2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sqljdbc41.jar&lt;/P&gt;&lt;P&gt;Edge node Sqoop:&amp;nbsp; /var/lib/sqoop&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sqljdbc.jar, sqljdbc4.jar, sqljdbc41.jar, sqljdb42.jar&lt;/P&gt;&lt;P&gt;Sqoop2 Server:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /var/lib/sqoop2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sqljdbc.jar, sqljdbc4.jar, sqljdbc41.jar, sqljdb42.jar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I need to add sqljdbc4.jar on Edge node Sqoop2 directory as well remove drivers other than sqljdbc4.jar&amp;nbsp;from all places ? What if in future I want to connect to another SQL Server with different version ?&lt;/P&gt;&lt;P&gt;Are these drivers not come with older version compatibiltiy ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2016 02:14:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-with-Oozie-error/m-p/43927#M37708</guid>
      <dc:creator>Vinod369</dc:creator>
      <dc:date>2016-08-15T02:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop with Oozie error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-with-Oozie-error/m-p/43928#M37709</link>
      <description>&lt;P&gt;You need just one of those jars in the directory, not all of them.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Just use one, the one named&amp;nbsp;&lt;STRONG&gt;sqljdbc41.jar&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(The 4.1 JDBC spec is the latest version supported with&amp;nbsp;JDK7).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Remove everything else (especially remove&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;sqljdbc42.jar&lt;/STRONG&gt; which won't work unless you upgrade to JDK8)&lt;/SPAN&gt;&amp;nbsp;to avoid this problem.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2016 07:51:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-with-Oozie-error/m-p/43928#M37709</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2016-08-15T07:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop with Oozie error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-with-Oozie-error/m-p/44022#M37710</link>
      <description>&lt;P&gt;I have kept only 1 driver sqljdbc41.jar in all directories and Oozie shared lib path.&lt;/P&gt;&lt;P&gt;But still I am getting below error,&lt;/P&gt;&lt;PRE&gt;Log Type: stderr
  
  Log Length: 3696
  log4j:ERROR Could not find value for key log4j.appender.CLA
  log4j:ERROR Could not instantiate appender named "CLA".
  log4j:WARN No appenders could be found for logger (org.apache.hadoop.yarn.client.ConfiguredRMFailoverProxyProvider).
  log4j:WARN Please initialize the log4j system properly.
  log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
  Aug 16, 2016 9:45:42 AM com.microsoft.sqlserver.jdbc.SQLServerConnection &amp;lt;init&amp;gt;
  SEVERE: Java Runtime Environment (JRE) version 1.7 is not supported by this driver. Use the sqljdbc4.jar class library, which provides support for JDBC 4.0.
  java.lang.UnsupportedOperationException: Java Runtime Environment (JRE) version 1.7 is not supported by this driver. Use the sqljdbc4.jar class library, which provides support for JDBC 4.0.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Even I tried with driver sqljdbc4.jar, but it keep asking other version of driver other than present in directories.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After running a workflow, I realized there is workflow.xml generated in workspace but no job.properties. So I manually created job.properties as below&amp;nbsp;and added in workspace,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="job.properties_p.jpg" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/2007i24D2C1D46E5BEEEE/image-size/large?v=v2&amp;amp;px=999" role="button" title="job.properties_p.jpg" alt="job.properties_p.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Below is workflow.xml generated ,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="workflow.xml_p.jpg" style="width: 792px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/2008iE036E173BE6F3DC2/image-dimensions/792x343?v=v2" width="792" height="343" role="button" title="workflow.xml_p.jpg" alt="workflow.xml_p.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not entering any other job properties or parameters in workflow.&lt;/P&gt;&lt;P&gt;Not sure if I am doing something wrong here, as I can not see jobTracker and nameNode actual names is workflow.xml file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please guide in this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 14:08:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-with-Oozie-error/m-p/44022#M37710</guid>
      <dc:creator>Vinod369</dc:creator>
      <dc:date>2016-08-16T14:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop with Oozie error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-with-Oozie-error/m-p/44035#M37711</link>
      <description>&lt;P&gt;This issue is resolved now.&lt;/P&gt;&lt;P&gt;Took below steps,&lt;/P&gt;&lt;P&gt;1. Removed oozie.libpath line from job.properties&lt;/P&gt;&lt;P&gt;2. Created lib folder in workspace and placed sqljdbc41.jar in lib folder&lt;/P&gt;&lt;P&gt;So total&amp;nbsp;3 things placed in workspace, job.properties, workflow.xml and lib folder.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 20:41:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-with-Oozie-error/m-p/44035#M37711</guid>
      <dc:creator>Vinod369</dc:creator>
      <dc:date>2016-08-16T20:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop with Oozie error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-with-Oozie-error/m-p/67529#M37712</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/16463"&gt;@Vinod369&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;&amp;nbsp;I have done same things you mentioned. then I am facing below error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;java.lang.ClassNotFoundException: Class org.apache.oozie.action.hadoop.SqoopMain not found&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me to resolve this error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2018 11:23:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-with-Oozie-error/m-p/67529#M37712</guid>
      <dc:creator>pateljay</dc:creator>
      <dc:date>2018-05-22T11:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop with Oozie error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-with-Oozie-error/m-p/78648#M37713</link>
      <description>I have this same problem, I too tried follow the method of &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/16463"&gt;@Vinod369&lt;/a&gt; and not resolved</description>
      <pubDate>Fri, 17 Aug 2018 18:11:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-with-Oozie-error/m-p/78648#M37713</guid>
      <dc:creator>Tirabassi</dc:creator>
      <dc:date>2018-08-17T18:11:03Z</dc:date>
    </item>
  </channel>
</rss>

