Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Solved
Go to solution
Importing Data from TLS enabled Microsoft SQL Server in sqoop
Labels:
- Labels:
-
Apache Sqoop
New Contributor
Created 02-09-2017 08:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Environmnent:
Sqoop version: 1.4.6.2.3.4.23-3 java 1.7
> export SQOOP_USER_CLASSPATH=/data1/jar/sqljdbc4.jar > 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" >sqoop import --libjars /data1/jar --connect jdbc:sqlserver://<hostname>:<portname> --username <user_id> --password ***** --query "SELECT <columns> FROM <table> \$CONDITIONS" --split-by <column1> --target-dir /data/external/survey --fields-terminated-by '|' --verboseError Message:
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".
1 ACCEPTED SOLUTION
New Contributor
Created 02-13-2017 09:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
solution offered by HW: use https://sourceforge.net/projects/jtds/?source=typ_redirect drivers.
1 REPLY 1
New Contributor
Created 02-13-2017 09:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
solution offered by HW: use https://sourceforge.net/projects/jtds/?source=typ_redirect drivers.
