<?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 Error Sqooping data with Oozie, java.lang.NoSuchMethodError in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-Sqooping-data-with-Oozie-java-lang-NoSuchMethodError/m-p/29555#M6572</link>
    <description>&lt;P&gt;Im currently trying to Sqoop some data from an Oracle DB to HDFS using Oozie to schedule the sqoop workflow.&lt;/P&gt;&lt;P&gt;My Sqoop version: Sqoop 1.4.5-cdh5.4.2&lt;/P&gt;&lt;P&gt;My Sqoop code:&lt;/P&gt;&lt;P&gt;import -- connect {JDBCpath} \&lt;/P&gt;&lt;P&gt;--username {Username} \&lt;/P&gt;&lt;P&gt;--password {Password} \&lt;/P&gt;&lt;P&gt;--verbose \&lt;/P&gt;&lt;P&gt;--table {Table} \&lt;/P&gt;&lt;P&gt;--where "{Query}" \&lt;/P&gt;&lt;P&gt;-z \&lt;/P&gt;&lt;P&gt;--compression-codec&amp;nbsp;org.apache.hadoop.io.compress.SnappyCodec \&lt;/P&gt;&lt;P&gt;--as-parquetfile \&lt;/P&gt;&lt;P&gt;--target-dir {TargetDirectory} \&lt;/P&gt;&lt;P&gt;--split-by {columnToSplitBy} \&lt;/P&gt;&lt;P&gt;-m 14&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Error I have been getting:&lt;/P&gt;&lt;P&gt;java.lang.NoSuchMethodError: org.kitesdk.data.impl.Accessor.registerDatasetRepository(Lorg/kitesdk/data/spi/URIPattern;Lorg/kitesdk/data/spi/OptionBuilder;)V&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Edited to focus on my main problem, rather than the research I've done into it which may or may not be the correct path in solving this. This information will be reposted in a reply.]&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 09:34:04 GMT</pubDate>
    <dc:creator>JfisherLVL3</dc:creator>
    <dc:date>2022-09-16T09:34:04Z</dc:date>
    <item>
      <title>Error Sqooping data with Oozie, java.lang.NoSuchMethodError</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-Sqooping-data-with-Oozie-java-lang-NoSuchMethodError/m-p/29555#M6572</link>
      <description>&lt;P&gt;Im currently trying to Sqoop some data from an Oracle DB to HDFS using Oozie to schedule the sqoop workflow.&lt;/P&gt;&lt;P&gt;My Sqoop version: Sqoop 1.4.5-cdh5.4.2&lt;/P&gt;&lt;P&gt;My Sqoop code:&lt;/P&gt;&lt;P&gt;import -- connect {JDBCpath} \&lt;/P&gt;&lt;P&gt;--username {Username} \&lt;/P&gt;&lt;P&gt;--password {Password} \&lt;/P&gt;&lt;P&gt;--verbose \&lt;/P&gt;&lt;P&gt;--table {Table} \&lt;/P&gt;&lt;P&gt;--where "{Query}" \&lt;/P&gt;&lt;P&gt;-z \&lt;/P&gt;&lt;P&gt;--compression-codec&amp;nbsp;org.apache.hadoop.io.compress.SnappyCodec \&lt;/P&gt;&lt;P&gt;--as-parquetfile \&lt;/P&gt;&lt;P&gt;--target-dir {TargetDirectory} \&lt;/P&gt;&lt;P&gt;--split-by {columnToSplitBy} \&lt;/P&gt;&lt;P&gt;-m 14&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Error I have been getting:&lt;/P&gt;&lt;P&gt;java.lang.NoSuchMethodError: org.kitesdk.data.impl.Accessor.registerDatasetRepository(Lorg/kitesdk/data/spi/URIPattern;Lorg/kitesdk/data/spi/OptionBuilder;)V&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Edited to focus on my main problem, rather than the research I've done into it which may or may not be the correct path in solving this. This information will be reposted in a reply.]&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:34:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-Sqooping-data-with-Oozie-java-lang-NoSuchMethodError/m-p/29555#M6572</guid>
      <dc:creator>JfisherLVL3</dc:creator>
      <dc:date>2022-09-16T09:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error Sqooping data with Oozie, java.lang.NoSuchMethodError</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-Sqooping-data-with-Oozie-java-lang-NoSuchMethodError/m-p/29573#M6573</link>
      <description>Unclear from your description, but given that CDH 5.4 includes Kite 1.0.0 in its default packaging, are you using an older version manually for some other purpose?</description>
      <pubDate>Wed, 15 Jul 2015 05:48:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-Sqooping-data-with-Oozie-java-lang-NoSuchMethodError/m-p/29573#M6573</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2015-07-15T05:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error Sqooping data with Oozie, java.lang.NoSuchMethodError</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-Sqooping-data-with-Oozie-java-lang-NoSuchMethodError/m-p/29602#M6574</link>
      <description>&lt;P&gt;[Research I've done: It looks like the method registerDatasetRepository was included in the kite-data-core.jar file in the 0.14.1 version&amp;nbsp;but was removed in version 0.15.0. We are currently using one of the kite-data-core.jar files after version 0.15.0 and I am unable to use the older version&amp;nbsp;since there are other things using that jar on the hdfs.&lt;/P&gt;&lt;P&gt;Is there any way I can tell sqoop to not use kite or add another jar with this method included or any other solution to this error?]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We want to use the newest version (and as far as i know, we currently are) but the code that is generated from the sqoop command wants to use the registerDatasetRepository method from kite-data-core.jar. But it looks like that method no longer exists in the newer versions of kite-data-core.jar.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2015 15:31:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-Sqooping-data-with-Oozie-java-lang-NoSuchMethodError/m-p/29602#M6574</guid>
      <dc:creator>JfisherLVL3</dc:creator>
      <dc:date>2015-07-15T15:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error Sqooping data with Oozie, java.lang.NoSuchMethodError</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-Sqooping-data-with-Oozie-java-lang-NoSuchMethodError/m-p/29688#M6575</link>
      <description>&lt;P&gt;Would there be any way to tell oozie to not use kite when sqooping to avoid this error entirely?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2015 17:24:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-Sqooping-data-with-Oozie-java-lang-NoSuchMethodError/m-p/29688#M6575</guid>
      <dc:creator>JfisherLVL3</dc:creator>
      <dc:date>2015-07-16T17:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error Sqooping data with Oozie, java.lang.NoSuchMethodError</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-Sqooping-data-with-Oozie-java-lang-NoSuchMethodError/m-p/29712#M6576</link>
      <description>Sqoop will use Kite if parquet-file output format is mentioned.&lt;BR /&gt;&lt;BR /&gt;However, I am unable to reproduce your issue on a fresh 5.4.2 Oozie install (Sqoop action import done from a MySQL source, but Kite gets used if you specify --as-parquetfile, not dependent on the source).&lt;BR /&gt;&lt;BR /&gt;Was your CDH upgraded from another release, or is it a new cluster installation?&lt;BR /&gt;&lt;BR /&gt;Can you check if your Oozie system share-lib is perhaps using older kite jars? If it does look older, can you run the Oozie -&amp;gt; Actions -&amp;gt; Update ShareLib command from CM, and then retry?</description>
      <pubDate>Fri, 17 Jul 2015 04:32:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-Sqooping-data-with-Oozie-java-lang-NoSuchMethodError/m-p/29712#M6576</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2015-07-17T04:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error Sqooping data with Oozie, java.lang.NoSuchMethodError</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-Sqooping-data-with-Oozie-java-lang-NoSuchMethodError/m-p/29749#M6577</link>
      <description>Updating the SharLib Worked! =D I did have to bounce oozie before it fixed it but this solution works.</description>
      <pubDate>Fri, 17 Jul 2015 16:50:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-Sqooping-data-with-Oozie-java-lang-NoSuchMethodError/m-p/29749#M6577</guid>
      <dc:creator>JfisherLVL3</dc:creator>
      <dc:date>2015-07-17T16:50:36Z</dc:date>
    </item>
  </channel>
</rss>

