<?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: Error Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient - while trying in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/89240#M37738</link>
    <description>&lt;P&gt;Getting same issue after installing ojdbc driver for oracle.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2024 05:48:54 GMT</pubDate>
    <dc:creator>prashasinghal</dc:creator>
    <dc:date>2024-09-10T05:48:54Z</dc:date>
    <item>
      <title>Error Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient - while trying to create database</title>
      <link>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25579#M17816</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I get the org.apache.spark.sql.AnalysisException: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient while trying to create a database &lt;/P&gt;&lt;P&gt;scripts used&lt;/P&gt;&lt;P&gt;%sql&lt;/P&gt;&lt;P&gt;USE hive_metastore;&lt;/P&gt;&lt;P&gt;CREATE DATABASE&amp;nbsp;XYZ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%sql&lt;/P&gt;&lt;P&gt;CREATE DATABASE&amp;nbsp;XYZ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%sql&lt;/P&gt;&lt;P&gt;CREATE DATABASE&amp;nbsp;hive_metastore.XYZ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the warehouse seems to be in started state&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1313i268709D99BE43AFE/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1312i5C09E80DE248D6B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cluster details&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1307i5EA27B2061752AB0/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 11:55:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25579#M17816</guid>
      <dc:creator>Karthig</dc:creator>
      <dc:date>2022-10-27T11:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient - while trying to create database</title>
      <link>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25580#M17817</link>
      <description>&lt;P&gt;Hi @Karthigesan Vijayakumar​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great to meet you, and thanks for your question!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's see if your peers in the community have an answer to your question first. Or else bricksters will get back to you soon. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 06:50:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25580#M17817</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-28T06:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient - while trying to create database</title>
      <link>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25581#M17818</link>
      <description>&lt;P&gt;I have run into the same issue, any update on this issue?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 10:54:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25581#M17818</guid>
      <dc:creator>Mentens</dc:creator>
      <dc:date>2022-12-14T10:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient - while trying to create database</title>
      <link>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25582#M17819</link>
      <description>&lt;P&gt;Same issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Starting about one month ago, we've been getting those error on jobs/workflows that have been running successfully for years, &lt;B&gt;&lt;I&gt;without any code change&lt;/I&gt;&lt;/B&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No idea what is causing it, or how to fix, but it seems like adding a sleep/pause at the beginning of the notebook is helping... so maybe something is taking a while to initialize on the cluster. 🤷‍&lt;span class="lia-unicode-emoji" title=":male_sign:"&gt;♂️&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jobs are running on DBR 10.4 LTS (includes Apache Spark 3.2.1, Scala 2.12).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In our case, it's hard to debug, because we're using pyspark, and:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;/databricks/spark/python/lib/py4j-0.10.9.1-src.zip/py4j/java_gateway.py in __call__(self, *args)
   1302 
   1303         answer = self.gateway_client.send_command(command)
-&amp;gt; 1304         return_value = get_return_value(
   1305             answer, self.gateway_client, self.target_id, self.name)
   1306 
&amp;nbsp;
/databricks/spark/python/pyspark/sql/utils.py in deco(*a, **kw)
    121                 # Hide where the exception came from that shows a non-Pythonic
    122                 # JVM exception message.
--&amp;gt; 123                 raise converted from None
    124             else:
    125                 raise
&amp;nbsp;
AnalysisException: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 16:10:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25582#M17819</guid>
      <dc:creator>mroy</dc:creator>
      <dc:date>2022-12-14T16:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient - while trying to create database</title>
      <link>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25583#M17820</link>
      <description>&lt;P&gt;please let us know if you got any solution for this issue&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 10:47:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25583#M17820</guid>
      <dc:creator>Vijaykumarj</dc:creator>
      <dc:date>2022-12-20T10:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient - while trying to create database</title>
      <link>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25584#M17821</link>
      <description>&lt;P&gt;@Vijay Kumar J​: So far, adding a sleep/pause at the top of the notebook has been the only thing that works:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;# Sleep/Pause for 2 minutes, to give the Hive Catalog time to initialize.
import time
time.sleep(120)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It has reduced the errors by 99%. We still get them occasionally, so maybe a longer pause would be enough to handle that last 1%.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 15:51:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25584#M17821</guid>
      <dc:creator>mroy</dc:creator>
      <dc:date>2022-12-20T15:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient - while trying to create database</title>
      <link>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25585#M17822</link>
      <description>&lt;P&gt;Tried but same error, I also tried creating manually using UI but same error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTTP ERROR: 500&lt;/P&gt;&lt;P&gt;Problem accessing /import/new-table. Reason:&lt;/P&gt;&lt;P&gt;    com.databricks.backend.common.rpc.SparkDriverExceptions$SQLExecutionException: org.apache.spark.sql.AnalysisException: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 03:13:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25585#M17822</guid>
      <dc:creator>Vijaykumarj</dc:creator>
      <dc:date>2022-12-21T03:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient - while trying to create database</title>
      <link>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25586#M17823</link>
      <description>&lt;P&gt;Our issue is resolved it was related to a firewall that was blocking us to perform certain commands&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 10:08:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25586#M17823</guid>
      <dc:creator>Mentens</dc:creator>
      <dc:date>2022-12-21T10:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient - while trying to create database</title>
      <link>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25587#M17824</link>
      <description>&lt;P&gt;Got the same issue with both UI and notebook.&amp;nbsp;Tried with sleep/pause at the top of the notebook but didn't work. Please let me know if you got any other solution for this issue.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 13:07:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25587#M17824</guid>
      <dc:creator>Srividya1</dc:creator>
      <dc:date>2023-01-03T13:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient - while trying to create database</title>
      <link>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25588#M17825</link>
      <description>&lt;P&gt;Facing the same error. Any updates on this ?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 18:38:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25588#M17825</guid>
      <dc:creator>addy</dc:creator>
      <dc:date>2023-02-02T18:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient - while trying to create database</title>
      <link>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25589#M17826</link>
      <description>&lt;P&gt;This issue is getting worse: it's happening more often, and persisting for longer periods of time. It's getting harder &amp;amp; harder to work around it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;I&gt;Please do something.&lt;/I&gt;&lt;/B&gt; The error is clearly not on the customers' side.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Feb 2023 17:01:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25589#M17826</guid>
      <dc:creator>mroy</dc:creator>
      <dc:date>2023-02-18T17:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient - while trying to create database</title>
      <link>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25590#M17827</link>
      <description>&lt;P&gt;Still no solution. Pausing the script is only a stopgap measure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is on Databrick's side, there's nothing we can do about it, and it seems to be getting worse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Vidula Khanna​: Any feedback from Databricks on this?&lt;/P&gt;</description>
      <pubDate>Sat, 18 Feb 2023 17:06:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25590#M17827</guid>
      <dc:creator>mroy</dc:creator>
      <dc:date>2023-02-18T17:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient - while trying to create database</title>
      <link>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25591#M17828</link>
      <description>&lt;P&gt;Alright, we've implemented a workaround for this, and so far it's been working very well:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;First, we created a reusable notebook to wait until Hive has been initialized (see code below).&lt;/LI&gt;&lt;LI&gt;We then execute this notebook using the %run command at the top of any notebook which is encountering the Hive issue.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;import time
&amp;nbsp;
retries = 0
max_retries = 10
while True:
  try:
    # Use this table to check if Hive is ready, since it's very small &amp;amp; all in 1 file
    table("database.small_table")
    break
  except Exception as e:
    if retries == max_retries:
      raise e
      
    retries += 1
    print(f"Hive is not initialized yet. Retrying in 60 seconds. (Retry #{retries})")
    time.sleep(60)
    
print("Hive is initialized!")&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;And here is what the output looks like:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1314i8635577847F35CC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 20:23:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25591#M17828</guid>
      <dc:creator>mroy</dc:creator>
      <dc:date>2023-02-21T20:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient - while trying to create database</title>
      <link>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25592#M17829</link>
      <description>&lt;P&gt;Alright, good news! We've had one job fail after the 10 maximum retries, and it ended up producing a much more complete stack trace than the single `AnalysisException` we typically get.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tl;dr: It seems like the underlying issue (in our case, at least), is &lt;B&gt;too many connections to the Hive metastore&lt;/B&gt;, which is basically a MariaDB instance hosted by Databricks. &lt;A href="https://community.databricks.com/s/question/0D53f00001cg0ZgCAI/how-can-i-avoid-this-javasqlsqlexception-too-many-connections-error" alt="https://community.databricks.com/s/question/0D53f00001cg0ZgCAI/how-can-i-avoid-this-javasqlsqlexception-too-many-connections-error" target="_blank"&gt;This answer provides some context behind the error&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The full stack trace is attached below, where we can see that the originating exception (at the bottom) is an &lt;B&gt;SQLException&lt;/B&gt; due to &lt;B&gt;too many connections&lt;/B&gt;, in the &lt;B&gt;org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol&lt;/B&gt; package. Here is the snippet:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Caused by: java.sql.SQLException: Too many connections
	at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.authentication(AbstractConnectProtocol.java:856)
	at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.handleConnectionPhases(AbstractConnectProtocol.java:777)
	at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connect(AbstractConnectProtocol.java:451)
	at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connectWithoutProxy(AbstractConnectProtocol.java:1103)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This, along with the original &lt;B&gt;HiveMetaStoreClient &lt;/B&gt;exception, pretty much confirms that the root cause of the issue is indeed &lt;B&gt;too many connections to the Hive metastore&lt;/B&gt; (the MariaDB instance).&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 03:15:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/25592#M17829</guid>
      <dc:creator>mroy</dc:creator>
      <dc:date>2023-02-23T03:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient - while trying</title>
      <link>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/78115#M35468</link>
      <description>&lt;P&gt;That's exactly my case!&lt;/P&gt;&lt;P&gt;This is what I saw in `databricks bundle run my_job`:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;AnalysisException: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;And this is what I found in the&amp;nbsp;Log4j output of the cluster:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Caused by: org.datanucleus.exceptions.NucleusException: Attempt to invoke the "HikariCP" plugin to create a ConnectionPool gave an error : Failed to initialize pool: Could not connect to address=(host=consolidated-northeuropec2-prod-metastore-0.mysql.database.azure.com)(port=3306)(type=master) : Could not connect to consolidated-northeuropec2-prod-metastore-0.mysql.database.azure.com:3306 : Connection reset
	at org.datanucleus.store.rdbms.ConnectionFactoryImpl.generateDataSources(ConnectionFactoryImpl.java:232)
	at org.datanucleus.store.rdbms.ConnectionFactoryImpl.initialiseDataSources(ConnectionFactoryImpl.java:117)
	at org.datanucleus.store.rdbms.ConnectionFactoryImpl.&amp;lt;init&amp;gt;(ConnectionFactoryImpl.java:82)
	... 123 more
Caused by: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Could not connect to address=(host=consolidated-northeuropec2-prod-metastore-0.mysql.database.azure.com)(port=3306)(type=master) : Could not connect to consolidated-northeuropec2-prod-metastore-0.mysql.database.azure.com:3306 : Connection reset
	at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:512)
	at com.zaxxer.hikari.pool.HikariPool.&amp;lt;init&amp;gt;(HikariPool.java:105)
	at com.zaxxer.hikari.HikariDataSource.&amp;lt;init&amp;gt;(HikariDataSource.java:71)
	at org.datanucleus.store.rdbms.connectionpool.HikariCPConnectionPoolFactory.createConnectionPool(HikariCPConnectionPoolFactory.java:176)
	at org.datanucleus.store.rdbms.ConnectionFactoryImpl.generateDataSources(ConnectionFactoryImpl.java:213)
	... 125 more
Caused by: java.sql.SQLNonTransientConnectionException: Could not connect to address=(host=consolidated-northeuropec2-prod-metastore-0.mysql.database.azure.com)(port=3306)(type=master) : Could not connect to consolidated-northeuropec2-prod-metastore-0.mysql.database.azure.com:3306 : Connection reset
	at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.createException(ExceptionFactory.java:73)
	at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.create(ExceptionFactory.java:197)
	at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connectWithoutProxy(AbstractConnectProtocol.java:1404)
	at org.mariadb.jdbc.internal.util.Utils.retrieveProxy(Utils.java:635)
	at org.mariadb.jdbc.MariaDbConnection.newConnection(MariaDbConnection.java:150)
	at org.mariadb.jdbc.Driver.connect(Driver.java:89)
	at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:95)
	at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:101)
	at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:341)
	at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:506)
	... 129 more
Caused by: java.sql.SQLNonTransientConnectionException: Could not connect to consolidated-northeuropec2-prod-metastore-0.mysql.database.azure.com:3306 : Connection reset
	at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.createException(ExceptionFactory.java:73)
	at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.create(ExceptionFactory.java:188)
	at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.createConnection(AbstractConnectProtocol.java:588)
	at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connectWithoutProxy(AbstractConnectProtocol.java:1399)
	... 136 more
Caused by: java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:210)
	at java.net.SocketInputStream.read(SocketInputStream.java:141)
	at java.io.FilterInputStream.read(FilterInputStream.java:133)
	at org.mariadb.jdbc.internal.io.input.ReadAheadBufferedStream.fillBuffer(ReadAheadBufferedStream.java:131)
	at org.mariadb.jdbc.internal.io.input.ReadAheadBufferedStream.read(ReadAheadBufferedStream.java:104)
	at org.mariadb.jdbc.internal.io.input.StandardPacketInputStream.getPacketArray(StandardPacketInputStream.java:247)
	at org.mariadb.jdbc.internal.io.input.StandardPacketInputStream.getPacket(StandardPacketInputStream.java:218)
	at org.mariadb.jdbc.internal.com.read.ReadInitialHandShakePacket.&amp;lt;init&amp;gt;(ReadInitialHandShakePacket.java:89)
	at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.createConnection(AbstractConnectProtocol.java:540)
	... 137 more&lt;/LI-CODE&gt;&lt;P&gt;consolidated-northeuropec2-prod-metastore-0.mysql.database.azure.com:3306 is mentioned in &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/release-notes/product/2022/january#additional-metastores-are-now-available-in-multiple-regions" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/release-notes/product/2022/january#additional-metastores-are-now-available-in-multiple-regions&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 13:49:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/78115#M35468</guid>
      <dc:creator>JacekLaskowski</dc:creator>
      <dc:date>2024-07-10T13:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient - while trying</title>
      <link>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/89240#M37738</link>
      <description>&lt;P&gt;Getting same issue after installing ojdbc driver for oracle.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 05:48:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-unable-to-instantiate-org-apache-hadoop-hive-metastore/m-p/89240#M37738</guid>
      <dc:creator>prashasinghal</dc:creator>
      <dc:date>2024-09-10T05:48:54Z</dc:date>
    </item>
  </channel>
</rss>

