|
1 | 1 | --- |
2 | | -title: Migrating from Azure Synapse Spark to Fabric |
3 | | -description: Learn about migrating from Azure Synapse Spark to Microsoft Fabric, including key considerations and different migration scenarios. |
| 2 | +title: Overview of migrating Azure Synapse Spark to Fabric |
| 3 | +description: Learn how to migrate Azure Synapse Spark workloads to Microsoft Fabric, choose the right migration path, and navigate the available migration guidance. |
4 | 4 | ms.reviewer: aimurg |
5 | 5 | ms.topic: concept-article |
6 | 6 | ms.custom: |
7 | 7 | - fabric-cat |
8 | | -ms.date: 11/15/2023 |
| 8 | +ms.date: 04/28/2026 |
| 9 | +ai-usage: ai-assisted |
9 | 10 | --- |
10 | 11 |
|
11 | | -# Migrating from Azure Synapse Spark to Fabric |
| 12 | +# Overview of migrating Azure Synapse Spark to Fabric |
12 | 13 |
|
13 | | -Before you begin your migration, you should verify that [Fabric Data Engineering](data-engineering-overview.md) is the best solution for your workload. Fabric Data Engineering supports [lakehouse](lakehouse-overview.md), [notebook](how-to-use-notebook.md), [environment](create-and-use-environment.md), [Spark job definition (SJD)](spark-job-definition.md) and [pipeline](../data-factory/data-factory-overview.md) items, including different runtime and Spark capabilities support. |
| 14 | +Use this article as the starting point for migrating Azure Synapse Spark workloads to Microsoft Fabric. It helps you decide which guidance to use, what can be migrated directly, and where manual refactoring or validation is still required. |
14 | 15 |
|
15 | | -## Key considerations |
| 16 | +Fabric Data Engineering supports [lakehouse](lakehouse-overview.md), [notebook](how-to-use-notebook.md), [environment](create-and-use-environment.md), [Spark job definition](spark-job-definition.md), and [pipeline](../data-factory/data-factory-overview.md) items. Most Synapse Spark migrations involve some combination of item migration, data access changes, metadata migration, code refactoring, and post-migration validation. |
16 | 17 |
|
17 | | -The initial step in crafting a migration strategy is to assess suitability. It's worth noting that certain Fabric features related to Spark are currently in development or planning. For more details and updates, visit the [Fabric roadmap](https://aka.ms/fabricrm). |
| 18 | +## Before you migrate |
18 | 19 |
|
19 | | -For Spark, see a detailed comparison [differences between Azure Synapse Spark and Fabric](comparison-between-fabric-and-azure-synapse-spark.md). |
| 20 | +Before you begin, confirm that Fabric Data Engineering is the right destination for your workload. Review the Spark runtime, security model, pool model, environment model, and data access patterns that your current Synapse implementation depends on. |
20 | 21 |
|
21 | | -## Migration scenarios |
| 22 | +Start with these articles: |
22 | 23 |
|
23 | | -If you determine that Fabric Data Engineering is the right choice for migrating your existing Spark workloads, the migration process can involve multiple scenarios and phases: |
| 24 | +- [Compare Fabric and Azure Synapse Spark: Key Differences](comparison-between-fabric-and-azure-synapse-spark.md) |
| 25 | +- [Phase 1: Migration strategy and planning](synapse-migration-strategy-planning.md) |
24 | 26 |
|
25 | | -* **Items**: Items migration involves the transfer of one or various items from your existing Azure Synapse workspace to Fabric. Learn more about migrating [Spark pools](migrate-synapse-spark-pools.md), [Spark configurations](migrate-synapse-spark-configurations.md), [Spark libraries](migrate-synapse-spark-libraries.md), [notebooks](migrate-synapse-notebooks.md), and [Spark job definition](migrate-synapse-spark-job-definition.md). |
26 | | -* **Data and pipelines**: Using [OneLake shortcuts](../onelake/create-adls-shortcut.md), you can make ADLS Gen2 data (linked to an Azure Synapse workspace) available in Fabric lakehouse. Pipeline migration involves moving existing pipelines to Fabric, including notebook and Spark job definition pipeline activities. Learn more about [data and pipelines migration](migrate-synapse-data-pipelines.md). |
27 | | -* **Metadata**: Metadata migration involves moving Spark catalog metadata (databases, tables, and partitions) from an existing Hive MetaStore (HMS) in Azure Synapse to Fabric lakehouse. Learn more about [HMS metadata migration](migrate-synapse-hms-metadata.md). |
28 | | -* **Workspace**: Users can migrate an existing Azure Synapse workspace by creating a new workspace in Microsoft Fabric, including metadata. Workspace migration isn't covered in this guidance, assumption is that users need to [create a new workspace](../fundamentals/create-workspaces.md) or have an existing Fabric workspace. Learn more about [workspace roles](../fundamentals/roles-workspaces.md) in Fabric. |
| 27 | +If you're migrating an existing Synapse workspace, plan to create or use an existing Fabric workspace as the migration target. This article doesn't cover full workspace provisioning or non-Spark workload migration. |
| 28 | + |
| 29 | +## What can you migrate? |
| 30 | + |
| 31 | +Synapse-to-Fabric migration usually spans several workstreams. |
| 32 | + |
| 33 | +| **Migration area** | **Typical scope** | **Primary guidance** | |
| 34 | +|----|----|----| |
| 35 | +| **Planning and assessment** | Inventory Spark pools, notebooks, Spark Job Definitions, lake databases, linked services, and blockers | [Phase 1: Migration strategy and planning](synapse-migration-strategy-planning.md) | |
| 36 | +| **Items, code refactoring, pools, configs, and libraries** | Notebooks, Spark Job Definitions, Spark pools, lake database mappings, `mssparkutils`, linked services, file paths, catalog APIs, connector auth, environments, custom pools, Spark properties, library compatibility | [Phase 2: Spark workload migration](synapse-migration-spark-workloads.md) | |
| 37 | +| **Hive Metastore and lake metadata** | Databases, tables, partitions, managed vs. external tables | [Phase 3: Hive Metastore and data migration](synapse-migration-hms-data.md) | |
| 38 | +| **Data access and pipelines** | OneLake shortcuts, ADLS Gen2 access, copy activities, pipeline migration | [Migrate data and pipelines](migrate-synapse-data-pipelines.md) | |
| 39 | +| **Security, validation, and cutover** | Roles, connections, governance, verification, cutover planning | [Phase 4: Security and governance migration](synapse-migration-security-validation-cutover.md) | |
| 40 | + |
| 41 | +## Choose your migration path |
| 42 | + |
| 43 | +Use the path that matches your goal. |
| 44 | + |
| 45 | +- **You need an end-to-end migration plan.** Start with the 4-phase best practices series. This is the best entry point for most production migrations. |
| 46 | +- **You want to move supported Spark items quickly.** Start with the [Spark Migration Assistant](synapse-to-fabric-spark-migration-assistant.md) and then use the refactoring and validation articles to close the gaps. |
| 47 | +- **You only need help with one area.** Use the task-specific articles for notebooks, Spark Job Definitions, pools, libraries, Hive Metastore metadata, or data/pipeline migration. |
| 48 | + |
| 49 | +## Recommended reading order |
| 50 | + |
| 51 | +For most teams, the fastest way to approach a Synapse Spark migration is: |
| 52 | + |
| 53 | +1. Review [Compare Fabric and Azure Synapse Spark: Key Differences](comparison-between-fabric-and-azure-synapse-spark.md). |
| 54 | +1. Read [Phase 1: Migration strategy and planning](synapse-migration-strategy-planning.md). |
| 55 | +1. Run the [Spark Synapse to Fabric Spark Migration Assistant](synapse-to-fabric-spark-migration-assistant.md) where applicable. |
| 56 | +1. Refactor notebooks, Spark jobs, pools, and libraries using [Phase 2: Spark workload migration](synapse-migration-spark-workloads.md). |
| 57 | +1. Validate data access, metadata, security, and cutover readiness using the remaining best-practices articles. |
29 | 58 |
|
30 | 59 | :::image type="content" source="media\migrate-synapse\migration-scenarios.png" alt-text="Screenshot showing the migration scenarios." lightbox="media/migrate-synapse/migration-scenarios.png"::: |
31 | 60 |
|
32 | | -Transitioning from Azure Synapse Spark to Fabric Spark requires a deep understanding of your current architecture and the differences between Azure Synapse Spark and Fabric. The first crucial step is an assessment, followed by the creation of a detailed migration plan. This plan can be customized to match your system's unique traits, phase dependencies, and workload complexities. |
| 61 | +Migration from Synapse Spark to Fabric is usually a copy-and-adapt process rather than a direct in-place move. You can migrate many assets quickly, but you should still expect to validate runtime behavior, replace Synapse-specific integrations, and align security, metadata, and operational patterns with Fabric. |
| 62 | + |
| 63 | +## Best practices series |
| 64 | + |
| 65 | +Use the best practices series for a structured, end-to-end migration path: |
| 66 | + |
| 67 | +- [Phase 1: Migration strategy and planning](synapse-migration-strategy-planning.md) |
| 68 | +- [Phase 2: Spark workload migration](synapse-migration-spark-workloads.md) |
| 69 | +- [Phase 3: Hive Metastore and data migration](synapse-migration-hms-data.md) |
| 70 | +- [Phase 4: Security and governance migration](synapse-migration-security-validation-cutover.md) |
| 71 | + |
| 72 | +## Task-specific migration articles |
| 73 | + |
| 74 | +If you need targeted guidance for a specific migration task, use these articles: |
| 75 | + |
| 76 | +- [Spark Synapse to Fabric Spark Migration Assistant](synapse-to-fabric-spark-migration-assistant.md) |
| 77 | +- [Migrate Azure Synapse notebooks to Fabric](migrate-synapse-notebooks.md) |
| 78 | +- [Migrate Spark Job Definitions from Azure Synapse to Fabric](migrate-synapse-spark-job-definition.md) |
| 79 | +- [Migrate Spark Pools from Azure Synapse to Fabric](migrate-synapse-spark-pools.md) |
| 80 | +- [Migrate Spark configurations from Azure Synapse to Fabric](migrate-synapse-spark-configurations.md) |
| 81 | +- [Migrate Spark Libraries from Azure Synapse to Fabric](migrate-synapse-spark-libraries.md) |
| 82 | +- [Migrate Hive Metastore metadata](migrate-synapse-hms-metadata.md) |
| 83 | +- [Migrate data and pipelines](migrate-synapse-data-pipelines.md) |
33 | 84 |
|
34 | 85 | ## Related content |
35 | 86 |
|
36 | | -- [Fabric vs. Azure Synapse Spark](comparison-between-fabric-and-azure-synapse-spark.md) |
37 | | -- Learn more about migration options for [Spark pools](migrate-synapse-spark-pools.md), [configurations](migrate-synapse-spark-configurations.md), [libraries](migrate-synapse-spark-libraries.md), [notebooks](migrate-synapse-notebooks.md) and [Spark job definition](migrate-synapse-spark-job-definition.md) |
| 87 | +- [Compare Fabric and Azure Synapse Spark: Key Differences](comparison-between-fabric-and-azure-synapse-spark.md) |
| 88 | +- [Phase 1: Migration strategy and planning](synapse-migration-strategy-planning.md) |
| 89 | +- [Spark Synapse to Fabric Spark Migration Assistant](synapse-to-fabric-spark-migration-assistant.md) |
| 90 | +- Learn more about migration options for [Spark pools](migrate-synapse-spark-pools.md), [configurations](migrate-synapse-spark-configurations.md), [libraries](migrate-synapse-spark-libraries.md), [notebooks](migrate-synapse-notebooks.md), and [Spark job definition](migrate-synapse-spark-job-definition.md) |
38 | 91 | - [Migrate data and pipelines](migrate-synapse-data-pipelines.md) |
39 | 92 | - [Migrate Hive Metastore metadata](migrate-synapse-hms-metadata.md) |
0 commit comments