<?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 Connector - HDP 2.5 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Connector-HDP-2-5/m-p/125662#M88406</link>
    <description>&lt;P&gt;Finally it worked!!&lt;/P&gt;&lt;P&gt;For some reason the file was corrupted... i checked it with &lt;STRONG&gt;ls -la nameof.jar &lt;/STRONG&gt;and&lt;STRONG&gt; &lt;/STRONG&gt;do not match with the real size of jar.&lt;/P&gt;&lt;P&gt;So, i downloaded again from microsoft, uploaded to dropbox to get the link (with wget), becauce i could't extract directly via microsoft. and decompressed with &lt;STRONG&gt;tar -xzvf nameof.tar.gz &lt;/STRONG&gt;command. After that, just copy the jar that i need to &lt;STRONG&gt;/usr/hdp/current/sqoop-client/lib, &lt;/STRONG&gt;with the command &lt;STRONG&gt;cp sqljdbc42.jar&lt;/STRONG&gt; &lt;STRONG&gt;/usr/hdp/current/sqoop-client/lib&lt;/STRONG&gt;
&lt;STRONG&gt;&lt;/STRONG&gt;
Thanks for your help
&lt;STRONG&gt;&lt;/STRONG&gt;
&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 26 Feb 2017 01:29:05 GMT</pubDate>
    <dc:creator>fmm_pires</dc:creator>
    <dc:date>2017-02-26T01:29:05Z</dc:date>
    <item>
      <title>Sqoop Connector - HDP 2.5</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Connector-HDP-2-5/m-p/125656#M88400</link>
      <description>&lt;P&gt;Hello guys,

I'm having problems listing databases of SQL Server with the command:&lt;/P&gt;&lt;PRE&gt;sqoop list-databases --connect jdbc:sqlserver://ip:1433/ --username hadoop --password mypassword&lt;/PRE&gt;&lt;P&gt;I'm getting the error: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;Error loading ManagerFactory information from file /usr/hdp/2.5.0.0-1245/sqoop/conf/managers.d/td_connector.txt: java.io.IOException: Could not load jar /usr/hdp/current/sqoop-client/lib/sqljdbc41.jar into JVM&lt;/PRE&gt;
I also tried many other combinations of commands but none of them work.&lt;P&gt;I have 2 jars, the sqljdbc41.jar and sqljdbc42.jar in &lt;STRONG&gt;/usr/hdp/current/sqoop-client/lib/,&lt;/STRONG&gt; and i haved modified the td_connector.txt to:&lt;/P&gt;&lt;PRE&gt;com.microsoft.sqoop.SqlServer.MSSQLServerManagerFactory = /usr/hdp/current/sqoop-client/lib/sqljdbc41.jar&lt;/PRE&gt;&lt;P&gt;What i'm doing wrong, or what am i missing?

Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2017 18:58:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Connector-HDP-2-5/m-p/125656#M88400</guid>
      <dc:creator>fmm_pires</dc:creator>
      <dc:date>2017-02-25T18:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Connector - HDP 2.5</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Connector-HDP-2-5/m-p/125657#M88401</link>
      <description>&lt;P&gt;Can you include only one or the other jar in the lib. What java version is loaded on your cluster? If you are using Java 7 use jdbc41 if Java 8 then use jdbc42. using lower JRE will throw an error. &lt;A href="https://duckduckgo.com/?q=microsoft+jdbc+jar" target="_blank"&gt;https://duckduckgo.com/?q=microsoft+jdbc+jar&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2017 20:50:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Connector-HDP-2-5/m-p/125657#M88401</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2017-02-25T20:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Connector - HDP 2.5</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Connector-HDP-2-5/m-p/125658#M88402</link>
      <description>&lt;P&gt;I have version 8 of Java, and i removed now the jdbc41 but i'm getting the same error...
What shoud i have in td_connector.txt?

Thanks &lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2017 22:20:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Connector-HDP-2-5/m-p/125658#M88402</guid>
      <dc:creator>fmm_pires</dc:creator>
      <dc:date>2017-02-25T22:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Connector - HDP 2.5</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Connector-HDP-2-5/m-p/125659#M88403</link>
      <description>&lt;P&gt;Can you try without the file all together? Also want to make sure the jar in that file reference sqljdbc42 not 41 as your example.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2017 22:26:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Connector-HDP-2-5/m-p/125659#M88403</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2017-02-25T22:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Connector - HDP 2.5</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Connector-HDP-2-5/m-p/125660#M88404</link>
      <description>&lt;P&gt;So, with file mentioning sqljdbc42 i got the same error.
Without the file, i have less errors as described in the image.
&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/12999-error.png"&gt;error.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2017 23:15:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Connector-HDP-2-5/m-p/125660#M88404</guid>
      <dc:creator>fmm_pires</dc:creator>
      <dc:date>2017-02-25T23:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Connector - HDP 2.5</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Connector-HDP-2-5/m-p/125661#M88405</link>
      <description>&lt;P&gt;Make sure your file is readable and complete, meaning you downloaded the jdbc jar correctly. Also try using --driver com.microsoft.sqlserver.jdbc.SQLServerDriver and --direct &lt;/P&gt;&lt;P&gt;That should improve performance&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2017 23:36:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Connector-HDP-2-5/m-p/125661#M88405</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2017-02-25T23:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Connector - HDP 2.5</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Connector-HDP-2-5/m-p/125662#M88406</link>
      <description>&lt;P&gt;Finally it worked!!&lt;/P&gt;&lt;P&gt;For some reason the file was corrupted... i checked it with &lt;STRONG&gt;ls -la nameof.jar &lt;/STRONG&gt;and&lt;STRONG&gt; &lt;/STRONG&gt;do not match with the real size of jar.&lt;/P&gt;&lt;P&gt;So, i downloaded again from microsoft, uploaded to dropbox to get the link (with wget), becauce i could't extract directly via microsoft. and decompressed with &lt;STRONG&gt;tar -xzvf nameof.tar.gz &lt;/STRONG&gt;command. After that, just copy the jar that i need to &lt;STRONG&gt;/usr/hdp/current/sqoop-client/lib, &lt;/STRONG&gt;with the command &lt;STRONG&gt;cp sqljdbc42.jar&lt;/STRONG&gt; &lt;STRONG&gt;/usr/hdp/current/sqoop-client/lib&lt;/STRONG&gt;
&lt;STRONG&gt;&lt;/STRONG&gt;
Thanks for your help
&lt;STRONG&gt;&lt;/STRONG&gt;
&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2017 01:29:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Connector-HDP-2-5/m-p/125662#M88406</guid>
      <dc:creator>fmm_pires</dc:creator>
      <dc:date>2017-02-26T01:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Connector - HDP 2.5</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Connector-HDP-2-5/m-p/125663#M88407</link>
      <description>&lt;P&gt;Excellent, please mark the answer as accepted to close the thread. &lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2017 02:20:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Connector-HDP-2-5/m-p/125663#M88407</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2017-02-26T02:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Connector - HDP 2.5</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Connector-HDP-2-5/m-p/125664#M88408</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393" target="_blank"&gt;@Artem Ervits&lt;/A&gt; and &lt;A rel="user" href="https://community.cloudera.com/users/16281/fmmpires.html" nodeid="16281" target="_blank"&gt;@Francisco Pires&lt;/A&gt;, &lt;BR /&gt;I am facing the same problem. I am using the ambari-sandbox on VmWare. &lt;BR /&gt;I have downloaded sqljdbc.jar on my windows and then copy it to /usr/local by using WinSCP.&lt;BR /&gt;then i try to copy this jar file to &lt;STRONG&gt;/usr/hdp/current/sqoop-client/lib &lt;/STRONG&gt;so i got an error &lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Copy command: &lt;/STRONG&gt;&lt;BR /&gt;[root@sandbox-hdp local]# cp /usr/local/sqljdbc42.jar /usr/hdp/current/sqoop-client/lib &lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Error:&lt;/STRONG&gt;&lt;BR /&gt;cp: cannot stat `/usr/local/sqljdbc42.jar': No such file or directory&lt;/P&gt;&lt;P&gt;As you can see that sqljdbc42.jar is available in /usr/local folder... &lt;BR /&gt;Please help me out&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="64495-capture.jpg" style="width: 1371px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22672iC7368F969D8BB04B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="64495-capture.jpg" alt="64495-capture.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 10:08:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Connector-HDP-2-5/m-p/125664#M88408</guid>
      <dc:creator>mohsin_aqee2392</dc:creator>
      <dc:date>2019-08-19T10:08:34Z</dc:date>
    </item>
  </channel>
</rss>

