<?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 sqoop list-databases error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-list-databases-error/m-p/78038#M81515</link>
    <description>&lt;P&gt;desabv@xxxxx:~#&amp;gt; sqoop list-databases --connect "jdbc:jtds:sqlserver://xxxxx.com:1433" --connection-manager org.apache.sqoop.manager.SQLServerManager --driver net.sourceforge.jtds.jdbc.Driver --username desabv -P&lt;BR /&gt;Warning: /sso/sfw/cloudera/parcels/CDH-5.14.0-1.cdh5.14.0.p0.24/bin/../lib/sqoop/../accumulo does not exist! Accumulo imports will fail.&lt;BR /&gt;Please set $ACCUMULO_HOME to the root of your Accumulo installation.&lt;BR /&gt;18/08/02 15:03:27 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6-cdh5.14.0&lt;BR /&gt;Enter password:&lt;BR /&gt;18/08/02 15:03:34 INFO manager.SqlManager: Using default fetchSize of 1000&lt;BR /&gt;18/08/02 15:03:35 ERROR manager.CatalogQueryManager: Failed to list databases&lt;BR /&gt;java.sql.SQLException: I/O Error: DB server closed connection.&lt;BR /&gt;at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2481)&lt;BR /&gt;at net.sourceforge.jtds.jdbc.TdsCore.login(TdsCore.java:632)&lt;BR /&gt;at net.sourceforge.jtds.jdbc.JtdsConnection.&amp;lt;init&amp;gt;(JtdsConnection.java:371)&lt;BR /&gt;at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:184)&lt;BR /&gt;at java.sql.DriverManager.getConnection(DriverManager.java:571)&lt;BR /&gt;at java.sql.DriverManager.getConnection(DriverManager.java:215)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help anyone&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 13:32:42 GMT</pubDate>
    <dc:creator>desind</dc:creator>
    <dc:date>2022-09-16T13:32:42Z</dc:date>
    <item>
      <title>sqoop list-databases error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-list-databases-error/m-p/78038#M81515</link>
      <description>&lt;P&gt;desabv@xxxxx:~#&amp;gt; sqoop list-databases --connect "jdbc:jtds:sqlserver://xxxxx.com:1433" --connection-manager org.apache.sqoop.manager.SQLServerManager --driver net.sourceforge.jtds.jdbc.Driver --username desabv -P&lt;BR /&gt;Warning: /sso/sfw/cloudera/parcels/CDH-5.14.0-1.cdh5.14.0.p0.24/bin/../lib/sqoop/../accumulo does not exist! Accumulo imports will fail.&lt;BR /&gt;Please set $ACCUMULO_HOME to the root of your Accumulo installation.&lt;BR /&gt;18/08/02 15:03:27 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6-cdh5.14.0&lt;BR /&gt;Enter password:&lt;BR /&gt;18/08/02 15:03:34 INFO manager.SqlManager: Using default fetchSize of 1000&lt;BR /&gt;18/08/02 15:03:35 ERROR manager.CatalogQueryManager: Failed to list databases&lt;BR /&gt;java.sql.SQLException: I/O Error: DB server closed connection.&lt;BR /&gt;at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2481)&lt;BR /&gt;at net.sourceforge.jtds.jdbc.TdsCore.login(TdsCore.java:632)&lt;BR /&gt;at net.sourceforge.jtds.jdbc.JtdsConnection.&amp;lt;init&amp;gt;(JtdsConnection.java:371)&lt;BR /&gt;at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:184)&lt;BR /&gt;at java.sql.DriverManager.getConnection(DriverManager.java:571)&lt;BR /&gt;at java.sql.DriverManager.getConnection(DriverManager.java:215)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help anyone&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 13:32:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-list-databases-error/m-p/78038#M81515</guid>
      <dc:creator>desind</dc:creator>
      <dc:date>2022-09-16T13:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop list-databases error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-list-databases-error/m-p/78087#M81516</link>
      <description>&lt;P&gt;Based on the error i think t&lt;SPAN&gt;he SQL Server uses an SSL connection and a valid client certificate is required to communicate with the SQL Server.Contact your sql admin for this . Once you have the certificate the error should go off .&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Aug 2018 16:35:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-list-databases-error/m-p/78087#M81516</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2018-08-04T16:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop list-databases error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-list-databases-error/m-p/78197#M81517</link>
      <description>&lt;P&gt;Yes I think you are right.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Logs from SQL Server&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Date 8/7/2018 2:26:24 PM Log SQL Server (Current - 8/7/2018 2:26:00 PM) Source Logon Message Encryption is required to connect to this server but the client library does not support encryption; the connection has been closed. Please upgrade your client library. [CLIENT: 149.173.90.36]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So is there a client library that supports encryption&amp;nbsp; for JTDS?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 18:53:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-list-databases-error/m-p/78197#M81517</guid>
      <dc:creator>desind</dc:creator>
      <dc:date>2018-08-07T18:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop list-databases error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-list-databases-error/m-p/78338#M81518</link>
      <description>&lt;P&gt;The solution would be to use an updated client library that supports SSL. The one you download from the site does not support connecting to an encrypted MS SQL DB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So for others who try to Sqoop to MS SQL server , this is what i used. Download the updated one from here . &lt;A href="https://sourceforge.net/p/jtds/bugs/725/&amp;nbsp;" target="_blank"&gt;https://sourceforge.net/p/jtds/bugs/725/&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sqoop import --connect "jdbc:jtds:&lt;/SPAN&gt;&lt;A href="sqlserver://dig148aw.vsp.sas.com:1433;databaseName=taleo;domain=vsp.sas.com;useNTLMv2=true;integratedSecurity=true;authenticationScheme=JavaKerberos;ssl=authenticate" target="_blank"&gt;sqlserver://xxx.xxxx.xxx.xxx:1433;databaseName=abcd;domain=xxx.xxx.xxx;useNTLMv2=true;integratedSecurity=true;authenticationScheme=JavaKerberos;ssl=authenticate&lt;/A&gt;&lt;SPAN&gt;" --driver net.sourceforge.jtds.jdbc.Driver --connection-manager org.apache.sqoop.manager.SQLServerManager --username "desind" -P --fields-terminated-by "\001" --query "&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;select Number_, Active FROM dwh_14a.Currency WHERE \$CONDITIONS" --split-by 'Number_' --target-dir /tmp/test --fetch-size 10000 -m1&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 14:46:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-list-databases-error/m-p/78338#M81518</guid>
      <dc:creator>desind</dc:creator>
      <dc:date>2018-08-10T14:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop list-databases error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-list-databases-error/m-p/277575#M81519</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using below sqoop import command. But facing with exception.&lt;/P&gt;&lt;P&gt;sqoop import -Dhadoop.security.credential.provider.path=jceks://hdfs/DataDomains/HDPReports/credentials/credentials.jceks --connect "jdbc:jtds:sqlserver://xx.xx.xx.xx:17001;useNTLMv2=true;domain=bfab01.local" --connection-manager org.apache.sqoop.manager.SQLServerManager --driver net.sourceforge.jtds.jdbc.Driver --verbose --query 'Select * from APS_CONN_TEST.dbo.ConnTest WHERE $CONDITIONS' --target-dir /user/admvxb/sqoopimport1 --split-by ConnTestId --username ******* --password '******' -- --schema dbo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exception&lt;/P&gt;&lt;P&gt;========&lt;/P&gt;&lt;P&gt;19/09/18 14:50:51 ERROR manager.SqlManager: Error executing statement: java.sql.SQLException: Client driver version is not supported.&lt;BR /&gt;java.sql.SQLException: Client driver version is not supported.&lt;BR /&gt;at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:372)&lt;BR /&gt;at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2988)&lt;BR /&gt;at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2421)&lt;BR /&gt;at net.sourceforge.jtds.jdbc.TdsCore.login(TdsCore.java:649)&lt;BR /&gt;at net.sourceforge.jtds.jdbc.JtdsConnection.&amp;lt;init&amp;gt;(JtdsConnection.java:371)&lt;BR /&gt;at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:184)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 04:56:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-list-databases-error/m-p/277575#M81519</guid>
      <dc:creator>venkatesh_reddy</dc:creator>
      <dc:date>2019-09-18T04:56:36Z</dc:date>
    </item>
  </channel>
</rss>

