Closed stijzermans closed 4 years ago
Well, it seems my timing is a bit off. I saw a PR has been placed 2 hours ago for exactly this issue: https://github.com/Azure/azure-powershell/pull/10277
Hi, you have mentioned that there is a pr to fix this. The PR is #10277
Thanks for working with Microsoft on GitHub! Tell us how you feel about your experience using the reactions on this comment.
Description
Get-AzHdInsightCluster throws an error when using this on a HDInsight cluster deployed with ESP enabled and after retrieving the cluster identity. Therefore, it's impossible to use Get-AzHdInsightCluster with this type of ESP clusters.
Steps to reproduce
Deploy a cluster with the following template:
ARM template
``` { "$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#", "contentVersion": "0.9.0.0", "parameters": { "SubscriptionId": { "type": "string" }, "clusterName": { "type": "string", "metadata": { "description": "The name of the HDInsight cluster to create." } }, "clusterLoginUserName": { "type": "string", "defaultValue": "admin", "metadata": { "description": "These credentials can be used to submit jobs to the cluster and to log into cluster dashboards." } }, "clusterLoginPassword": { "type": "securestring", "metadata": { "description": "The password must be at least 10 characters in length and must contain at least one digit, one non-alphanumeric character, and one upper or lower case letter." } }, "sshUserName": { "type": "string", "defaultValue": "sshuser", "metadata": { "description": "These credentials can be used to remotely access the cluster." } }, "sshPublicKey": { "type": "securestring" }, "clusterKind": { "type": "string", "defaultValue": "SPARK", "metadata": { "description": "The type of the HDInsight cluster to create." } }, "clusterKindVersion": { "type": "string", "defaultValue": "3.6", "metadata": { "description": "SPARK version." } }, "clusterVersion": { "type": "string", "defaultValue": "3.6", "metadata": { "description": "HDInsight cluster version." } }, "clusterWorkerNodeCount": { "type": "int", "defaultValue": 2, "metadata": { "description": "The number of nodes in the HDInsight cluster." } }, "headnodeVMSize": { "type": "string" }, "workernodeVMSize": { "type": "string" }, "clusterCertificateContents": { "type": "securestring" }, "clusterCertificatePassword": { "type": "securestring" }, "aadApplicationId": { "type": "string" }, "AdlsHostname": { "type": "string" }, "AdlsMountpoint": { "type": "string" }, "SQLServerName": { "type": "string" }, "SQLUserName": { "type": "string", "metadata": { "description": "These credentials can be used to remotely access hive." } }, "SQLPassword": { "type": "securestring" }, "metaDbName": { "type": "string" }, "rangerDbName": { "type": "string" }, "vnetName": { "type": "string" }, "vnetResourceGroup": { "type": "string" }, "subnetName": { "type": "string" }, "domainUsername": { "type": "string" }, "domain": { "type": "securestring" }, "clusterUsersGroups": { "type": "array" }, "addsId": { "type": "string" }, "ManagedIdentityId": { "type": "string" }, "billingTags": { "type": "object", "metadata": { "description": "The tags that will be set on the resources. Used for billing purposes." } } }, "variables": { "aadTenantId": "Make sure to use the following command to generate base64 certificate.
Environment data
Module versions
Debug output
Error output
Note - I've redacted information regarding our clusters but believe this shows which errors occurs and how it occurs