Archive | ELT RSS feed for this section

Azure Data Factory Region Detection

23 Dec

If you are building an Azure Data Factory (ADF) pipeline and receive an error that contains this message when your pipeline is executed:

Failed to detect region of linked service

or

Failed to detect the region for

… then you may be running into a situation where the Data Movement Service (DMS) feature of ADF is either not able to detect the region of the data store or there is no DMS in that region.

The Data Movement Service of ADF is the Azure-managed cloud service (PaaS) that performs scale-out data movement at elastic scale. Azure handles all of the plumbing for moving Big Data for your data pipelines. You can see the locations available for Data Movement on the Azure Regions page (https://azure.microsoft.com/en-us/regions/services/). On the screenshot of that page below you’ll see that the Data Factory service has several sub-services. The Data Factory service stores your factory account metadata while the Movement, Activity Dispatch and SSIS IR are separate managed services that have their own region deployments. It is the Data Movement service in those regions that perform the heavy lifting of moving your data and that is where you should focus to bypass the error.

regions

In the V1 original ADF service, there is a property on the Linked Services definition that allows you to explicitly tell ADF the location of your data store (executionLocation). This is taken directly from the online Azure documentation for ADF (https://docs.microsoft.com/en-us/azure/data-factory/v1/data-factory-data-movement-activities#global):

For example, to copy between Azure stores in Korea, you can specify "executionLocation": "Japan East" to route through Japan region (see sample JSON as reference).
Note

If the region of the destination data store is not in preceding list or undetectable, by default Copy Activity fails instead of going through an alternative region, unless executionLocation is specified. The supported region list will be expanded over time.

In the new V2 ADF service, the Integration Runtime (IR) feature is the primary way to move data in the cloud or on-prem. So, you may have to explicitly tell ADF about the location of your data source by creating an IR in your data store region and then reference that IR in your Linked Services definition using the new “connectVia” property. If you do not specify an explicit IR reference, then ADF will use a “default IR” which may not be able to resolve the location.

First, create an Integration Runtime in the region where your data store is located:

https://docs.microsoft.com/en-us/azure/data-factory/create-azure-integration-runtime#create-azure-ir

Then add the

connectVia

property to your Linked Service using a reference to that new IR:

https://docs.microsoft.com/en-us/azure/data-factory/concepts-datasets-linked-services#linked-service-json

Advertisements

Microsoft Announces Preview of Azure Data Factory (ADF) V2

25 Sep

This week at the Microsoft Ignite conference in Orlando, we announced the public preview of new features in ADF and released them bundled as ADF V2. You can go to the Azure portal now, select Data Factory and choose V1 or V2 from the Version picker in the new Factory blade.

The overview of the new service is in our docs page here and I’ve compiled a list of new scenarios, use cases and features enabled in ADF V2 here on SQL Pro mag.

Very exciting new features are enabled like flexible scheduling, control flow, on-demand Spark execution and SSIS packaged execution in the cloud.

To get started, I recommend the Quickstarts for Powershell and these tutorials:

Provision SSIS in the Cloud on ADF

ADF Incremental Data Load

Transform Data Inside Virtual Network

cbailiss

Microsoft SQL/BI and other bits and pieces

TIME

Current & Breaking News | National & World Updates

Tech Ramblings

My Thoughts on Software

SQL Authority with Pinal Dave

SQL Server Performance Tuning Expert

Insight Extractor - Blog

Paras Doshi's Blog on Analytics, Data Science & Business Intelligence.

The SQL Herald

Databases et al...

Chris Webb's BI Blog

Microsoft Analysis Services, MDX, DAX, Power Pivot, Power Query and Power BI

Bill on BI

Info about Business Analytics and Pentaho

Big Data Analytics

Occasional observations from a vet of many database, Big Data and BI battles

Blog Home for MSSQLDUDE

The life of a data geek