<?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 Importing Data from TLS enabled Microsoft SQL Server in sqoop in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Importing-Data-from-TLS-enabled-Microsoft-SQL-Server-in/m-p/168594#M53945</link>
    <description>&lt;P&gt;Cannot connect to SQL Server after database is upgraded from SSL to TLS 1.2. Same without HADOOP_OPTS was working fine with no issues earlier with SSL&lt;/P&gt;&lt;P&gt;Environmnent:&lt;/P&gt;&lt;P&gt;Sqoop version: 1.4.6.2.3.4.23-3
java 1.7&lt;/P&gt;&lt;PRE&gt;&amp;gt; export SQOOP_USER_CLASSPATH=/data1/jar/sqljdbc4.jar
&amp;gt; export HADOOP_OPTS="-Ddeployment.security.SSLv2Hello=false -Ddeployment.security.SSLv3=false -Ddeployment.security.TLSv1=false -Ddeployment.security.TLSv1.1=true -Ddeployment.security.TLSv1.2=true -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2"

&amp;gt;sqoop import --libjars /data1/jar --connect jdbc:sqlserver://&amp;lt;hostname&amp;gt;:&amp;lt;portname&amp;gt; --username &amp;lt;user_id&amp;gt; --password ***** --query "SELECT &amp;lt;columns&amp;gt; FROM &amp;lt;table&amp;gt;  \$CONDITIONS"  --split-by &amp;lt;column1&amp;gt; --target-dir /data/external/survey --fields-terminated-by '|' --verbose

&lt;/PRE&gt;
Error Message:&lt;PRE&gt;ERROR manager.SqlManager: Error executing statement: com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secr: "SQL Server did not return a response. The connection has been closed. ClientConnectionId:cbed7e62-1f12-42cf-956d-1a3548b44aa8".&lt;/PRE&gt;</description>
    <pubDate>Fri, 10 Feb 2017 04:00:10 GMT</pubDate>
    <dc:creator>nitesh_rentam</dc:creator>
    <dc:date>2017-02-10T04:00:10Z</dc:date>
    <item>
      <title>Importing Data from TLS enabled Microsoft SQL Server in sqoop</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Importing-Data-from-TLS-enabled-Microsoft-SQL-Server-in/m-p/168594#M53945</link>
      <description>&lt;P&gt;Cannot connect to SQL Server after database is upgraded from SSL to TLS 1.2. Same without HADOOP_OPTS was working fine with no issues earlier with SSL&lt;/P&gt;&lt;P&gt;Environmnent:&lt;/P&gt;&lt;P&gt;Sqoop version: 1.4.6.2.3.4.23-3
java 1.7&lt;/P&gt;&lt;PRE&gt;&amp;gt; export SQOOP_USER_CLASSPATH=/data1/jar/sqljdbc4.jar
&amp;gt; export HADOOP_OPTS="-Ddeployment.security.SSLv2Hello=false -Ddeployment.security.SSLv3=false -Ddeployment.security.TLSv1=false -Ddeployment.security.TLSv1.1=true -Ddeployment.security.TLSv1.2=true -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2"

&amp;gt;sqoop import --libjars /data1/jar --connect jdbc:sqlserver://&amp;lt;hostname&amp;gt;:&amp;lt;portname&amp;gt; --username &amp;lt;user_id&amp;gt; --password ***** --query "SELECT &amp;lt;columns&amp;gt; FROM &amp;lt;table&amp;gt;  \$CONDITIONS"  --split-by &amp;lt;column1&amp;gt; --target-dir /data/external/survey --fields-terminated-by '|' --verbose

&lt;/PRE&gt;
Error Message:&lt;PRE&gt;ERROR manager.SqlManager: Error executing statement: com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secr: "SQL Server did not return a response. The connection has been closed. ClientConnectionId:cbed7e62-1f12-42cf-956d-1a3548b44aa8".&lt;/PRE&gt;</description>
      <pubDate>Fri, 10 Feb 2017 04:00:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Importing-Data-from-TLS-enabled-Microsoft-SQL-Server-in/m-p/168594#M53945</guid>
      <dc:creator>nitesh_rentam</dc:creator>
      <dc:date>2017-02-10T04:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Data from TLS enabled Microsoft SQL Server in sqoop</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Importing-Data-from-TLS-enabled-Microsoft-SQL-Server-in/m-p/168595#M53946</link>
      <description>&lt;P&gt;solution offered by HW: use &lt;A href="https://sourceforge.net/projects/jtds/?source=typ_redirect" target="_blank"&gt;https://sourceforge.net/projects/jtds/?source=typ_redirect&lt;/A&gt; drivers.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 05:59:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Importing-Data-from-TLS-enabled-Microsoft-SQL-Server-in/m-p/168595#M53946</guid>
      <dc:creator>nitesh_rentam</dc:creator>
      <dc:date>2017-02-14T05:59:32Z</dc:date>
    </item>
  </channel>
</rss>

