create hive metastore in Databricks with non-SQL DB

Shambhu Rai 1,411 Reputation points
2023-07-17T13:56:46.3466667+00:00

Hi Expert,

How to create Hive Metastore in Azure databricks DB

Azure SQL Database
Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,557 questions
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,460 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,556 questions
Azure Database for PostgreSQL
{count} votes

3 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. PRADEEPCHEEKATLA 90,616 Reputation points Moderator
    2023-07-18T05:53:38.9+00:00

    @Shambhu Rai - Thanks for the question and using MS Q&A platform.

    To create a Hive Metastore in Azure Databricks, you need to follow these steps:

    1. Create an Azure Databricks workspace.
    2. Create a cluster in the workspace.
    3. Install the Hive Metastore component on the cluster.
    4. Configure the Hive Metastore to use an external database, such as Azure SQL Database or Azure Database for MySQL.
    5. Create a database in the external database and configure the Hive Metastore to use it.

    For more detailed information on how to create a Hive Metastore in Azure Databricks, you can refer to the following document: Azure Databricks: External Metastores (legacy) and Connect Azure SQL DB as External Hive Metastore to Azure Databricks Spark Cluster and SQL Endpoint.

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.