<?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>topic Re: JDCB Error trying a get schemas call. in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/jdcb-error-trying-a-get-schemas-call/m-p/131446#M49092</link>
    <description>&lt;P&gt;the posting rules are axing out the whole strings, so here's a short view of the parameters at the end:&lt;/P&gt;&lt;P&gt;Tried these as well:&lt;/P&gt;&lt;DIV&gt;&lt;A href="http://adb-3421891622900168.8.azuredatabricks.net:443/default;transportMode=http;ssl=1;AuthMech=3;httpPath=/sql/1.0/warehouses/5d58b44612c6560a;loginTimeout=600" target="_blank" rel="noopener"&gt;loginTimeout=600&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://adb-3421891622900168.8.azuredatabricks.net:443/default;transportMode=http;ssl=1;AuthMech=3;httpPath=/sql/1.0/warehouses/5d58b44612c6560a;useNativeQuery=1;loginTimeout=600" target="_blank" rel="noopener"&gt;useNativeQuery=1;loginTimeout=600&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Tue, 09 Sep 2025 17:08:32 GMT</pubDate>
    <dc:creator>JeffSeaman</dc:creator>
    <dc:date>2025-09-09T17:08:32Z</dc:date>
    <item>
      <title>JDCB Error trying a get schemas call.</title>
      <link>https://community.databricks.com/t5/data-engineering/jdcb-error-trying-a-get-schemas-call/m-p/131294#M49030</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;I have a free demo version and can create a jdbc connection and get metadata (schema, table, and columns structure info).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything works as described in the docs, but when working with someone who has a paid version of databricks the same code isn't working. Their admin can see the jdbc connection in the logs and it's a successful connection.&lt;/P&gt;&lt;P&gt;This is the error trace:&lt;/P&gt;&lt;P&gt;[Databricks][JDBCDriver](500594) Error calling GetSchemas API call. Error code from server: 0. Error message from server: TStatus(statusCode:ERROR_STATUS, infoMessages:[*org.apache.hive.service.cli.HiveSQLException:Error&lt;BR /&gt;operating GET_SCHEMAS The TCP/IP connection to the host 10.202.34.40, 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.".:168:167, org.apache.spark.sql.hive.thriftserver.HiveThriftServerErrors$:hiveOperatingError:HiveThriftServerErrors.scala:67, org.apache.spark.sql.hive.thriftserver.HiveThriftServerErrors$:hiveOperatingError:HiveThriftServerErrors.scala:61, org.apache.spark.sql.hive.thriftserver.SparkAsyncOperation$$anonfun$onError$1:applyOrElse:SparkAsyncOperation.scala:210, org.apache.spark.sql.hive.thriftserver.SparkAsyncOperation$$anonfun$onError$1...&lt;/P&gt;&lt;P&gt;To me that looks like databricks can't access its own hive store. I know this other person uses the unity store though. Maybe the hive message isn't related?&lt;/P&gt;&lt;P&gt;I've tried every jdbc url parameter I could find using every combination of options I could think of.&lt;/P&gt;&lt;P&gt;Anyone know what's going on?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Sep 2025 20:25:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/jdcb-error-trying-a-get-schemas-call/m-p/131294#M49030</guid>
      <dc:creator>JeffSeaman</dc:creator>
      <dc:date>2025-09-08T20:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: JDCB Error trying a get schemas call.</title>
      <link>https://community.databricks.com/t5/data-engineering/jdcb-error-trying-a-get-schemas-call/m-p/131300#M49033</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Root Cause of Error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Different Metastores&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Your free demo workspace uses the Hive Metastore by default.&lt;/LI&gt;&lt;LI&gt;The paid workspace uses Unity Catalog.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Corrective Solution&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Connect via Databricks SQL Warehouse&lt;/P&gt;&lt;P&gt;Use the JDBC endpoint from a SQL Warehouse (not the legacy Hive thrift server).&lt;/P&gt;&lt;P&gt;Example URL:&lt;/P&gt;&lt;P&gt;jdbc:databricks://&amp;lt;workspace-host&amp;gt;:443/default;transportMode=http;ssl=1;httpPath=/sql/1.0/warehouses/&amp;lt;warehouse-id&amp;gt;;AuthMech=3;UID=token;PWD=&amp;lt;personal-access-token&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Use the Official Databricks JDBC Driver&lt;/P&gt;&lt;P&gt;Download from Databricks docs.&lt;/P&gt;&lt;P&gt;Don’t use generic Hive/Spark JDBC drivers.&lt;/P&gt;&lt;P&gt;Verify Unity Catalog Permissions&lt;/P&gt;&lt;P&gt;The user running JDBC must have:&lt;/P&gt;&lt;P&gt;GRANT USE CATALOG ON CATALOG &amp;lt;catalog&amp;gt; TO `&amp;lt;user&amp;gt;`;&lt;BR /&gt;GRANT USE SCHEMA ON SCHEMA &amp;lt;catalog&amp;gt;.&amp;lt;schema&amp;gt; TO `&amp;lt;user&amp;gt;`;&lt;/P&gt;&lt;P&gt;Without these, getSchemas() will fail even on the right endpoint.&lt;/P&gt;&lt;P&gt;Test with Basic Queries&lt;/P&gt;&lt;P&gt;Run:&lt;/P&gt;&lt;P&gt;SHOW CATALOGS;&lt;BR /&gt;SHOW SCHEMAS IN &amp;lt;catalog&amp;gt;;&lt;BR /&gt;SHOW TABLES IN &amp;lt;catalog&amp;gt;.&amp;lt;schema&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If these succeed, JDBC + Unity Catalog is configured correctly.&lt;/P&gt;&lt;P&gt;Let me know if the above works, and if you find this useful pls mark as an accepted solution&lt;/P&gt;</description>
      <pubDate>Mon, 08 Sep 2025 20:38:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/jdcb-error-trying-a-get-schemas-call/m-p/131300#M49033</guid>
      <dc:creator>ManojkMohan</dc:creator>
      <dc:date>2025-09-08T20:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: JDCB Error trying a get schemas call.</title>
      <link>https://community.databricks.com/t5/data-engineering/jdcb-error-trying-a-get-schemas-call/m-p/131305#M49035</link>
      <description>&lt;P&gt;Thank you for the quick reply, but I've done all the mentioned steps, including the grants. I got the url base from the SQL Warehouses menu -&amp;gt; Connection details. We are using token auth. (AuthMech=3) ssl is on and transport mode is http.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Sep 2025 21:08:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/jdcb-error-trying-a-get-schemas-call/m-p/131305#M49035</guid>
      <dc:creator>JeffSeaman</dc:creator>
      <dc:date>2025-09-08T21:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: JDCB Error trying a get schemas call.</title>
      <link>https://community.databricks.com/t5/data-engineering/jdcb-error-trying-a-get-schemas-call/m-p/131307#M49037</link>
      <description>&lt;P&gt;Next Steps&lt;BR /&gt;Confirm and switch your compute (SQL Warehouse)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Upgrade the Databricks SQL Warehouse to at least Databricks Runtime 13.3 LTS&lt;/P&gt;&lt;P&gt;Restart the SQL Warehouse after any major configuration changes, especially after attaching to Unity Catalog.&lt;/P&gt;&lt;P&gt;Test with basic queries after these changes:&lt;/P&gt;&lt;P&gt;SHOW CATALOGS;&lt;BR /&gt;SHOW CATALOGS;&lt;/P&gt;&lt;P&gt;SHOW SCHEMAS IN &amp;lt;catalog&amp;gt;;&lt;BR /&gt;SHOW SCHEMAS IN &amp;lt;catalog&amp;gt;;&lt;/P&gt;&lt;P&gt;SHOW TABLES IN &amp;lt;catalog&amp;gt;.&amp;lt;schema&amp;gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If these steps do not resolve the issue, detailed driver logs and checking edge cases with different user accounts&lt;/P&gt;</description>
      <pubDate>Mon, 08 Sep 2025 21:17:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/jdcb-error-trying-a-get-schemas-call/m-p/131307#M49037</guid>
      <dc:creator>ManojkMohan</dc:creator>
      <dc:date>2025-09-08T21:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: JDCB Error trying a get schemas call.</title>
      <link>https://community.databricks.com/t5/data-engineering/jdcb-error-trying-a-get-schemas-call/m-p/131445#M49091</link>
      <description>&lt;P&gt;Tried these as well:&lt;/P&gt;&lt;DIV&gt;&amp;lt;redacted&amp;gt;&lt;A href="http://adb-3421891622900168.8.azuredatabricks.net:443/default;transportMode=http;ssl=1;AuthMech=3;httpPath=/sql/1.0/warehouses/5d58b44612c6560a;loginTimeout=600" target="_blank" rel="noopener"&gt;.azuredatabricks.net:443/default;transportMode=http;ssl=1;AuthMech=3;httpPath=/sql/1.0/warehouses&amp;lt;redacted&amp;gt;;loginTimeout=600&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;redacted&amp;gt;&lt;A href="http://adb-3421891622900168.8.azuredatabricks.net:443/default;transportMode=http;ssl=1;AuthMech=3;httpPath=/sql/1.0/warehouses/5d58b44612c6560a;useNativeQuery=1;loginTimeout=600" target="_blank" rel="noopener"&gt;.azuredatabricks.net:443/default;transportMode=http;ssl=1;AuthMech=3;httpPath=/sql/1.0/warehouses/&amp;lt;redacted&amp;gt;;useNativeQuery=1;loginTimeout=600&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Same errors without specifying the catalog, which I was thinking may have forced a hive check instead of a unity check.&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Sep 2025 17:07:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/jdcb-error-trying-a-get-schemas-call/m-p/131445#M49091</guid>
      <dc:creator>JeffSeaman</dc:creator>
      <dc:date>2025-09-09T17:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: JDCB Error trying a get schemas call.</title>
      <link>https://community.databricks.com/t5/data-engineering/jdcb-error-trying-a-get-schemas-call/m-p/131446#M49092</link>
      <description>&lt;P&gt;the posting rules are axing out the whole strings, so here's a short view of the parameters at the end:&lt;/P&gt;&lt;P&gt;Tried these as well:&lt;/P&gt;&lt;DIV&gt;&lt;A href="http://adb-3421891622900168.8.azuredatabricks.net:443/default;transportMode=http;ssl=1;AuthMech=3;httpPath=/sql/1.0/warehouses/5d58b44612c6560a;loginTimeout=600" target="_blank" rel="noopener"&gt;loginTimeout=600&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://adb-3421891622900168.8.azuredatabricks.net:443/default;transportMode=http;ssl=1;AuthMech=3;httpPath=/sql/1.0/warehouses/5d58b44612c6560a;useNativeQuery=1;loginTimeout=600" target="_blank" rel="noopener"&gt;useNativeQuery=1;loginTimeout=600&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Sep 2025 17:08:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/jdcb-error-trying-a-get-schemas-call/m-p/131446#M49092</guid>
      <dc:creator>JeffSeaman</dc:creator>
      <dc:date>2025-09-09T17:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: JDCB Error trying a get schemas call.</title>
      <link>https://community.databricks.com/t5/data-engineering/jdcb-error-trying-a-get-schemas-call/m-p/133404#M49833</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/183494"&gt;@JeffSeaman&lt;/a&gt;&amp;nbsp;, I did some digging in our internal docs and a found a few things for you to consider/research:&lt;/P&gt;
&lt;P&gt;The most likely root cause has something to do with SQL Server Connectivity issues.&lt;/P&gt;
&lt;P class="qt3gz91 paragraph"&gt;The central error describes a TCP timeout to &lt;CODE class="qt3gz9f"&gt;10.202.34.40:1433&lt;/CODE&gt;, which is the classic port for SQL Server:&lt;/P&gt;
&lt;UL class="qt3gz97 qt3gz92"&gt;
&lt;LI class="qt3gz9a"&gt;This &lt;EM&gt;strongly&lt;/EM&gt; indicates that the Databricks compute resource (cluster or SQL warehouse) cannot reach the desired SQL Server endpoint—potentially due to network, routing, firewall, or SQL Server configuration issues.&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;This is not an indicator of a Databricks metastore (Hive or Unity Catalog) outage or problem, but rather an inability of Databricks to initiate a connection to the &lt;EM&gt;remote&lt;/EM&gt; SQL Server.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="qt3gz91 paragraph"&gt;This aligns precisely with general troubleshooting guidance for JDBC connection timeouts, including:&lt;/P&gt;
&lt;UL class="qt3gz97 qt3gz92"&gt;
&lt;LI class="qt3gz9a"&gt;Verifying that the remote SQL Server is running and listening at the IP/port specified.&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;Confirming firewall rules (on the Databricks side, the SQL Server VM(s), or any intermediate network device) are not blocking TCP/1433.&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;Ensuring NAT, routing, or private link rules are configured for connectivity if using private endpoints/VNET architectures.&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;Making sure JDBC URL parameters are compatible, especially in environments with custom SSL/certificates or required authentication mechanisms.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Are you trying to connect from Free Edition to SQL Server or SQL Server to Free Edition?&lt;/P&gt;
&lt;P&gt;Let me know, Louis.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 19:57:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/jdcb-error-trying-a-get-schemas-call/m-p/133404#M49833</guid>
      <dc:creator>Louis_Frolio</dc:creator>
      <dc:date>2025-09-30T19:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: JDCB Error trying a get schemas call.</title>
      <link>https://community.databricks.com/t5/data-engineering/jdcb-error-trying-a-get-schemas-call/m-p/133474#M49856</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/183494"&gt;@JeffSeaman&lt;/a&gt;&amp;nbsp;,&amp;nbsp;please let us know if any of my suggestions help get you on the right track. If they do, kindly mark the post as "Accepted Solution" so others can benefit as well.&lt;/P&gt;
&lt;P&gt;Cheers, Louis.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Oct 2025 14:45:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/jdcb-error-trying-a-get-schemas-call/m-p/133474#M49856</guid>
      <dc:creator>Louis_Frolio</dc:creator>
      <dc:date>2025-10-01T14:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: JDCB Error trying a get schemas call.</title>
      <link>https://community.databricks.com/t5/data-engineering/jdcb-error-trying-a-get-schemas-call/m-p/133500#M49864</link>
      <description>&lt;P&gt;The problem was an offline custom endpoint. It wasn't part of our metadata scan as we were specifying a specific catalog and schema, but if any part of your instance is down, the jdbc driver will fail the metadata call. The solution was to create a service account that wasn't assigned to that endpoint. I know I'm getting some of the terminology mixed up, but that's the general idea.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Oct 2025 20:02:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/jdcb-error-trying-a-get-schemas-call/m-p/133500#M49864</guid>
      <dc:creator>JeffSeaman</dc:creator>
      <dc:date>2025-10-01T20:02:05Z</dc:date>
    </item>
  </channel>
</rss>

