Synapse Spark pools get omitted in Synapse Workspace template

Minh NGUYEN 126 Reputation points
2021-01-20T17:19:28.697+00:00

Hi,

I'm using Azure DevOps to deploy Synapse Workspace in a release pipeline using 'Synapse workspace deployment' plugin. There's a Spark pool in my source Workspace but the target Workspace deployment fails half way through, when deploying a Spark job definition, with error: "The document creation or update failed because of invalid reference \'sparkpool1\'. Earlier in the logs, it deployed Dedicated SQL pool and SQL scripts successfully.

So I looked at the TemplateForWorkspace.json on the workspace_publish branch on GIT repo. There's no declaration of SparkPool1 as a resource. It is only referred once when it comes to the Spark job definition as "referenceName" in "properties".

It seems like an issue when generating the template when publishing the source Workspace.

Could you please advise on how I can solve this?

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,365 questions
{count} votes

1 answer

Sort by: Most helpful
  1. MartinJaffer-MSFT 26,021 Reputation points
    2021-03-03T18:44:07.577+00:00

    @Minh NGUYEN I heard back.

    The workspace deployment task in the devops is only for the artifacts deployment(non-arm call). For pools, the workspace resources(arm call), you need to have them ready before the artifacts deployment.
    Users can custom the parameters in the parameter file, and parameterize the pools’ properties.

    1 person found this answer helpful.