<?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] Using two versions of the same driver - Oracle ojdbc6.jar in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-Using-two-versions-of-the-same-driver-Oracle-ojdbc6/m-p/33762#M9898</link>
    <description>Yes I guessed it.&lt;BR /&gt;So just to be super-safe, according to the last example if it finds a ojdbc6.jar in both paths, it will load the first one and discard the latter, right ?</description>
    <pubDate>Wed, 04 Nov 2015 08:08:00 GMT</pubDate>
    <dc:creator>omaritec</dc:creator>
    <dc:date>2015-11-04T08:08:00Z</dc:date>
    <item>
      <title>[Sqoop] Using two versions of the same driver -  Oracle ojdbc6.jar</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-Using-two-versions-of-the-same-driver-Oracle-ojdbc6/m-p/33736#M9894</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am on a CDH 5.4.4 cluster, with parcels.&lt;/P&gt;&lt;P&gt;I need to use sqoop, running it from the edgenode.&lt;/P&gt;&lt;P&gt;My problem is that I need to connect to Oracle 12, which works fine, but now I need to connect to Oracle 9, too.&lt;/P&gt;&lt;P&gt;It seems that Oracle12 ojdbc6.jar no more support Oracle9. I need to download Oracle11's ojdbc6.jar&lt;/P&gt;&lt;P&gt;My question is: how can I make them live toghether ?&lt;/P&gt;&lt;P&gt;- I can't place them on the same folder, because they have the same name.&lt;/P&gt;&lt;P&gt;- Maybe I can change the name of one of them, but the classes contained have the same name: how can I tell Sqoop to use one instead of another at runtime ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm going nuts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Omar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:47:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-Using-two-versions-of-the-same-driver-Oracle-ojdbc6/m-p/33736#M9894</guid>
      <dc:creator>omaritec</dc:creator>
      <dc:date>2022-09-16T09:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: [Sqoop] Using two versions of the same driver -  Oracle ojdbc6.jar</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-Using-two-versions-of-the-same-driver-Oracle-ojdbc6/m-p/33749#M9895</link>
      <description>You can simply install the O12 jar as the default (under /var/lib/sqoop/) and do the below when you want to use O11 jar over O12 jar instead (don't install the O11 jar into /var/lib/sqoop, but keep it elsewhere):&lt;BR /&gt;&lt;BR /&gt;export HADOOP_CLASSPATH=/path/to/ojdbc6-for-O11.jar&lt;BR /&gt;export HADOOP_USER_CLASSPATH_FIRST=true&lt;BR /&gt;sqoop …rest of args…&lt;BR /&gt;&lt;BR /&gt;Does this help?</description>
      <pubDate>Wed, 04 Nov 2015 01:01:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-Using-two-versions-of-the-same-driver-Oracle-ojdbc6/m-p/33749#M9895</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2015-11-04T01:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: [Sqoop] Using two versions of the same driver -  Oracle ojdbc6.jar</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-Using-two-versions-of-the-same-driver-Oracle-ojdbc6/m-p/33760#M9896</link>
      <description>Thank you Harsh, you keep this forum rolling !&lt;BR /&gt;I'll try this, a question: will I be missing something overwriting the default hadoop classpath ?</description>
      <pubDate>Wed, 04 Nov 2015 08:01:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-Using-two-versions-of-the-same-driver-Oracle-ojdbc6/m-p/33760#M9896</guid>
      <dc:creator>omaritec</dc:creator>
      <dc:date>2015-11-04T08:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: [Sqoop] Using two versions of the same driver - Oracle ojdbc6.jar</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-Using-two-versions-of-the-same-driver-Oracle-ojdbc6/m-p/33761#M9897</link>
      <description>No, the illustrated technique prepends to a default classpath, and does not&lt;BR /&gt;replace/overwrite it.&lt;BR /&gt;&lt;BR /&gt;To be extra safe though, if you already are using HADOOP_CLASSPATH for&lt;BR /&gt;something else, you may also do it this way:&lt;BR /&gt;&lt;BR /&gt;export HADOOP_CLASSPATH=/path/to/O-9.jar:$HADOOP_CLASSPATH&lt;BR /&gt;export HADOOP_USER_CLASSPATH_FIRST=true&lt;BR /&gt;sqoop …rest of args…&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Nov 2015 08:04:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-Using-two-versions-of-the-same-driver-Oracle-ojdbc6/m-p/33761#M9897</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2015-11-04T08:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: [Sqoop] Using two versions of the same driver - Oracle ojdbc6.jar</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-Using-two-versions-of-the-same-driver-Oracle-ojdbc6/m-p/33762#M9898</link>
      <description>Yes I guessed it.&lt;BR /&gt;So just to be super-safe, according to the last example if it finds a ojdbc6.jar in both paths, it will load the first one and discard the latter, right ?</description>
      <pubDate>Wed, 04 Nov 2015 08:08:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-Using-two-versions-of-the-same-driver-Oracle-ojdbc6/m-p/33762#M9898</guid>
      <dc:creator>omaritec</dc:creator>
      <dc:date>2015-11-04T08:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: [Sqoop] Using two versions of the same driver - Oracle ojdbc6.jar</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-Using-two-versions-of-the-same-driver-Oracle-ojdbc6/m-p/33764#M9899</link>
      <description>Yes, that's been the usual JVM behaviour for class-loaders (pick classes&lt;BR /&gt;from the earliest classpath entry presenting it), so we are effectively&lt;BR /&gt;reordering our classpath to rely on that.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Nov 2015 08:26:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-Using-two-versions-of-the-same-driver-Oracle-ojdbc6/m-p/33764#M9899</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2015-11-04T08:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: [Sqoop] Using two versions of the same driver - Oracle ojdbc6.jar</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-Using-two-versions-of-the-same-driver-Oracle-ojdbc6/m-p/33765#M9900</link>
      <description>Thanks, will let you know.&lt;BR /&gt;Bye</description>
      <pubDate>Wed, 04 Nov 2015 08:52:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-Using-two-versions-of-the-same-driver-Oracle-ojdbc6/m-p/33765#M9900</guid>
      <dc:creator>omaritec</dc:creator>
      <dc:date>2015-11-04T08:52:15Z</dc:date>
    </item>
  </channel>
</rss>

