<?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: Databricks SQL cannot Communicate With External Hive Metastore  which runs on Postgre SQL in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/databricks-sql-cannot-communicate-with-external-hive-metastore/m-p/17185#M613</link>
    <description>&lt;P&gt;For me, it looks like a schema problem of external hive metastore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try to add option "spark.sql.hive.metastore.schema.verification false" (or tryu to update schema)&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jun 2022 17:36:43 GMT</pubDate>
    <dc:creator>Hubert-Dudek</dc:creator>
    <dc:date>2022-06-20T17:36:43Z</dc:date>
    <item>
      <title>Databricks SQL cannot Communicate With External Hive Metastore  which runs on Postgre SQL</title>
      <link>https://community.databricks.com/t5/data-governance/databricks-sql-cannot-communicate-with-external-hive-metastore/m-p/17182#M610</link>
      <description>&lt;P&gt;I have created a premium cluster on Azure site. There were no problem Data Science and Engineering (DSAE) while i was binding Postgre SQL hive metastore. I have done all settings via Global init Scripts from Admin Console.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when I try to adjust same setting for Databricks SQL, I am getting Error: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The setting as written below(Data Access Configuration). I cannot see any other logs from Databricks SQL, I cannot sniff any other causes.  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;spark.hadoop.fs.azure.account.auth.type.DataLake.dfs.core.windows.net OAuth
spark.hadoop.fs.azure.account.oauth.provider.type.DataLake.dfs.core.windows.net org.apache.hadoop.fs.azurebfs.oauth2.ClientCredsTokenProvider
spark.hadoop.fs.azure.account.oauth2.client.id.DataLake.dfs.core.windows.net {{secrets/Veloxity/VeloxityDateLakeApplicationID}}
spark.hadoop.fs.azure.account.oauth2.client.secret.DataLake.dfs.core.windows.net {{secrets/Veloxity/VeloxityDataLakeSecretID}}
spark.hadoop.fs.azure.account.oauth2.client.endpoint.DataLake.dfs.core.windows.net &lt;A href="https://login.microsoftonline.com/{{secrets/Veloxity/VeloxityTenantID}}/oauth2/token" target="test_blank"&gt;https://login.microsoftonline.com/{{secrets/Veloxity/VeloxityTenantID}}/oauth2/token&lt;/A&gt;
spark.hadoop.javax.jdo.option.ConnectionURL jdbc:postgresql://#########.postgres.database.azure.com:5432/databricks_metastore?ssl=true
spark.hadoop.javax.jdo.option.ConnectionUserName ########@##########.postgres.database.azure.com
spark.hadoop.javax.jdo.option.ConnectionPassword #########
spark.hadoop.javax.jdo.option.ConnectionDriverName org.postgresql.Driver
spark.sql.hive.metastore.jars maven
spark.sql.hive.metastore.version 3.1.0
spark.hadoop.datanucleus.fixedDatastore false
spark.hadoop.hive.metastore.schema.verification false&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I have read question written by &amp;nbsp;@[&lt;A href="https://community.databricks.com/s/profile/0053f000000WLyTAAW" alt="https://community.databricks.com/s/profile/0053f000000WLyTAAW" target="_blank"&gt;prasadvaze&lt;/A&gt;]&amp;nbsp; and answers from @Prabakar Ammeappin​&amp;nbsp; however i could not find solution yet. I have change "..metastore.jar  maven" or tried to update version nothing has worked yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help me ?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 09:06:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/databricks-sql-cannot-communicate-with-external-hive-metastore/m-p/17182#M610</guid>
      <dc:creator>saltuk</dc:creator>
      <dc:date>2022-06-20T09:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks SQL cannot Communicate With External Hive Metastore  which runs on Postgre SQL</title>
      <link>https://community.databricks.com/t5/data-governance/databricks-sql-cannot-communicate-with-external-hive-metastore/m-p/17183#M611</link>
      <description>&lt;P&gt;Hello @saltuk bozok​&amp;nbsp; &lt;/P&gt;&lt;P&gt;Are you by any chance using serverless SQL Endpoints?&lt;/P&gt;&lt;P&gt;&lt;A href="https://databricks.com/blog/2021/08/30/announcing-databricks-serverless-sql.html" target="test_blank"&gt;https://databricks.com/blog/2021/08/30/announcing-databricks-serverless-sql.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some confs are not supported on Serverless Endpoints as mentioned here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/sql/admin/data-access-configuration.html" target="test_blank"&gt;https://docs.databricks.com/sql/admin/data-access-configuration.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;spark.sql.hive.metastore.* (&lt;B&gt;spark.sql.hive.metastore.jars and spark.sql.hive.metastore.jars.path are unsupported for Serverless SQL endpoints.&lt;/B&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 11:18:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/databricks-sql-cannot-communicate-with-external-hive-metastore/m-p/17183#M611</guid>
      <dc:creator>User16764241763</dc:creator>
      <dc:date>2022-06-20T11:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks SQL cannot Communicate With External Hive Metastore  which runs on Postgre SQL</title>
      <link>https://community.databricks.com/t5/data-governance/databricks-sql-cannot-communicate-with-external-hive-metastore/m-p/17184#M612</link>
      <description>&lt;P&gt;hi @Arvind Ravish​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not using serverless SQL endpoints. I did not implement BI tools and the option is not show up on my admin console.&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/1771i54D5F6852809C938/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 12:52:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/databricks-sql-cannot-communicate-with-external-hive-metastore/m-p/17184#M612</guid>
      <dc:creator>saltuk</dc:creator>
      <dc:date>2022-06-20T12:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks SQL cannot Communicate With External Hive Metastore  which runs on Postgre SQL</title>
      <link>https://community.databricks.com/t5/data-governance/databricks-sql-cannot-communicate-with-external-hive-metastore/m-p/17185#M613</link>
      <description>&lt;P&gt;For me, it looks like a schema problem of external hive metastore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try to add option "spark.sql.hive.metastore.schema.verification false" (or tryu to update schema)&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 17:36:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/databricks-sql-cannot-communicate-with-external-hive-metastore/m-p/17185#M613</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2022-06-20T17:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks SQL cannot Communicate With External Hive Metastore  which runs on Postgre SQL</title>
      <link>https://community.databricks.com/t5/data-governance/databricks-sql-cannot-communicate-with-external-hive-metastore/m-p/17186#M614</link>
      <description>&lt;P&gt;thanks @Hubert Dudek​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I have tried that. But problem still same. getting exactly same error.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 20:03:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/databricks-sql-cannot-communicate-with-external-hive-metastore/m-p/17186#M614</guid>
      <dc:creator>saltuk</dc:creator>
      <dc:date>2022-06-20T20:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks SQL cannot Communicate With External Hive Metastore  which runs on Postgre SQL</title>
      <link>https://community.databricks.com/t5/data-governance/databricks-sql-cannot-communicate-with-external-hive-metastore/m-p/17187#M615</link>
      <description>&lt;P&gt;Find soluttion :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;spark.hadoop.javax.jdo.option.ConnectionURL jdbc:postgresql://#########.postgres.database.azure.com:5432/databricks_metastore?ssl=true&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;needs to be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;spark.hadoop.javax.jdo.option.ConnectionURL jdbc:postgresql://#########.postgres.database.azure.com:5432/databricks_metastore?sslmode=Require&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 16:15:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/databricks-sql-cannot-communicate-with-external-hive-metastore/m-p/17187#M615</guid>
      <dc:creator>saltuk</dc:creator>
      <dc:date>2022-06-21T16:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks SQL cannot Communicate With External Hive Metastore  which runs on Postgre SQL</title>
      <link>https://community.databricks.com/t5/data-governance/databricks-sql-cannot-communicate-with-external-hive-metastore/m-p/17188#M616</link>
      <description>&lt;P&gt;Great!, Please mark your answer as the best one so it will help others in the future &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 16:40:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/databricks-sql-cannot-communicate-with-external-hive-metastore/m-p/17188#M616</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2022-06-22T16:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks SQL cannot Communicate With External Hive Metastore  which runs on Postgre SQL</title>
      <link>https://community.databricks.com/t5/data-governance/databricks-sql-cannot-communicate-with-external-hive-metastore/m-p/17189#M617</link>
      <description>&lt;P&gt;done!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 09:37:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/databricks-sql-cannot-communicate-with-external-hive-metastore/m-p/17189#M617</guid>
      <dc:creator>saltuk</dc:creator>
      <dc:date>2022-06-23T09:37:05Z</dc:date>
    </item>
  </channel>
</rss>

