-
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
External metastores support for most HDInsight resources #6969
Conversation
@jackofallops, could you take a look? This PR is applying #6145 approach for other HDInsight resources. |
Hi @jackofallops - I require this change for a project I am working on. Do you know a rough ETA so that I can plan my sprints? Many thanks for any help you can offer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @kosinsky
Thanks for this PR extending your previous work, and apologies for the delay in getting to this review.
It's all looking good, but there's one specific change required in each cluster case, noted below. (I missed the use of GetOkExists
in the last PR, sorry).
The Plugin SDK upgrade PR is in progress, and we're hoping to get it merged asap, so this will need to be rebased after that goes in to avoid conflicts. (I've added the dependency note to the PR desc). I'll circle back to re-review and run the acceptance tests at that point.
Thanks again!
Ste
azurerm/internal/services/hdinsight/hdinsight_hbase_cluster_resource.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/hdinsight/hdinsight_interactive_query_cluster_resource.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/hdinsight/hdinsight_kafka_cluster_resource.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/hdinsight/hdinsight_spark_cluster_resource.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/hdinsight/hdinsight_storm_cluster_resource.go
Outdated
Show resolved
Hide resolved
@jackofallops Done. make testacc TEST='./azurerm/internal/services/hdinsight/tests/' TESTARGS='-run=Metastore -parallel=2' TESTTIMEOUT='300m' |
👋 Just to give an update here, whilst this PR was dependent on #6809 - we ended up disabling Binary Testing in that PR - work to enable Binary testing will happen in a subsequent PR (and is being investigated) - however unfortunately this PR is still blocked for the moment. Thanks! |
@kosinsky - Apologies for the confusion, we had a crossed wire somewhere. This PR was blocked by 6809, but for the Thanks again! Update: full regression test is running now. |
5c1acca
to
87e5c45
Compare
3b78303
to
87e5c45
Compare
…GetExistsOk` is going away
This reverts commit 1bafc3d.
This reverts commit a4166b0.
This reverts commit 30536e7.
Co-authored-by: Steve <[email protected]>
87e5c45
to
a01ee6f
Compare
Hi @kosinsky - I've had to do a bit of git wrangling to account for a mistake we had to correct on master creating a bit of a diverge in history. I think I've got it straight now, but if you can check everything looks correct to you I'll merge later (pending the tests on our CI, ofc) Thanks! |
@jackofallops, Looks good for me. I ran some acceptance tests (new and *_basic) they are green too. |
Brilliant, thanks! I'll merge this then follow up on your other PR for monitor next. |
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 ... |
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! |
Depends On #6809
PR #6145 added support for external metastores for azurerm_hdinsight_hadoop_cluster. Using the same approach to expand support for:
Sample configuration:
New tests:
I skipped MLService/RServer because they a pretty unstable (every other time even basic test fails with
Code="BadRequest" Message="HDI Version'3.6' is not supported for clusterType 'MLServices' and componentVersion 'default'."
) and scheduled to retire by the end of 2020:Fixes #5230 for most HDInsight resources