<?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 Issue setting metastore in GCP Databricks in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/issue-setting-metastore-in-gcp-databricks/m-p/60207#M1166</link>
    <description>&lt;P&gt;While setting up metastore in GCP Databricks, I added the bucket name and then&amp;nbsp; service account permissons as well. Still my catalog dont have base root location. This deters me from creating table in my catalog.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Root storage credential for metastore XXXXXX does not exist. Please contact your Databricks representative or consider updating the metastore with a valid storage credential&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.databricks.com/api-" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.databricks.com/api-&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;explorer/workspace/metastores/update&lt;BR /&gt;&lt;BR /&gt;I followed this documentation, this root storage credential thing is nowhere mentioned in the documentation&lt;BR /&gt;&lt;A href="https://docs.gcp.databricks.com/en/data-governance/unity-catalog/enable-workspaces.html#enable-workspace" target="_blank"&gt;https://docs.gcp.databricks.com/en/data-governance/unity-catalog/enable-workspaces.html#enable-workspace&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Feb 2024 14:40:43 GMT</pubDate>
    <dc:creator>manish05485</dc:creator>
    <dc:date>2024-02-14T14:40:43Z</dc:date>
    <item>
      <title>Issue setting metastore in GCP Databricks</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/issue-setting-metastore-in-gcp-databricks/m-p/60207#M1166</link>
      <description>&lt;P&gt;While setting up metastore in GCP Databricks, I added the bucket name and then&amp;nbsp; service account permissons as well. Still my catalog dont have base root location. This deters me from creating table in my catalog.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Root storage credential for metastore XXXXXX does not exist. Please contact your Databricks representative or consider updating the metastore with a valid storage credential&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.databricks.com/api-" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.databricks.com/api-&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;explorer/workspace/metastores/update&lt;BR /&gt;&lt;BR /&gt;I followed this documentation, this root storage credential thing is nowhere mentioned in the documentation&lt;BR /&gt;&lt;A href="https://docs.gcp.databricks.com/en/data-governance/unity-catalog/enable-workspaces.html#enable-workspace" target="_blank"&gt;https://docs.gcp.databricks.com/en/data-governance/unity-catalog/enable-workspaces.html#enable-workspace&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 14:40:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/issue-setting-metastore-in-gcp-databricks/m-p/60207#M1166</guid>
      <dc:creator>manish05485</dc:creator>
      <dc:date>2024-02-14T14:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Issue setting metastore in GCP Databricks</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/issue-setting-metastore-in-gcp-databricks/m-p/60295#M1168</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/99697"&gt;@manish05485&lt;/a&gt;&amp;nbsp;, Good Day!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Error:Root storage credential for metastore XXXXXX does not exist. Please contact your Databricks representative or consider updating the metastore with a valid storage&lt;/P&gt;
&lt;P&gt;Error states that the data access configuration for the metastore does not exist or don't have storage credential associated as well, for that we can list storage credentials and verify if the root storage credential exists we could associate that, if that doesn't exist please refer doc[1] to create one and that can be associated with the metastore. You could use Databricks CLI to perform these actions:&lt;/P&gt;
&lt;P&gt;a. Get the storage credential Id by running the below command:&amp;nbsp;&lt;BR /&gt;&amp;gt;&amp;gt; databricks unity-catalog list-storage-credentials&lt;/P&gt;
&lt;P&gt;Document to refer : &lt;A href="https://docs.gcp.databricks.com/en/archive/dev-tools/cli/unity-catalog-cli.html#list-available-storage-credentials" target="_blank"&gt;https://docs.gcp.databricks.com/en/archive/dev-tools/cli/unity-catalog-cli.html#list-available-storage-credentials&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;b. Create a file and save the storage credential as update-metastore.json&lt;BR /&gt;{&lt;BR /&gt;"storage_root_credential_id": "&amp;lt;storage-credential-id&amp;gt;"&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;c.Once the file has been created run the below command to associate the storage credential:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;databricks unity-catalog metastores update --id 12a345b6-7890-1cd2-3456-e789f0a12b34 &lt;SPAN class="se"&gt;\&lt;/SPAN&gt;
                                           --json-file update-metastore.json&lt;/PRE&gt;
&lt;P&gt;Please refer to doc[2] for more details on updating metastore settings.&lt;/P&gt;
&lt;P&gt;Doc[1]:&amp;nbsp;&lt;A href="https://docs.gcp.databricks.com/en/connect/unity-catalog/index.html#how-does-unity-catalog-connect-object-storage-to-databricks" target="_blank"&gt;https://docs.gcp.databricks.com/en/connect/unity-catalog/index.html#how-does-unity-catalog-connect-object-storage-to-databricks&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Doc[2] :&amp;nbsp;&lt;A href="https://docs.gcp.databricks.com/en/archive/dev-tools/cli/unity-catalog-cli.html#update-a-metastores-settings" target="_blank"&gt;https://docs.gcp.databricks.com/en/archive/dev-tools/cli/unity-catalog-cli.html#update-a-metastores-settings&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please let me know if this helps and leave a like if this information is useful, followups are appreciated.&lt;BR /&gt;Kudos&lt;BR /&gt;Ayushi&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 07:46:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/issue-setting-metastore-in-gcp-databricks/m-p/60295#M1168</guid>
      <dc:creator>Ayushi_Suthar</dc:creator>
      <dc:date>2024-02-15T07:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Issue setting metastore in GCP Databricks</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/issue-setting-metastore-in-gcp-databricks/m-p/60456#M1169</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Why is this not in the following documentation. Cant this thing be entirely setup via UI without going to api routes, because business leaders prefer setting up things via UI forms etc , instead of technical nitty gritty.&amp;nbsp;&lt;BR /&gt;&lt;A href="https://docs.gcp.databricks.com/en/data-governance/unity-catalog/enable-workspaces.html#enable-workspace" target="_blank"&gt;https://docs.gcp.databricks.com/en/data-governance/unity-catalog/enable-workspaces.html#enable-workspace&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Additionally is there step by step demo of this?&lt;/P&gt;</description>
      <pubDate>Sat, 17 Feb 2024 10:11:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/issue-setting-metastore-in-gcp-databricks/m-p/60456#M1169</guid>
      <dc:creator>manish05485</dc:creator>
      <dc:date>2024-02-17T10:11:41Z</dc:date>
    </item>
  </channel>
</rss>

