<?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 How to upgrade internal hive metadata store version in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-upgrade-internal-hive-metadata-store-version/m-p/16730#M10856</link>
    <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Is it possible to upgrade the out of the box hive metastore version?&lt;/P&gt;
&lt;P&gt;running&lt;B&gt; spark.conf.get("spark.sql.hive.metastore.version") &lt;/B&gt;indicates that it is running on &lt;B&gt;0.13.0&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;However &lt;A href="https://docs.microsoft.com/en-us/azure/databricks/release-notes/runtime/7.x-migration#apache-hive" target="test_blank"&gt;https://docs.microsoft.com/en-us/azure/databricks/release-notes/runtime/7.x-migration#apache-hive&lt;/A&gt; seems to indicate that the version was upgraded to 2.3&lt;/P&gt;
&lt;P&gt;I have attempted to add the following to the spark config&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;spark.sql.hive.metastore.version 2.3.7
spark.sql.hive.metastore.jars builtin
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But it results in errors whose stacktrace seems to indicate its trying to connect to an external metastore. Im not interested in setting up an external metastore at this time&lt;/P&gt;
&lt;P&gt;What should the hive metastore version be and is there anything I need to do to upgrade it?&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Aug 2021 14:12:35 GMT</pubDate>
    <dc:creator>AlexDavies</dc:creator>
    <dc:date>2021-08-10T14:12:35Z</dc:date>
    <item>
      <title>How to upgrade internal hive metadata store version</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-upgrade-internal-hive-metadata-store-version/m-p/16730#M10856</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Is it possible to upgrade the out of the box hive metastore version?&lt;/P&gt;
&lt;P&gt;running&lt;B&gt; spark.conf.get("spark.sql.hive.metastore.version") &lt;/B&gt;indicates that it is running on &lt;B&gt;0.13.0&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;However &lt;A href="https://docs.microsoft.com/en-us/azure/databricks/release-notes/runtime/7.x-migration#apache-hive" target="test_blank"&gt;https://docs.microsoft.com/en-us/azure/databricks/release-notes/runtime/7.x-migration#apache-hive&lt;/A&gt; seems to indicate that the version was upgraded to 2.3&lt;/P&gt;
&lt;P&gt;I have attempted to add the following to the spark config&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;spark.sql.hive.metastore.version 2.3.7
spark.sql.hive.metastore.jars builtin
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But it results in errors whose stacktrace seems to indicate its trying to connect to an external metastore. Im not interested in setting up an external metastore at this time&lt;/P&gt;
&lt;P&gt;What should the hive metastore version be and is there anything I need to do to upgrade it?&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 14:12:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-upgrade-internal-hive-metadata-store-version/m-p/16730#M10856</guid>
      <dc:creator>AlexDavies</dc:creator>
      <dc:date>2021-08-10T14:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to upgrade internal hive metadata store version</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-upgrade-internal-hive-metadata-store-version/m-p/16731#M10857</link>
      <description>&lt;P&gt;Only way I found to solve this is to use external metastore so I am using azure sql db hosted hive metastore . It creates dbo.version table with a row showing version of metastore.  Update this row to match the value with spark.sql.hive.metastore.version value&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 05:48:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-upgrade-internal-hive-metadata-store-version/m-p/16731#M10857</guid>
      <dc:creator>prasadvaze</dc:creator>
      <dc:date>2021-11-23T05:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to upgrade internal hive metadata store version</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-upgrade-internal-hive-metadata-store-version/m-p/16732#M10858</link>
      <description>&lt;P&gt;I have exactly the same issue. My question is, is it a must to use 2.3.7? or it is still ok to use 0.13.0 in Spark3?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 21:30:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-upgrade-internal-hive-metadata-store-version/m-p/16732#M10858</guid>
      <dc:creator>jeffreym9</dc:creator>
      <dc:date>2021-12-16T21:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to upgrade internal hive metadata store version</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-upgrade-internal-hive-metadata-store-version/m-p/16734#M10860</link>
      <description>&lt;P&gt;That does not help. The suggestion to by-pass the version validation only delays the issue. When i tried to create new tables, it complains that some columns is found missing in the hive metastore (0.13) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 16:34:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-upgrade-internal-hive-metadata-store-version/m-p/16734#M10860</guid>
      <dc:creator>jeffreym9</dc:creator>
      <dc:date>2021-12-22T16:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to upgrade internal hive metadata store version</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-upgrade-internal-hive-metadata-store-version/m-p/16735#M10861</link>
      <description>&lt;OL&gt;&lt;LI&gt;spark.sql.hive.metastore.jars builtin&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;can you try changing the same as per &lt;/P&gt;&lt;P&gt;Hive 2.3.7 (Databricks Runtime 7.0 and above): set spark.sql.hive.metastore.jars to builtin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For all other Hive versions, Azure Databricks recommends that you download the metastore JARs and set the configuration spark.sql.hive.metastore.jars to point to the downloaded JARs using the procedure described in Download the metastore jars and point to them.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/azure/databricks/data/metastores/external-hive-metastore#--spark-configuration-options" target="test_blank"&gt;https://docs.microsoft.com/en-us/azure/databricks/data/metastores/external-hive-metastore#--spark-configuration-options&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 03:36:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-upgrade-internal-hive-metadata-store-version/m-p/16735#M10861</guid>
      <dc:creator>Atanu</dc:creator>
      <dc:date>2022-01-12T03:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to upgrade internal hive metadata store version</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-upgrade-internal-hive-metadata-store-version/m-p/16736#M10862</link>
      <description>&lt;P&gt;@Alex Davies​&amp;nbsp;- Does Atanu's information help resolve the issue?  If yes, would you be happy to mark it as best so that other members can find the solution more quickly?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 16:18:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-upgrade-internal-hive-metadata-store-version/m-p/16736#M10862</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-26T16:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to upgrade internal hive metadata store version</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-upgrade-internal-hive-metadata-store-version/m-p/16737#M10863</link>
      <description>&lt;P&gt;That doesn't seem to solve the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We appear to be using hive 0.13.0, docs mention we should be be on 2.3.7. Is there something we have to do on our end to upgrade?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Running the queries gives&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;spark.conf.get("spark.sql.hive.metastore.jars") //builtin
spark.conf.get("spark.sql.hive.metastore.version") //0.13.0&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;setting spark.sql.hive.metastore.jars to builtin does not change the metastore version&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do we upgrade our builtin metastore?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 10:41:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-upgrade-internal-hive-metadata-store-version/m-p/16737#M10863</guid>
      <dc:creator>AlexDavies</dc:creator>
      <dc:date>2022-01-27T10:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to upgrade internal hive metadata store version</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-upgrade-internal-hive-metadata-store-version/m-p/16739#M10865</link>
      <description>&lt;P&gt;Hello guys!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Atanu's&amp;nbsp;post, although correct does not solve the problem. Is there any official documentation on how to upgrade the &lt;B&gt;internal&lt;/B&gt; databricks metastore to a greater version? If this is availble then we can try Atanu's solution (not sure if needed in that case)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 12:09:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-upgrade-internal-hive-metadata-store-version/m-p/16739#M10865</guid>
      <dc:creator>pantelis_mare</dc:creator>
      <dc:date>2022-07-25T12:09:51Z</dc:date>
    </item>
  </channel>
</rss>

