-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for HDInsight Hadoop cluster external SQL database #5230
Comments
I'm taking a look at adding the necessary support for this right now. An important clarification that I think should be made: while you're right that Azure's documentation, sample ARM templates, and Portal UI for HDInsight do treat "existing Hive metastore" as some first-class recommended entity, there is no actual support for this in the HDInsight Cluster REST API directly. Instead, the HDInsight API exposes Hadoop-specific configuration files through special Unfortunately, at the moment, the AzureRM Terraform Provider only supports the This presents two options:
Thoughts? I can implement this either way, just want to get some feedback before I do. |
Support for other databases as a metastore is interesting feature.
|
I'd be happy for you to do it either way as long as it's possible to configure an external database for the metastore via Terraform that will resolve my issue. Option 2 sounds better and more flexible as you say. Thanks in advance :-) |
Looks like only Azure SQL DB is supported and I got following from the HDInsights team:
As a result, adding simple |
I've submitted PR to implement that feature in sql server only way |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
This has been released in version 2.18.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 2.18.0"
}
# ... other configuration ... |
Community Note
Description
HDInsight supports custom external metastores, which are recommended for production clusters. However the current Terraform HDInsight Hadoop cluster resource doesn't support specifying an existing external Azure SQL database to host the metastore. Please can an attribute be added to specify an external Azure SQL database for the metastore.
This configuration is supported when creating an HDInsight cluster through the Azure portal.
New or Affected Resource(s)
azurerm_hdinsight_hadoop_cluster
Potential Terraform Configuration
References
https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-use-external-metadata-stores
The text was updated successfully, but these errors were encountered: