Skip to content
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

[HDInsight] Fix bug and add new parameter. #26133

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

yuc-Li
Copy link
Member

@yuc-Li yuc-Li commented Sep 19, 2024

Description

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • For SDK-based development mode, update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • For autorest-based development mode, include the changelog in the PR description.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

Copy link

azure-client-tools-bot-prd bot commented Sep 19, 2024

️✔️Az.Accounts
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
❌Az.HDInsight
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
❌Breaking Change Check
❌PowerShell Core - Windows
Type Cmdlet Description Remediation
Update-AzHDInsightCluster The cmdlet 'Update-AzHDInsightCluster' no longer supports the type 'System.String' for parameter 'IdentityId'. Change the type for parameter 'IdentityId' back to 'System.String'.
❌Windows PowerShell - Windows
Type Cmdlet Description Remediation
Update-AzHDInsightCluster The cmdlet 'Update-AzHDInsightCluster' no longer supports the type 'System.String' for parameter 'IdentityId'. Change the type for parameter 'IdentityId' back to 'System.String'.
️✔️Signature Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
❌Help Example Check
❌PowerShell Core - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
Wait-AzHDInsightJob 1 8 TerminatorExpectedAtEndOfString The string is missing the terminator: '. ' New-AzHDInsightHiveJobDefinition -StatusFolder $statusFolder -Query $query Start-AzHDInsightJob -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterCredential $clusterCreds `
Update-AzHDInsightCluster 5 0 MissingEndCurlyBrace Missing closing '}' in statement block or type definition. { Unexpected Error. Please check Trouble Shotting for Unexpected Errors in Example Issues for more details.
⚠️ Add-AzHDInsightClusterIdentity 1 27 Mismatched_Parameter_Value_Type Add-AzHDInsightClusterIdentity -AadTenantId $tenantId is not an expected parameter value type. -AadTenantId Use correct parameter value type. Expected Type is guid. Now the type is .(Command).
⚠️ Add-AzHDInsightClusterIdentity 1 42 Unassigned_Variable New-AzHDInsightCluster -StorageContainer $storageAccountContainer is a null-valued parameter value. -StorageContainer Assign value for $storageAccountContainer.
⚠️ Add-AzHDInsightComponentVersion 1 36 Unassigned_Variable New-AzHDInsightCluster -SshCredential $sshCredentials is a null-valued parameter value. -SshCredential Assign value for $sshCredentials.
⚠️ Add-AzHDInsightConfigValue 1 37 Unassigned_Variable New-AzHDInsightCluster -StorageContainer $storageAccountContainer is a null-valued parameter value. -StorageContainer Assign value for $storageAccountContainer.
⚠️ Add-AzHDInsightStorage 1 30 Unassigned_Variable Add-AzHDInsightStorage -StorageAccountKey $key2 is a null-valued parameter value. -StorageAccountKey Assign value for $key2.
⚠️ New-AzHDInsightCluster 9 47 Mismatched_Parameter_Value_Type New-AzHDInsightCluster -SecurityProfile $config.SecurityProfile is not an expected parameter value type. -SecurityProfile Use correct parameter value type. Expected Type is Microsoft.Azure.Commands.HDInsight.Models.AzureHDInsightSecurityProfile. Now the type is .(Command).
⚠️ New-AzHDInsightCluster 11 27 Unassigned_Variable New-AzHDInsightIPConfiguration -SubnetId $subnetId is a null-valued parameter value. -SubnetId Assign value for $subnetId.
⚠️ New-AzHDInsightCluster 13 48 Mismatched_Parameter_Value_Type New-AzHDInsightCluster -SecurityProfile $config.SecurityProfile is not an expected parameter value type. -SecurityProfile Use correct parameter value type. Expected Type is Microsoft.Azure.Commands.HDInsight.Models.AzureHDInsightSecurityProfile. Now the type is .(Command).
⚠️ New-AzHDInsightClusterConfig 1 23 Unassigned_Variable Add-AzHDInsightStorage -StorageAccountKey $key2 is a null-valued parameter value. -StorageAccountKey Assign value for $key2.
⚠️ New-AzHDInsightMapReduceJobDefinition 1 5 Unassigned_Variable New-AzHDInsightMapReduceJobDefinition -StatusFolder $statusFolder is a null-valued parameter value. -StatusFolder Assign value for $statusFolder.
⚠️ New-AzHDInsightMapReduceJobDefinition 1 6 Unassigned_Variable New-AzHDInsightMapReduceJobDefinition -ClassName $className is a null-valued parameter value. -ClassName Assign value for $className.
⚠️ New-AzHDInsightMapReduceJobDefinition 1 7 Unassigned_Variable New-AzHDInsightMapReduceJobDefinition -JarFile $jarFilePath is a null-valued parameter value. -JarFile Assign value for $jarFilePath.
⚠️ New-AzHDInsightSqoopJobDefinition 1 5 Unassigned_Variable New-AzHDInsightSqoopJobDefinition -StatusFolder $statusFolder is a null-valued parameter value. -StatusFolder Assign value for $statusFolder.
⚠️ New-AzHDInsightSqoopJobDefinition 1 6 Unassigned_Variable New-AzHDInsightSqoopJobDefinition -Command $sqoopCommand is a null-valued parameter value. -Command Assign value for $sqoopCommand.
⚠️ Set-AzHDInsightDefaultStorage 1 23 Unassigned_Variable Set-AzHDInsightDefaultStorage -StorageAccountKey $key2 is a null-valued parameter value. -StorageAccountKey Assign value for $key2.
⚠️ Set-AzHDInsightGatewayCredential 2 3 Unassigned_Variable Set-AzHDInsightGatewayCredential -HttpCredential $clusterCreds is a null-valued parameter value. -HttpCredential Assign value for $clusterCreds.
⚠️ Stop-AzHDInsightJob 1 7 Unassigned_Variable Stop-AzHDInsightJob -JobId $jobId is a null-valued parameter value. -JobId Assign value for $jobId.
Update-AzHDInsightCluster 5 4 Invalid_Cmdlet /resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hdi-msi' Update-AzHDInsightCluster -ClusterName $clusterName -IdentityType $identityType -IdentityId $identityId } function HDInsight-Use-AzHDInsightCluster-1{ # Cluster info $clusterName = 'your-hadoop-001' $clusterCreds = Get-Credential Use-AzHDInsightCluster -ClusterName $clusterName -ClusterCredential $clusterCreds } function HDInsight-Wait-AzHDInsightJob-1{ # Cluster info $clusterResourceGroupName = 'Group' $clusterName = 'your-hadoop-001' $clusterCreds = Get-Credential # Hive job details $statusFolder = 'tempStatusFolder/' $query = 'SHOW is not a valid command name. /resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hdi-msi' Update-AzHDInsightCluster -ClusterName $clusterName -IdentityType $identityType -IdentityId $identityId } function HDInsight-Use-AzHDInsightCluster-1{ # Cluster info $clusterName = 'your-hadoop-001' $clusterCreds = Get-Credential Use-AzHDInsightCluster -ClusterName $clusterName -ClusterCredential $clusterCreds } function HDInsight-Wait-AzHDInsightJob-1{ # Cluster info $clusterResourceGroupName = 'Group' $clusterName = 'your-hadoop-001' $clusterCreds = Get-Credential # Hive job details $statusFolder = 'tempStatusFolder/' $query = 'SHOW TABLES' New-AzHDInsightHiveJobDefinition -StatusFolder $statusFolder -Query $query Start-AzHDInsightJob -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterCredential $clusterCreds `
❌Windows PowerShell - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
Wait-AzHDInsightJob 1 8 TerminatorExpectedAtEndOfString The string is missing the terminator: '. ' New-AzHDInsightHiveJobDefinition -StatusFolder $statusFolder -Query $query Start-AzHDInsightJob -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterCredential $clusterCreds `
Update-AzHDInsightCluster 5 0 MissingEndCurlyBrace Missing closing '}' in statement block or type definition. { Unexpected Error. Please check Trouble Shotting for Unexpected Errors in Example Issues for more details.
⚠️ Add-AzHDInsightClusterIdentity 1 27 Mismatched_Parameter_Value_Type Add-AzHDInsightClusterIdentity -AadTenantId $tenantId is not an expected parameter value type. -AadTenantId Use correct parameter value type. Expected Type is guid. Now the type is .(Command).
⚠️ Add-AzHDInsightClusterIdentity 1 42 Unassigned_Variable New-AzHDInsightCluster -StorageContainer $storageAccountContainer is a null-valued parameter value. -StorageContainer Assign value for $storageAccountContainer.
⚠️ Add-AzHDInsightComponentVersion 1 36 Unassigned_Variable New-AzHDInsightCluster -SshCredential $sshCredentials is a null-valued parameter value. -SshCredential Assign value for $sshCredentials.
⚠️ Add-AzHDInsightConfigValue 1 37 Unassigned_Variable New-AzHDInsightCluster -StorageContainer $storageAccountContainer is a null-valued parameter value. -StorageContainer Assign value for $storageAccountContainer.
⚠️ Add-AzHDInsightStorage 1 30 Unassigned_Variable Add-AzHDInsightStorage -StorageAccountKey $key2 is a null-valued parameter value. -StorageAccountKey Assign value for $key2.
⚠️ New-AzHDInsightCluster 9 47 Mismatched_Parameter_Value_Type New-AzHDInsightCluster -SecurityProfile $config.SecurityProfile is not an expected parameter value type. -SecurityProfile Use correct parameter value type. Expected Type is Microsoft.Azure.Commands.HDInsight.Models.AzureHDInsightSecurityProfile. Now the type is .(Command).
⚠️ New-AzHDInsightCluster 11 27 Unassigned_Variable New-AzHDInsightIPConfiguration -SubnetId $subnetId is a null-valued parameter value. -SubnetId Assign value for $subnetId.
⚠️ New-AzHDInsightCluster 13 48 Mismatched_Parameter_Value_Type New-AzHDInsightCluster -SecurityProfile $config.SecurityProfile is not an expected parameter value type. -SecurityProfile Use correct parameter value type. Expected Type is Microsoft.Azure.Commands.HDInsight.Models.AzureHDInsightSecurityProfile. Now the type is .(Command).
⚠️ New-AzHDInsightClusterConfig 1 23 Unassigned_Variable Add-AzHDInsightStorage -StorageAccountKey $key2 is a null-valued parameter value. -StorageAccountKey Assign value for $key2.
⚠️ New-AzHDInsightMapReduceJobDefinition 1 5 Unassigned_Variable New-AzHDInsightMapReduceJobDefinition -StatusFolder $statusFolder is a null-valued parameter value. -StatusFolder Assign value for $statusFolder.
⚠️ New-AzHDInsightMapReduceJobDefinition 1 6 Unassigned_Variable New-AzHDInsightMapReduceJobDefinition -ClassName $className is a null-valued parameter value. -ClassName Assign value for $className.
⚠️ New-AzHDInsightMapReduceJobDefinition 1 7 Unassigned_Variable New-AzHDInsightMapReduceJobDefinition -JarFile $jarFilePath is a null-valued parameter value. -JarFile Assign value for $jarFilePath.
⚠️ New-AzHDInsightSqoopJobDefinition 1 5 Unassigned_Variable New-AzHDInsightSqoopJobDefinition -StatusFolder $statusFolder is a null-valued parameter value. -StatusFolder Assign value for $statusFolder.
⚠️ New-AzHDInsightSqoopJobDefinition 1 6 Unassigned_Variable New-AzHDInsightSqoopJobDefinition -Command $sqoopCommand is a null-valued parameter value. -Command Assign value for $sqoopCommand.
⚠️ Set-AzHDInsightDefaultStorage 1 23 Unassigned_Variable Set-AzHDInsightDefaultStorage -StorageAccountKey $key2 is a null-valued parameter value. -StorageAccountKey Assign value for $key2.
⚠️ Set-AzHDInsightGatewayCredential 2 3 Unassigned_Variable Set-AzHDInsightGatewayCredential -HttpCredential $clusterCreds is a null-valued parameter value. -HttpCredential Assign value for $clusterCreds.
⚠️ Stop-AzHDInsightJob 1 7 Unassigned_Variable Stop-AzHDInsightJob -JobId $jobId is a null-valued parameter value. -JobId Assign value for $jobId.
Update-AzHDInsightCluster 5 4 Invalid_Cmdlet /resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hdi-msi' Update-AzHDInsightCluster -ClusterName $clusterName -IdentityType $identityType -IdentityId $identityId } function HDInsight-Use-AzHDInsightCluster-1{ # Cluster info $clusterName = 'your-hadoop-001' $clusterCreds = Get-Credential Use-AzHDInsightCluster -ClusterName $clusterName -ClusterCredential $clusterCreds } function HDInsight-Wait-AzHDInsightJob-1{ # Cluster info $clusterResourceGroupName = 'Group' $clusterName = 'your-hadoop-001' $clusterCreds = Get-Credential # Hive job details $statusFolder = 'tempStatusFolder/' $query = 'SHOW is not a valid command name. /resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hdi-msi' Update-AzHDInsightCluster -ClusterName $clusterName -IdentityType $identityType -IdentityId $identityId } function HDInsight-Use-AzHDInsightCluster-1{ # Cluster info $clusterName = 'your-hadoop-001' $clusterCreds = Get-Credential Use-AzHDInsightCluster -ClusterName $clusterName -ClusterCredential $clusterCreds } function HDInsight-Wait-AzHDInsightJob-1{ # Cluster info $clusterResourceGroupName = 'Group' $clusterName = 'your-hadoop-001' $clusterCreds = Get-Credential # Hive job details $statusFolder = 'tempStatusFolder/' $query = 'SHOW TABLES' New-AzHDInsightHiveJobDefinition -StatusFolder $statusFolder -Query $query Start-AzHDInsightJob -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterCredential $clusterCreds `
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️File Change Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️UX Metadata Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Generated Sdk Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Test
⚠️ - Linux
Type Title Current Coverage Description
⚠️ Test Coverage Less Than 50% 40.38 % Test coverage for the module cannot be lower than 50%.
⚠️ - MacOS
Type Title Current Coverage Description
⚠️ Test Coverage Less Than 50% 40.38% Test coverage for the module cannot be lower than 50%.
⚠️PowerShell Core - Windows
Type Title Current Coverage Description
⚠️ Test Coverage Less Than 50% 40.38% Test coverage for the module cannot be lower than 50%.
⚠️Windows PowerShell - Windows
Type Title Current Coverage Description
⚠️ Test Coverage Less Than 50% 40.38% Test coverage for the module cannot be lower than 50%.
️✔️Az.ManagedServiceIdentity
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.OperationalInsights
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows

@yuc-Li yuc-Li removed this from the Az 12.4.0 (October 2024, 2024-10-08) milestone Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant