<?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: Issue Exporting 'hive_metastore' Catalog Between Databricks Workspaces Using REST API and Python in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/issue-exporting-hive-metastore-catalog-between-databricks/m-p/79794#M1964</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I wanted to follow up on my previous question about exporting hive_merastore catalog from existing workspace and import it to a new workspace along with all its dependencies using rest api ,if not other alternative solution how to import hive_metastore catalog to new workspace . I'm still facing this issue and would really appreciate any insights or suggestions.&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Akshatha S&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jul 2024 06:05:26 GMT</pubDate>
    <dc:creator>akshatha11499</dc:creator>
    <dc:date>2024-07-22T06:05:26Z</dc:date>
    <item>
      <title>Issue Exporting 'hive_metastore' Catalog Between Databricks Workspaces Using REST API and Python</title>
      <link>https://community.databricks.com/t5/data-governance/issue-exporting-hive-metastore-catalog-between-databricks/m-p/79341#M1960</link>
      <description>&lt;P&gt;Hello Databricks Community,&lt;/P&gt;&lt;P&gt;I am currently facing an issue while trying to export and import all catalogs from an old workspace to a newly created workspace using Databricks' REST API and Python. Here's a summary of my situation:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Objective:&lt;/STRONG&gt; I am attempting to export all catalogs, including 'hive_metastore', from an old workspace and import them into a newly created workspace using Python scripts and Databricks REST API.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Current Status:&lt;/STRONG&gt; I have successfully exported and imported all catalogs except for 'hive_metastore' using the following API endpoint:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;endpoint_url = &lt;SPAN class=""&gt;f"&lt;SPAN class=""&gt;{workspace_url}&lt;/SPAN&gt;/api/2.1/unity-catalog/catalogs"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Issue:&lt;/STRONG&gt; Despite using the above endpoint, I have not been able to export or import the 'hive_metastore' catalog. I am specifically looking for guidance on how to achieve this using the Databricks REST API and Python.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Additional Query:&lt;/STRONG&gt; If exporting and importing the 'hive_metastore' catalog via the REST API is not feasible, what alternative methods or approaches can be used to achieve this task?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Could someone please provide insights or example code snippets on how to properly handle the export and import of the 'hive_metastore' catalog between Databricks workspaces using either the REST API or alternative methods?&lt;/P&gt;&lt;P&gt;Any documentation links, specific API endpoints related to 'hive_metastore', or alternative approaches would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 07:08:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/issue-exporting-hive-metastore-catalog-between-databricks/m-p/79341#M1960</guid>
      <dc:creator>akshatha11499</dc:creator>
      <dc:date>2024-07-19T07:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Exporting 'hive_metastore' Catalog Between Databricks Workspaces Using REST API and Python</title>
      <link>https://community.databricks.com/t5/data-governance/issue-exporting-hive-metastore-catalog-between-databricks/m-p/79794#M1964</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I wanted to follow up on my previous question about exporting hive_merastore catalog from existing workspace and import it to a new workspace along with all its dependencies using rest api ,if not other alternative solution how to import hive_metastore catalog to new workspace . I'm still facing this issue and would really appreciate any insights or suggestions.&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Akshatha S&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 06:05:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/issue-exporting-hive-metastore-catalog-between-databricks/m-p/79794#M1964</guid>
      <dc:creator>akshatha11499</dc:creator>
      <dc:date>2024-07-22T06:05:26Z</dc:date>
    </item>
  </channel>
</rss>

