<?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 import from SQL Server with windows authentication in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158353#M53229</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15790/singhpraveen2010.html" nodeid="15790"&gt;@Praveen Singh&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I am trying to write the data to user home directory, so no problem with the permission.&lt;/P&gt;&lt;P&gt;Sqoop Command:&lt;/P&gt;&lt;P&gt;sqoop import --connect "jdbc:jtds:sqlserver://XXXXXXXXXXXXXXX;domain=NTXXXX;databaseName=XXXX;ServerSpn=XXXXXXXX@realm;authenticationScheme=JavaKerberos" --table data_table --connection-manager org.apache.sqoop.manager.SQLServerManager --driver net.sourceforge.jtds.jdbc.Driver --target-dir /tmp/111 --split-by AR_ID -m 1 -- --schema dbo --user XXXXXX --password 'XXXXXX' --verbose&lt;/P&gt;</description>
    <pubDate>Thu, 09 Feb 2017 17:58:06 GMT</pubDate>
    <dc:creator>rajsyrus</dc:creator>
    <dc:date>2017-02-09T17:58:06Z</dc:date>
    <item>
      <title>sqoop import from SQL Server with windows authentication</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158344#M53220</link>
      <description>&lt;P&gt;I am trying to import a table from Microsoft SQL Server 11.0.5058 through Sqoop (which is a service on Hortonwork Data Platform) into HDFS. Given the user i have, has only windows authentication (LDAP) on SQL Server.


Tried few approaches 

 1. Kept the sqljdbc4.jar in sqoop shared library and used import command.

 2. Downloaded sqljdbc_auth.dll and kept it in java library and tried running import command.
But no luck.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 23:18:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158344#M53220</guid>
      <dc:creator>singhpraveen201</dc:creator>
      <dc:date>2017-02-02T23:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop import from SQL Server with windows authentication</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158345#M53221</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15790/singhpraveen2010.html" nodeid="15790"&gt;@Praveen Singh&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;Sql Server does not support Windows authentication with traditional sqljdbc4.jar on UNIX  flavours. Try the following steps and jtds driver:&lt;/P&gt;&lt;P&gt;1) Download the jtds driver from: &lt;A href="https://sourceforge.net/projects/jtds/files/" target="_blank"&gt;https://sourceforge.net/projects/jtds/files/&lt;/A&gt; (find the FAQ on jtds at &lt;A href="http://jtds.sourceforge.net/faq.html)" target="_blank"&gt;http://jtds.sourceforge.net/faq.html)&lt;/A&gt;&lt;/P&gt;&lt;P&gt; 
2) Copy jtds files to sqoop lib &lt;/P&gt;&lt;P&gt;
3) Use the following connection string template to modify according to your environment and connect:&lt;/P&gt;&lt;PRE&gt;sqoop export --connect "jdbc:jtds:sqlserver://IE11WIN7:1433;useNTLMv2=true;domain=IE11WIN7;databaseName=default_db" --table "test_table_view" --hcatalog-database default --hcatalog-table t1 --columns col2,col3 --connection-manager org.apache.sqoop.manager.SQLServerManager --driver net.sourceforge.jtds.jdbc.Driver --username IEUser --password 'Passw0rd!' --update-mode allowinsert --verbose &lt;/PRE&gt;</description>
      <pubDate>Fri, 03 Feb 2017 10:27:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158345#M53221</guid>
      <dc:creator>ssubhas</dc:creator>
      <dc:date>2017-02-03T10:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop import from SQL Server with windows authentication</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158346#M53222</link>
      <description>&lt;P&gt;Thanks @Sindhu, it worked. I missed defining some of the parameters.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2017 14:01:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158346#M53222</guid>
      <dc:creator>singhpraveen201</dc:creator>
      <dc:date>2017-02-06T14:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop import from SQL Server with windows authentication</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158347#M53223</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/5019/ssubhas.html" nodeid="5019"&gt;@Sindhu&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Will it work with kerberos enabled cluster?, if yes i am using the following query,but still i am facing errors,&lt;/P&gt;&lt;P&gt;sqoop import --connect "jdbc:jtds:sqlserver://XXXXXXXXXXXXXXX;domain=NTXXXX;databaseName=XXXX;ServerSpn=XXXXXXXX@realm;authenticationScheme=JavaKerberos" --table data_table --connection-manager org.apache.sqoop.manager.SQLServerManager --driver net.sourceforge.jtds.jdbc.Driver --target-dir /tmp/111  --split-by AR_ID -m 1 -- --schema dbo --user XXXXXX --password 'XXXXXX' --verbose&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 14:50:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158347#M53223</guid>
      <dc:creator>rajsyrus</dc:creator>
      <dc:date>2017-02-08T14:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop import from SQL Server with windows authentication</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158348#M53224</link>
      <description>&lt;P&gt;Rajendra, you need to first generate a kinit ticket for the user you have logged in from. Once it is kerberos authenticated, then you can fire sqoop query.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 02:35:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158348#M53224</guid>
      <dc:creator>singhpraveen201</dc:creator>
      <dc:date>2017-02-09T02:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop import from SQL Server with windows authentication</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158349#M53225</link>
      <description>&lt;P&gt;MS JDBC driver 4.0 and later allow users to use Java kerberos option with username and password.  But this is different from Integrated Authentication which is not supported where you use the kerberos cluster of hadoop to authenticate with Sql Server as there is no kerberos context in containers&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 03:15:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158349#M53225</guid>
      <dc:creator>vranganathan</dc:creator>
      <dc:date>2017-02-09T03:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop import from SQL Server with windows authentication</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158350#M53226</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15790/singhpraveen2010.html" nodeid="15790"&gt;@Praveen Singh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am generating the ticket and then only i am sqooping. problem is with the delagated token authorization with SQL server i hope, because eval and list-databases are working fine, but map reduced triggered actions like import got failed.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 17:37:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158350#M53226</guid>
      <dc:creator>rajsyrus</dc:creator>
      <dc:date>2017-02-09T17:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop import from SQL Server with windows authentication</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158351#M53227</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/195/vranganathan.html" nodeid="195"&gt;@Venkat Ranganathan&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/81139/sqoop-import-from-sql-server-with-windows-authenti.html#"&gt;
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am using 4.2 driver only, i tried with both integrated and self authentication method, but no success.may be problem is with the delagated token authorization with SQL server i hope, because eval and list-databases are working fine, but map reduced triggered actions like import got failed&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 17:43:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158351#M53227</guid>
      <dc:creator>rajsyrus</dc:creator>
      <dc:date>2017-02-09T17:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop import from SQL Server with windows authentication</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158352#M53228</link>
      <description>&lt;P&gt;@RajendraM
Can you check if your for which you are generating Kinit ticket has &lt;STRONG&gt;permission to write in the directory&lt;/STRONG&gt; which you are specifying in the sqoop import command.

Also if you can share the Sqoop command which you are firing now. &lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 17:47:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158352#M53228</guid>
      <dc:creator>singhpraveen201</dc:creator>
      <dc:date>2017-02-09T17:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop import from SQL Server with windows authentication</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158353#M53229</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15790/singhpraveen2010.html" nodeid="15790"&gt;@Praveen Singh&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I am trying to write the data to user home directory, so no problem with the permission.&lt;/P&gt;&lt;P&gt;Sqoop Command:&lt;/P&gt;&lt;P&gt;sqoop import --connect "jdbc:jtds:sqlserver://XXXXXXXXXXXXXXX;domain=NTXXXX;databaseName=XXXX;ServerSpn=XXXXXXXX@realm;authenticationScheme=JavaKerberos" --table data_table --connection-manager org.apache.sqoop.manager.SQLServerManager --driver net.sourceforge.jtds.jdbc.Driver --target-dir /tmp/111 --split-by AR_ID -m 1 -- --schema dbo --user XXXXXX --password 'XXXXXX' --verbose&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 17:58:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158353#M53229</guid>
      <dc:creator>rajsyrus</dc:creator>
      <dc:date>2017-02-09T17:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop import from SQL Server with windows authentication</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158354#M53230</link>
      <description>&lt;P&gt;sqoop import --table &amp;lt;TableName&amp;gt; --connect "jdbc:jtds:sqlserver://&amp;lt;HostName&amp;gt;:&amp;lt;PortNo&amp;gt;;useNTLMv2=true;domain=&amp;lt;DomainName&amp;gt;;databaseName=&amp;lt;DB_Name&amp;gt;" --connection-manager org.apache.sqoop.manager.SQLServerManager --driver net.sourceforge.jtds.jdbc.Driver --username &amp;lt;WindowsUserName&amp;gt; --password &amp;lt;'********'&amp;gt; --verbose --target-dir &amp;lt;TargetDirectory&amp;gt; -m 1

I think useNTLMv2=true may do the trick. Can you try the above query.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 19:01:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158354#M53230</guid>
      <dc:creator>singhpraveen201</dc:creator>
      <dc:date>2017-02-09T19:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop import from SQL Server with windows authentication</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158355#M53231</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15790/singhpraveen2010.html" nodeid="15790"&gt;@Praveen Singh&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Thanks..!!, your comment helped in narrowing my problem.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 16:44:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158355#M53231</guid>
      <dc:creator>rajsyrus</dc:creator>
      <dc:date>2017-02-10T16:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop import from SQL Server with windows authentication</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158356#M53232</link>
      <description>&lt;P&gt;Here is another option for &lt;A href="https://www.progress.com/blogs/hadoop-sqoop-jdbc-to-sql-server-via-ad-windows-authentication-from-linux"&gt;SQL Server JDBC authentication&lt;/A&gt; on my blog if you are looking for commercial support. Full disclaimer: I do get a paycheck from Progress.&lt;/P&gt;&lt;P&gt;jdbc:datadirect:sqlserver://server1:1433;AuthenticationMethod=ntlmjava;Domain=Americas;User=SUMITS;Password=my_windows_auth_pwd&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 10:01:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158356#M53232</guid>
      <dc:creator>SAsInSumit</dc:creator>
      <dc:date>2017-09-18T10:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop import from SQL Server with windows authentication</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158357#M53233</link>
      <description>&lt;P&gt;Hi &lt;A href="https://community.hortonworks.com/questions/81139/sqoop-import-from-sql-server-with-windows-authenti.html#"&gt;@Sindhu&lt;/A&gt; , &lt;A href="https://community.hortonworks.com/questions/81139/sqoop-import-from-sql-server-with-windows-authenti.html#"&gt;@Praveen Singh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you help on below issue,
&lt;/P&gt;&lt;P&gt;I'm trying to export data into MSSQL Server Windows authentication from hive ,&lt;/P&gt;&lt;P&gt;i placed JTDS Drivers in Sqoop library,&lt;/P&gt;&lt;P&gt;below is my sqoop command,&lt;/P&gt;&lt;P&gt;sqoop export --connect "jdbc:jtds:sqlserver://&amp;lt;Servername&amp;gt;:1433;useNTLMv2=true;domain=&amp;lt;Domain Name&amp;gt;;databaseName=&amp;lt;DataBase name&amp;gt;" --table "&amp;lt;TableName&amp;gt;" --hcatalog-database &amp;lt;HIVE DB&amp;gt; --hcatalog-table &amp;lt;HIVE Table&amp;gt; --connection-manager org.apache.sqoop.manager.SQLServerManager --driver net.sourceforge.jtds.jdbc.Driver --username &amp;lt;SQL UserName&amp;gt; --password '&amp;lt;SQL Password&amp;gt;' --update-mode allowinsert --verbose
&lt;/P&gt;&lt;P&gt;i'm getting the below error:&lt;/P&gt;&lt;P&gt;18/08/27 05:40:33 ERROR tool.ExportTool: Encountered IOException running export job: org.apache.hive.hcatalog.common.HCatException : 2016 : Error operation not supported : Store into a partition with bucket definition from Pig/Mapreduce is not supported&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2018 16:52:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/158357#M53233</guid>
      <dc:creator>jayasimhareddy9</dc:creator>
      <dc:date>2018-08-27T16:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop import from SQL Server with windows authentication</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/284635#M53234</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/38180"&gt;@singhpraveen201&lt;/a&gt;, we tried this but still the error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;sqoop import --connect "jdbc:jtds:sqlserver://xxxxxxxxxx:49200;useNTLMv2=true;domain=xxxxxx;databaseName=ALMACEN" --table "CARTERA.CONTRATOS_GARRA_DIARIA" --target-dir&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;"/xxxxxx/xxxxxx/temp/sqoop_risk" --split-by FECHA_INFORMACION --connection-manager org.apache.sqoop.manager.SQLServerManager --driver net.sourceforge.jtds.jdbc.Driver --username xxxxxx --password 'xxxxxx' --verbose&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;19/12/03 10:00:33 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6-cdh5.14.4&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;19/12/03 10:00:33 DEBUG tool.BaseSqoopTool: Enabled debug logging.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;19/12/03 10:00:33 WARN tool.BaseSqoopTool: Setting your password on the command-line is insecure. Consider using -P instead.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;19/12/03 10:00:33 DEBUG sqoop.ConnFactory: Loaded manager factory: org.apache.sqoop.manager.oracle.OraOopManagerFactory&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;19/12/03 10:00:33 DEBUG sqoop.ConnFactory: Loaded manager factory: com.cloudera.sqoop.manager.DefaultManagerFactory&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;19/12/03 10:00:33 INFO manager.SqlManager: Using default fetchSize of 1000&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;19/12/03 10:00:33 INFO tool.CodeGenTool: Beginning code generation&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;19/12/03 10:00:33 DEBUG manager.SqlManager: Execute getColumnInfoRawQuery : SELECT t.* FROM [CARTERA.CONTRATOS_GARRA_DIARIA] AS t WHERE 1=0&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;19/12/03 10:00:33 DEBUG manager.SqlManager: No connection paramenters specified. Using regular API for making connection.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;19/12/03 10:00:34 ERROR manager.SqlManager: Error executing statement: java.sql.SQLException: Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;java.sql.SQLException: Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:372)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2988)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2421)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at net.sourceforge.jtds.jdbc.TdsCore.login(TdsCore.java:649)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at net.sourceforge.jtds.jdbc.JtdsConnection.&amp;lt;init&amp;gt;(JtdsConnection.java:371)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:184)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at java.sql.DriverManager.getConnection(DriverManager.java:664)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at java.sql.DriverManager.getConnection(DriverManager.java:247)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.sqoop.manager.SqlManager.makeConnection(SqlManager.java:903)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.sqoop.manager.GenericJdbcManager.getConnection(GenericJdbcManager.java:52)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.sqoop.manager.SqlManager.execute(SqlManager.java:762)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.sqoop.manager.SqlManager.execute(SqlManager.java:785)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.sqoop.manager.SqlManager.getColumnInfoForRawQuery(SqlManager.java:288)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.sqoop.manager.SqlManager.getColumnTypesForRawQuery(SqlManager.java:259)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.sqoop.manager.SqlManager.getColumnTypes(SqlManager.java:245)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.sqoop.manager.ConnManager.getColumnTypes(ConnManager.java:333)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.sqoop.orm.ClassWriter.getColumnTypes(ClassWriter.java:1858)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.sqoop.orm.ClassWriter.generate(ClassWriter.java:1657)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.sqoop.tool.CodeGenTool.generateORM(CodeGenTool.java:106)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:494)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:621)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.sqoop.Sqoop.run(Sqoop.java:147)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:183)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.sqoop.Sqoop.runTool(Sqoop.java:234)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.sqoop.Sqoop.runTool(Sqoop.java:243)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.sqoop.Sqoop.main(Sqoop.java:252)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;19/12/03 10:00:34 ERROR tool.ImportTool: Import failed: java.io.IOException: No columns to generate for ClassWriter&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.sqoop.orm.ClassWriter.generate(ClassWriter.java:1663)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.sqoop.tool.CodeGenTool.generateORM(CodeGenTool.java:106)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:494)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:621)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.sqoop.Sqoop.run(Sqoop.java:147)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:183)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.sqoop.Sqoop.runTool(Sqoop.java:234)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.sqoop.Sqoop.runTool(Sqoop.java:243)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;at org.apache.sqoop.Sqoop.main(Sqoop.java:252)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p2"&gt;We use the jtds jar to but we can found a solution. You can help me? Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 13:09:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/284635#M53234</guid>
      <dc:creator>produbanarg</dc:creator>
      <dc:date>2019-12-03T13:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop import from SQL Server with windows authentication</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/336333#M53235</link>
      <description>&lt;P&gt;Will JTDS support&amp;nbsp;MultiSubnetFailover=true? its not working it seems.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 15:21:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/336333#M53235</guid>
      <dc:creator>CN</dc:creator>
      <dc:date>2022-02-15T15:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop import from SQL Server with windows authentication</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/336339#M53236</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/71422"&gt;@CN&lt;/a&gt;&amp;nbsp;As this is an older post, you would have a better chance of receiving a resolution by&lt;A href="“https://community.cloudera.com/t5/forums/postpage/board-id/Questions”" target="_blank"&gt; starting a new thread&lt;/A&gt;. This will also be an opportunity to provide details specific to your environment that could aid others in assisting you with a more accurate answer to your question. You can link this thread as a reference in your new post.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 16:00:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-import-from-SQL-Server-with-windows-authentication/m-p/336339#M53236</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2022-02-15T16:00:43Z</dc:date>
    </item>
  </channel>
</rss>

