-
Notifications
You must be signed in to change notification settings - Fork 4k
[Synapse] Support for setting spark pool configuration by artifact #20024
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
[Synapse] Support for setting spark pool configuration by artifact #20024
Conversation
/azp run azure-powershell - security-tools |
Azure Pipelines successfully started running 1 pipeline(s). |
2cc56dc
to
f46eff1
Compare
It looks good to me. Please help me double check @BethanyZhou |
/azp run azure-powershell - security-tools |
Azure Pipelines successfully started running 1 pipeline(s). |
src/Synapse/Synapse/ChangeLog.md
Outdated
@@ -19,6 +19,7 @@ | |||
--> | |||
|
|||
## Upcoming Release | |||
* Updated `New-AzSynapseSparkPool` and `Update-AzSynapseSparkPool` to support for setting spark pool configuration artifact by `-SparkCongifuration`, parameter `-SparkConfigFilePath` is deprecated now |
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.
What do you mean parameter -SparkConfigFilePath
is deprecated now? Does this parameter not work anymore? Will current change will break previous user experience?
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.
Specifying spark pool configuration using file path in Synapse Studio and Azure Portal is deprecated, now we can only make it through spark configuration artifact, so add a new parameter to support it.
The old parameter -SparkConfigFilePath is useless now, it won't take any effect for updating spark pool.
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.
I guess in our next major release, SparkConfigFilePath should be removed from these cmdlets, am I correct? If so, please add upcoming breaking change message for this parameter
What happens if user uses SparkConfigFilePath in their current scripts? Will these scripts break now? If so, seems like it's a breaking change from service team.
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.
I guess in our next major release, SparkConfigFilePath should be removed from these cmdlets, am I correct? If so, please add upcoming breaking change message for this parameter
yes, SparkConfigFilePath should be removed in future.
What happens if user uses SparkConfigFilePath in their current scripts? Will these scripts break now? If so, seems like it's a breaking change from service team.
if user specify -SparkConfigFilePath parameter in their current scripts, they will not break.
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.
- Let's follow https://eng.ms/docs/cloud-ai-platform/azure-core/azure-management-and-platforms/control-plane-bburns/azure-cli-tools-azure-cli-powershell-and-terraform/azure-cli-tools/teams_docs/azps_docs/breakingchange_release_process#how-to-releae-a-breaking-change to pre-announce the deprecation of SparkConfigFilePath
- Need to confirm when SparkConfigFilePath will not work for customer, it may still be regarded as a breaking change.
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.
- Let's follow https://eng.ms/docs/cloud-ai-platform/azure-core/azure-management-and-platforms/control-plane-bburns/azure-cli-tools-azure-cli-powershell-and-terraform/azure-cli-tools/teams_docs/azps_docs/breakingchange_release_process#how-to-releae-a-breaking-change to pre-announce the deprecation of SparkConfigFilePath
Added the breaking change notifications for existing cmdlets parameter.
- Need to confirm when SparkConfigFilePath will not work for customer, it may still be regarded as a breaking change.
Confirmed, the SparkConfigFilePath may stop working until middle of this December.
f46eff1
to
fa824e6
Compare
src/Synapse/Synapse/Commands/ManagementCommands/SparkPool/NewAzureSynapseSparkPool.cs
Show resolved
Hide resolved
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.
Looks good to me with minor fix required
fa824e6
to
18a5cdb
Compare
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.
Looks good to me. My last question is is possible to transfer SparkConfigFilePath to SparkConfiguration? If so, maybe we can hide the difference between them.
/azp run azure-powershell - security-tools |
Azure Pipelines successfully started running 1 pipeline(s). |
…-preview (#20364) * Added .NET SDK for new api version (#20099) Co-authored-by: Beisi Zhou <[email protected]> * Added new parameters to AzApplicationGatewayFirewallPolicySettings for CustomBlockResponseFeature (#19971) * Powershell changes for waf custom block response feature * Added test record * Update ChangeLog.md * Updating sdk version for 2022-07-01 * Updated tests * Update ChangeLog.md Co-authored-by: Akshay Murali <[email protected]> Co-authored-by: Adishree Mazumder <[email protected]> Co-authored-by: Beisi Zhou <[email protected]> * [UX] Fix the issues in UX files (#20198) * update the UX files * update the UX files * update the UX files * update the UX files * Remove the suppressed exceptions * Update subscriptions.json Co-authored-by: wyunchi-ms <[email protected]> Co-authored-by: Yunchi Wang <[email protected]> * Fix error when repository is not provided (#20210) Fix the #20209 (Repository is not set but used in installation and updating) * Upgraded target framework of identity client (#20214) * adding new cmdlet - Get-AzApplicationGatewayWafDynamicManifests (#20217) * init commit * add help, move to singular not plural * fix help * upadte changelog * try to resolve conflict * init commit * get help file Co-authored-by: Alon Pelled <[email protected]> * [AKS] return NodeImageVersion for Get-AzAksNodePool (#20219) * Move Compute to main (#20227) * {ServiceFabric} Fix #20213: Fix a typo (#20228) Fixes #20213 * Move Botservice to main (#20229) * Store Secrets to Encrypted Storage (#19929) * Store secrets to encrypted storage * Uses unprotected files in Linux * Update Changelog.md * Fix the pipeline issue * Update src/Accounts/Authentication/KeyStore/AzKeyStore.cs Co-authored-by: Beisi Zhou <[email protected]> Co-authored-by: Beisi Zhou <[email protected]> * Update ChangeLog.md (#20204) * Migrate Resources from generation to main (#20231) * Move Resources to main * Update ChangeLog.md Co-authored-by: Yabo Hu <[email protected]> * Move BotService to main (#20232) * Change letter case in example of New-AzStorageBlobSASToken (#20018) * {Network} Fix #11188: Add accepted values of Protocol (#20241) Fixes #11188 * [KeyVault] Fixed import key from encrypted certificate in `Add-AzKeyVaultKey` (#20239) * wip * pfxWebKeyConverter * Fixed certificate export parameter issue in Add-AzKeyVaultKey * polish * polish * polish * Update Changelog.md (#20233) * Update Changelog.md * Update src/BotService/Changelog.md Co-authored-by: Beisi Zhou <[email protected]> * Update online help url. (#20221) * Update ChangeLog.md (#20234) * Update ChangeLog.md * Update src/Compute/Compute/ChangeLog.md Co-authored-by: Beisi Zhou <[email protected]> * {SQL} Fix #11023: Fix incorrect input type object reference (#20242) * {SQL} Fix #11023: Fix incorrect input type object reference Fixes #11023 * Update Restore-AzSqlInstanceDatabase.md * The example was using the wrong command (#20237) * Move StackHCI to main (#20253) * Fixed `Set-AzPolicySetDefinition` InternalServerError when the initiative is too large [#20238] (#20252) Co-authored-by: Xuejun Li <[email protected]> * [AKS] support NodeLabels and Tags (#20240) * [AKS] support NodeLabels * [AKS] support Tags * rename input parameters to singular nouns * remove Install-AzAksKubectl.md * Update docs.microsoft.com to learn.microsoft.com. (#20290) * Update URL of docs from docs.microsoft.com to learn.microsoft.com. (#20263) * [main - RedisCache|RedisEnterpriseCache|Relay|Reservations|ResourceGraph] domain name of online doc is changed from docs.microsoft.com to learn.microsoft.com. (#20286) * [main - NetworkFunction|Nginx|NotificationHubs|OperationalInsights|Orbital] domain name of online doc is changed from docs.microsoft.com to learn.microsoft.com. (#20283) * [main - ManagedServiceIdentity|ManagedServices|ManagementPartner|Maps|MariaDb] domain name of online doc is changed from docs.microsoft.com to learn.microsoft.com. (#20280) * [main - DeviceUpdate|DevSpaces|DevTestLabs|DigitalTwins|DiskPool] domain name of online doc is changed from docs.microsoft.com to learn.microsoft.com. (#20273) * [main - DataShare|DedicatedHsm|DeploymentManager|DesktopVirtualization|DeviceProvisioningServices] domain name of online doc is changed from docs.microsoft.com to learn.microsoft.com. (#20272) * [main - Dashboard|DataBox|DataBoxEdge|Databricks|Datadog] domain name of online doc is changed from docs.microsoft.com to learn.microsoft.com. (#20270) * Update ChangeLog.md (#20254) * Update ChangeLog.md * Update src/StackHCI/ChangeLog.md Co-authored-by: Beisi Zhou <[email protected]> Co-authored-by: Beisi Zhou <[email protected]> * Implementation of interface IPSCmdletAction for test coverage (#19904) * Added implementation for interface ITestCoverage and registered in Azure session * Updated the reference of Azure PowerShell Common to 1.3.65-preview * Renamed environment variable from Azure_PS_TestCoverage to EnableTestCoverage * [Synapse] Support for setting spark pool configuration by artifact (#20024) * Updated and to support for setting spark pool configuration artifact by * add announce for deprecation of SparkConfigFilePath * modify change log * Enable token cache for client assertion login flow (#20297) * Add client assert code for upcoming change * cache token for client assertion * work around AssemblyInformationalVersion issue * changelog * Update README.md Co-authored-by: dingmeng-xue <[email protected]> * Move StackHCI to main (#20306) * update changelog (#20312) * Migrate SignalR from generation to main (#20230) * Move SignalR to main * Update ChangeLog.md * Update SignatureIssues.csv * Update SignatureIssues.csv Co-authored-by: Beisi Zhou <[email protected]> * Migrate ServiceBus from generation to release-2022-12-06 (#20316) * Move ServiceBus to release-2022-12-06 * Update ChangeLog.md * Update SignatureIssues.csv * Update ChangeLog.md Co-authored-by: Beisi Zhou <[email protected]> Co-authored-by: NanxiangLiu <[email protected]> * Migrate EventHub from generation to release-2022-12-06 (#20315) * Move EventHub to release-2022-12-06 * Update ChangeLog.md * Update SignatureIssues.csv * Update ChangeLog.md Co-authored-by: Beisi Zhou <[email protected]> Co-authored-by: NanxiangLiu <[email protected]> * [AKS] support NodeTaints and AksCustomHeaders (#20319) * [AKS] support NodeTaints * [AKS] support AksCustomHeader * [RecoveryServices.Backup] Added support for passing DiskEncryptionSetId for Cross region restore (#20295) * Added CZR test case added CRR DES support re-recorded failed test * fixing the issue in playback mode * Update New-AzADAppCredential.md (#20317) Clarify examples. Also fixes the "Unable to get certificate thumbprint" issue in the portal, by giving an example of passing $CertificateThumbprint variable to the -CustomKeyIdentifier parameter. Co-authored-by: NanxiangLiu <[email protected]> * {DesktopVitualization} Fix #20307: Update examples and add default values (#20322) Fixes #20307 Co-authored-by: NanxiangLiu <[email protected]> * Typo "resouce"→"resource" (#20321) https://learn.microsoft.com/en-us/powershell/module/az.datafactory/add-azdatafactoryv2dataflowdebugsessionpackage?view=azps-9.1.0 https://github.com/Azure/azure-powershell/blob/main/src/DataFactory/DataFactoryV2/help/Add-AzDataFactoryV2DataFlowDebugSessionPackage.md #PingMSFTDocs Co-authored-by: NanxiangLiu <[email protected]> * Enable AzKeyStore with keyring in Linux (#20296) * Enable AzKeystore with keyring in Linux * Update common library version. * Upgraded reference of azure-powershell-common to 1.3.67-preview Co-authored-by: Vincent Dai <[email protected]> Co-authored-by: NanxiangLiu <[email protected]> * Move StackHCI to release-2022-12-06 (#20337) * Show ExpressRouteGatewayBypass and EnablePrivatelinkFastPath Properties in VirtualNetworkGatewayConnection Resource (#20333) * Revert "Enable AzKeyStore with keyring in Linux (#20296)" (#20332) This reverts commit 97452c6. Co-authored-by: NanxiangLiu <[email protected]> * Fix test failure (#20342) * disable token cache for service principal (#20336) Co-authored-by: NanxiangLiu <[email protected]> Co-authored-by: Jin Lei <[email protected]> * Upgraded reference of azure-powershell-common to 1.3.67-preview (#20329) * Upgraded reference of azure-powershell-common to 1.3.67-preview * Update Common.Netcore.Dependencies.targets * Update ChangeLog.md Co-authored-by: NanxiangLiu <[email protected]> Co-authored-by: Beisi Zhou <[email protected]> * Move Monitor to release-2022-12-06 (#20348) * CosmosDB Mongo API RBAC Release (#19595) * Add SDK source code * Update AssemblyInfo.cs * generated code * build fix * mongo rbac changes * update test records * Update New-AzCosmosDBMongoDBPrivilege.md * Update New-AzCosmosDBMongoDBPrivilege.md * Update New-AzCosmosDBMongoDBPrivilege.md * Update New-AzCosmosDBMongoDBPrivilegeResource.md * Update New-AzCosmosDBMongoDBRole.md * update help * update recordings * update recordings * update static analysis * Cosmos DB Service related changes * Added help files * Resolved nit * Static Analysis another nit * Update Az.CosmosDB.psd1 * Added service tests recording * Update ExampleIssues.csv * Update ExampleIssues.csv * Update New-AzCosmosDBAccount.md * Delete ExampleIssues.csv * Update New-AzCosmosDBMongoDBRoleDefinition.md Added backtick for cmdlets in examples that were separated in multi-lines * Update New-AzCosmosDBMongoDBUserDefinition.md * Update Update-AzCosmosDBMongoDBRoleDefinition.md * Update Update-AzCosmosDBMongoDBUserDefinition.md * update examples Co-authored-by: dingmeng-xue <[email protected]> Co-authored-by: Praful Johari <[email protected]> Co-authored-by: Vincent Dai <[email protected]> Co-authored-by: Yunchi Wang <[email protected]> Co-authored-by: NanxiangLiu <[email protected]> * 2022-12-06 (#20318) * update changelog Co-authored-by: htippanaboya <[email protected]> Co-authored-by: Beisi Zhou <[email protected]> Co-authored-by: Beisi Zhou <[email protected]> Co-authored-by: akshaym6 <[email protected]> Co-authored-by: Akshay Murali <[email protected]> Co-authored-by: Adishree Mazumder <[email protected]> Co-authored-by: Alex <[email protected]> Co-authored-by: wyunchi-ms <[email protected]> Co-authored-by: Yunchi Wang <[email protected]> Co-authored-by: Jin Lei <[email protected]> Co-authored-by: Dingmeng Xue <[email protected]> Co-authored-by: alon-microsoft <[email protected]> Co-authored-by: Alon Pelled <[email protected]> Co-authored-by: Yan Xu <[email protected]> Co-authored-by: Azure PowerShell <[email protected]> Co-authored-by: RakeshMohan-MSFT <[email protected]> Co-authored-by: NanxiangLiu <[email protected]> Co-authored-by: Yabo Hu <[email protected]> Co-authored-by: Mo Zaatar <[email protected]> Co-authored-by: Lucas Yao <[email protected]> Co-authored-by: Ajay1250 <[email protected]> Co-authored-by: Xuejun Li <[email protected]> Co-authored-by: Xuejun Li <[email protected]> Co-authored-by: Vincent Dai <[email protected]> Co-authored-by: YanjunGao <[email protected]> Co-authored-by: Yeming Liu <[email protected]> Co-authored-by: lijinpei2008 <[email protected]> Co-authored-by: Himanshu Agarwal <[email protected]> Co-authored-by: Robin Malik <[email protected]> Co-authored-by: Hiroshi Yoshioka <[email protected]> Co-authored-by: Jesus Arango <[email protected]> Co-authored-by: Ashwini Singh <[email protected]> Co-authored-by: Praful Johari <[email protected]>
Updated
New-AzSynapseSparkPool
andUpdate-AzSynapseSparkPool
to support for setting spark pool configuration artifact by-SparkCongifuration
, parameter-SparkConfigFilePath
is deprecated now.Checklist
CONTRIBUTING.md
and reviewed the following information:generation
branch.ChangeLog.md
file(s) appropriatelyChangeLog.md
file can be found atsrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
## Upcoming Release
header in the past tense. Add changelog in description section if PR goes intogeneration
branch.ChangeLog.md
if no new release is required, such as fixing test case only.