<?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 spark.sql() is suddenly giving an error &amp;quot;Unable to instantiate org.apache.hadoop.hive.metastore.Hive in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/spark-sql-is-suddenly-giving-an-error-quot-unable-to-instantiate/m-p/81672#M36391</link>
    <description>&lt;P&gt;spark.sql() is suddenly giving an error "Unable to instantiate org.apache.hadoop.hive.metastore.Hive&lt;SPAN&gt;MetaStoreClient" on databricks jobs and python scripts that worked last month.&amp;nbsp; No local changes on my end.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;What could be the cause of this and what should I be looking at?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Traceback (most recent call last): File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt; File "/home/mbarlett/projects/ds-pipelines/.venv/lib/python3.10/site-packages/pyspark/sql/connect/session.py", line 503, in sql data, properties = self.client.execute_command(cmd.command(self._client)) File "/home/mbarlett/projects/ds-pipelines/.venv/lib/python3.10/site-packages/pyspark/sql/connect/client/core.py", line 892, in execute_command data, _, _, _, properties = self._execute_and_fetch(req) File "/home/mbarlett/projects/ds-pipelines/.venv/lib/python3.10/site-packages/pyspark/sql/connect/client/core.py", line 1172, in _execute_and_fetch for response in self._execute_and_fetch_as_iterator(req): File "/home/mbarlett/projects/ds-pipelines/.venv/lib/python3.10/site-packages/pyspark/sql/connect/client/core.py", line 1153, in _execute_and_fetch_as_iterator self._handle_error(error) File "/home/mbarlett/projects/ds-pipelines/.venv/lib/python3.10/site-packages/pyspark/sql/connect/client/core.py", line 1308, in _handle_error self._handle_rpc_error(error) File "/home/mbarlett/projects/ds-pipelines/.venv/lib/python3.10/site-packages/pyspark/sql/connect/client/core.py", line 1344, in _handle_rpc_error raise convert_exception(info, status.message) from None pyspark.errors.exceptions.connect.AnalysisException: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Aug 2024 15:29:48 GMT</pubDate>
    <dc:creator>copper-carrot</dc:creator>
    <dc:date>2024-08-02T15:29:48Z</dc:date>
    <item>
      <title>spark.sql() is suddenly giving an error "Unable to instantiate org.apache.hadoop.hive.metastore.Hive</title>
      <link>https://community.databricks.com/t5/data-engineering/spark-sql-is-suddenly-giving-an-error-quot-unable-to-instantiate/m-p/81672#M36391</link>
      <description>&lt;P&gt;spark.sql() is suddenly giving an error "Unable to instantiate org.apache.hadoop.hive.metastore.Hive&lt;SPAN&gt;MetaStoreClient" on databricks jobs and python scripts that worked last month.&amp;nbsp; No local changes on my end.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;What could be the cause of this and what should I be looking at?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Traceback (most recent call last): File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt; File "/home/mbarlett/projects/ds-pipelines/.venv/lib/python3.10/site-packages/pyspark/sql/connect/session.py", line 503, in sql data, properties = self.client.execute_command(cmd.command(self._client)) File "/home/mbarlett/projects/ds-pipelines/.venv/lib/python3.10/site-packages/pyspark/sql/connect/client/core.py", line 892, in execute_command data, _, _, _, properties = self._execute_and_fetch(req) File "/home/mbarlett/projects/ds-pipelines/.venv/lib/python3.10/site-packages/pyspark/sql/connect/client/core.py", line 1172, in _execute_and_fetch for response in self._execute_and_fetch_as_iterator(req): File "/home/mbarlett/projects/ds-pipelines/.venv/lib/python3.10/site-packages/pyspark/sql/connect/client/core.py", line 1153, in _execute_and_fetch_as_iterator self._handle_error(error) File "/home/mbarlett/projects/ds-pipelines/.venv/lib/python3.10/site-packages/pyspark/sql/connect/client/core.py", line 1308, in _handle_error self._handle_rpc_error(error) File "/home/mbarlett/projects/ds-pipelines/.venv/lib/python3.10/site-packages/pyspark/sql/connect/client/core.py", line 1344, in _handle_rpc_error raise convert_exception(info, status.message) from None pyspark.errors.exceptions.connect.AnalysisException: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 15:29:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/spark-sql-is-suddenly-giving-an-error-quot-unable-to-instantiate/m-p/81672#M36391</guid>
      <dc:creator>copper-carrot</dc:creator>
      <dc:date>2024-08-02T15:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: spark.sql() is suddenly giving an error "Unable to instantiate org.apache.hadoop.hive.metas</title>
      <link>https://community.databricks.com/t5/data-engineering/spark-sql-is-suddenly-giving-an-error-quot-unable-to-instantiate/m-p/82060#M36500</link>
      <description>&lt;P&gt;I am not aware of any recent changes and don't know what changes might solicit this sort of error.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 14:43:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/spark-sql-is-suddenly-giving-an-error-quot-unable-to-instantiate/m-p/82060#M36500</guid>
      <dc:creator>copper-carrot</dc:creator>
      <dc:date>2024-08-06T14:43:07Z</dc:date>
    </item>
  </channel>
</rss>

