<?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: i am trying to load data from sqlserver to hive and getting an error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-am-trying-to-load-data-from-sqlserver-to-hive-and-getting/m-p/102088#M14683</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/186/sshaw.html" nodeid="186"&gt;@Scott Shaw&lt;/A&gt; thank you so much for providing me the link of the tutorials ,i followed the steps in tutorial and now got an error&lt;/P&gt;&lt;P&gt;[root@sandbox ~]# sqoop list-databases --connect jdbc:sqlserver://192.168.137.1:1433 --username hadoop1 --password hadoop1&lt;/P&gt;&lt;P&gt;Warning: /usr/hdp/2.3.2.0-2950/accumulo does not exist! Accumulo imports will fail.
Please set $ACCUMULO_HOME to the root of your Accumulo installation.
16/01/14 10:01:37 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6.2.3.2.0-2950
16/01/14 10:01:37 WARN tool.BaseSqoopTool: Setting your password on the command-line is insecure. Consider using -P instead.
16/01/14 10:01:44 INFO manager.SqlManager: Using default fetchSize of 1000
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/hdp/2.3.2.0-2950/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/hdp/2.3.2.0-2950/zookeeper/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See &lt;A href="http://www.slf4j.org/codes.html#multiple_bindings" target="_blank"&gt;http://www.slf4j.org/codes.html#multiple_bindings&lt;/A&gt; for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
16/01/14 10:02:14 ERROR manager.CatalogQueryManager: Failed to list databases
com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host 192.168.137.1, port 1433 has failed. Error: "connect timed out. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".
   at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:190)
   at com.microsoft.sqlserver.jdbc.SQLServerException.ConvertConnectExceptionToSQLServerException(SQLServerException.java:241)
   at com.microsoft.sqlserver.jdbc.SocketFinder.findSocket(IOBuffer.java:2243)
   at com.microsoft.sqlserver.jdbc.TDSChannel.open(IOBuffer.java:491)
   at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:1309)
   at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:991)
   at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:827)
   at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:1012)
   at java.sql.DriverManager.getConnection(DriverManager.java:571)
   at java.sql.DriverManager.getConnection(DriverManager.java:215)
   at org.apache.sqoop.manager.SqlManager.makeConnection(SqlManager.java:885)
   at org.apache.sqoop.manager.GenericJdbcManager.getConnection(GenericJdbcManager.java:52)
   at org.apache.sqoop.manager.CatalogQueryManager.listDatabases(CatalogQueryManager.java:57)
   at org.apache.sqoop.tool.ListDatabasesTool.run(ListDatabasesTool.java:49)
   at org.apache.sqoop.Sqoop.run(Sqoop.java:148)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
   at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:184)
   at org.apache.sqoop.Sqoop.runTool(Sqoop.java:226)
   at org.apache.sqoop.Sqoop.runTool(Sqoop.java:235)
   at org.apache.sqoop.Sqoop.main(Sqoop.java:244)
16/01/14 10:02:14 ERROR sqoop.Sqoop: Got exception running Sqoop: java.lang.RuntimeException: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host 192.168.137.1, port 1433 has failed. Error: "connect timed out. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".
java.lang.RuntimeException: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host 192.168.137.1, port 1433 has failed. Error: "connect timed out. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".
   at org.apache.sqoop.manager.CatalogQueryManager.listDatabases(CatalogQueryManager.java:73)
   at org.apache.sqoop.tool.ListDatabasesTool.run(ListDatabasesTool.java:49)
   at org.apache.sqoop.Sqoop.run(Sqoop.java:148)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
   at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:184)
   at org.apache.sqoop.Sqoop.runTool(Sqoop.java:226)
   at org.apache.sqoop.Sqoop.runTool(Sqoop.java:235)
   at org.apache.sqoop.Sqoop.main(Sqoop.java:244)
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host 192.168.137.1, port 1433 has failed. Error: "connect timed out. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".
   at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:190)
   at com.microsoft.sqlserver.jdbc.SQLServerException.ConvertConnectExceptionToSQLServerException(SQLServerException.java:241)
   at com.microsoft.sqlserver.jdbc.SocketFinder.findSocket(IOBuffer.java:2243)
   at com.microsoft.sqlserver.jdbc.TDSChannel.open(IOBuffer.java:491)
   at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:1309)
   at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:991)
   at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:827)
   at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:1012)
   at java.sql.DriverManager.getConnection(DriverManager.java:571)
   at java.sql.DriverManager.getConnection(DriverManager.java:215)
   at org.apache.sqoop.manager.SqlManager.makeConnection(SqlManager.java:885)
   at org.apache.sqoop.manager.GenericJdbcManager.getConnection(GenericJdbcManager.java:52)
   at org.apache.sqoop.manager.CatalogQueryManager.listDatabases(CatalogQueryManager.java:57)&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jan 2016 12:42:52 GMT</pubDate>
    <dc:creator>abhi9508</dc:creator>
    <dc:date>2016-01-14T12:42:52Z</dc:date>
    <item>
      <title>i am trying to load data from sqlserver to hive and getting an error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-am-trying-to-load-data-from-sqlserver-to-hive-and-getting/m-p/102086#M14681</link>
      <description>&lt;P&gt;while i use the command &lt;/P&gt;&lt;P&gt;sqoop list-databases --connect jdbc:sqlserver://192.168.56.1:1433 --username hadoop --password hadoop1 --driver com.microsoft.sqlserver.SQLServerDriver &lt;/P&gt;&lt;P&gt;i get error&lt;/P&gt;&lt;P&gt;ERROR manager.sqlmanager :generic Sqlmanager.listdatabases() not implemented ,&lt;/P&gt;&lt;P&gt;ERROR tool.ListDatabasesTool: manager.ListDatabases() returned null&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:56:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-am-trying-to-load-data-from-sqlserver-to-hive-and-getting/m-p/102086#M14681</guid>
      <dc:creator>abhi9508</dc:creator>
      <dc:date>2022-09-16T09:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: i am trying to load data from sqlserver to hive and getting an error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-am-trying-to-load-data-from-sqlserver-to-hive-and-getting/m-p/102087#M14682</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2048/abhi9508.html" nodeid="2048"&gt;@abhishek shah&lt;/A&gt; you'll need to use the correct driver and place it in the sqoop lib directory. Follow these instructions&lt;/P&gt;&lt;P&gt;&lt;A href="http://hortonworks.com/hadoop-tutorial/import-microsoft-sql-server-hortonworks-sandbox-using-sqoop/" target="_blank"&gt;http://hortonworks.com/hadoop-tutorial/import-microsoft-sql-server-hortonworks-sandbox-using-sqoop/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Once you do this you won't need to use the --driver command&lt;/P&gt;&lt;P&gt;sqoop list-databases --connect jdbc:sqlserver://192.168.56.1:1433 --username hadoop --password hadoop1&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2016 23:07:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-am-trying-to-load-data-from-sqlserver-to-hive-and-getting/m-p/102087#M14682</guid>
      <dc:creator>SQLShaw</dc:creator>
      <dc:date>2016-01-11T23:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: i am trying to load data from sqlserver to hive and getting an error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-am-trying-to-load-data-from-sqlserver-to-hive-and-getting/m-p/102088#M14683</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/186/sshaw.html" nodeid="186"&gt;@Scott Shaw&lt;/A&gt; thank you so much for providing me the link of the tutorials ,i followed the steps in tutorial and now got an error&lt;/P&gt;&lt;P&gt;[root@sandbox ~]# sqoop list-databases --connect jdbc:sqlserver://192.168.137.1:1433 --username hadoop1 --password hadoop1&lt;/P&gt;&lt;P&gt;Warning: /usr/hdp/2.3.2.0-2950/accumulo does not exist! Accumulo imports will fail.
Please set $ACCUMULO_HOME to the root of your Accumulo installation.
16/01/14 10:01:37 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6.2.3.2.0-2950
16/01/14 10:01:37 WARN tool.BaseSqoopTool: Setting your password on the command-line is insecure. Consider using -P instead.
16/01/14 10:01:44 INFO manager.SqlManager: Using default fetchSize of 1000
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/hdp/2.3.2.0-2950/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/hdp/2.3.2.0-2950/zookeeper/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See &lt;A href="http://www.slf4j.org/codes.html#multiple_bindings" target="_blank"&gt;http://www.slf4j.org/codes.html#multiple_bindings&lt;/A&gt; for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
16/01/14 10:02:14 ERROR manager.CatalogQueryManager: Failed to list databases
com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host 192.168.137.1, port 1433 has failed. Error: "connect timed out. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".
   at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:190)
   at com.microsoft.sqlserver.jdbc.SQLServerException.ConvertConnectExceptionToSQLServerException(SQLServerException.java:241)
   at com.microsoft.sqlserver.jdbc.SocketFinder.findSocket(IOBuffer.java:2243)
   at com.microsoft.sqlserver.jdbc.TDSChannel.open(IOBuffer.java:491)
   at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:1309)
   at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:991)
   at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:827)
   at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:1012)
   at java.sql.DriverManager.getConnection(DriverManager.java:571)
   at java.sql.DriverManager.getConnection(DriverManager.java:215)
   at org.apache.sqoop.manager.SqlManager.makeConnection(SqlManager.java:885)
   at org.apache.sqoop.manager.GenericJdbcManager.getConnection(GenericJdbcManager.java:52)
   at org.apache.sqoop.manager.CatalogQueryManager.listDatabases(CatalogQueryManager.java:57)
   at org.apache.sqoop.tool.ListDatabasesTool.run(ListDatabasesTool.java:49)
   at org.apache.sqoop.Sqoop.run(Sqoop.java:148)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
   at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:184)
   at org.apache.sqoop.Sqoop.runTool(Sqoop.java:226)
   at org.apache.sqoop.Sqoop.runTool(Sqoop.java:235)
   at org.apache.sqoop.Sqoop.main(Sqoop.java:244)
16/01/14 10:02:14 ERROR sqoop.Sqoop: Got exception running Sqoop: java.lang.RuntimeException: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host 192.168.137.1, port 1433 has failed. Error: "connect timed out. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".
java.lang.RuntimeException: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host 192.168.137.1, port 1433 has failed. Error: "connect timed out. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".
   at org.apache.sqoop.manager.CatalogQueryManager.listDatabases(CatalogQueryManager.java:73)
   at org.apache.sqoop.tool.ListDatabasesTool.run(ListDatabasesTool.java:49)
   at org.apache.sqoop.Sqoop.run(Sqoop.java:148)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
   at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:184)
   at org.apache.sqoop.Sqoop.runTool(Sqoop.java:226)
   at org.apache.sqoop.Sqoop.runTool(Sqoop.java:235)
   at org.apache.sqoop.Sqoop.main(Sqoop.java:244)
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host 192.168.137.1, port 1433 has failed. Error: "connect timed out. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".
   at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:190)
   at com.microsoft.sqlserver.jdbc.SQLServerException.ConvertConnectExceptionToSQLServerException(SQLServerException.java:241)
   at com.microsoft.sqlserver.jdbc.SocketFinder.findSocket(IOBuffer.java:2243)
   at com.microsoft.sqlserver.jdbc.TDSChannel.open(IOBuffer.java:491)
   at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:1309)
   at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:991)
   at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:827)
   at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:1012)
   at java.sql.DriverManager.getConnection(DriverManager.java:571)
   at java.sql.DriverManager.getConnection(DriverManager.java:215)
   at org.apache.sqoop.manager.SqlManager.makeConnection(SqlManager.java:885)
   at org.apache.sqoop.manager.GenericJdbcManager.getConnection(GenericJdbcManager.java:52)
   at org.apache.sqoop.manager.CatalogQueryManager.listDatabases(CatalogQueryManager.java:57)&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2016 12:42:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-am-trying-to-load-data-from-sqlserver-to-hive-and-getting/m-p/102088#M14683</guid>
      <dc:creator>abhi9508</dc:creator>
      <dc:date>2016-01-14T12:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: i am trying to load data from sqlserver to hive and getting an error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-am-trying-to-load-data-from-sqlserver-to-hive-and-getting/m-p/102089#M14684</link>
      <description>&lt;P&gt;check your firewall settings &lt;A rel="user" href="https://community.cloudera.com/users/2048/abhi9508.html" nodeid="2048"&gt;@abhishek shah&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2016 12:44:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-am-trying-to-load-data-from-sqlserver-to-hive-and-getting/m-p/102089#M14684</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-01-14T12:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: i am trying to load data from sqlserver to hive and getting an error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-am-trying-to-load-data-from-sqlserver-to-hive-and-getting/m-p/102090#M14685</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2048/abhi9508.html" nodeid="2048"&gt;@abhishek shah&lt;/A&gt;&lt;P&gt;from sandbox&lt;/P&gt;&lt;P&gt;$ telnet 192.168.137.1  1433&lt;/P&gt;&lt;P&gt;See if you are able to connect. It looks like you are having an connection error. &lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2016 12:48:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-am-trying-to-load-data-from-sqlserver-to-hive-and-getting/m-p/102090#M14685</guid>
      <dc:creator>sdutta</dc:creator>
      <dc:date>2016-01-14T12:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: i am trying to load data from sqlserver to hive and getting an error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-am-trying-to-load-data-from-sqlserver-to-hive-and-getting/m-p/102091#M14686</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/137/sdutta.html" nodeid="137"&gt;@Shivaji&lt;/A&gt; and &lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I disabled my firewall settings on windows and centos , my telnet query failed earlier so i edited my vm settings and now i am able to view my databases &lt;/P&gt;&lt;P&gt;Thank you so much guys&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2016 14:13:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-am-trying-to-load-data-from-sqlserver-to-hive-and-getting/m-p/102091#M14686</guid>
      <dc:creator>abhi9508</dc:creator>
      <dc:date>2016-01-14T14:13:16Z</dc:date>
    </item>
  </channel>
</rss>

