How to fix the Pipeline which is running as expected in ADF dev, post which I have published the pipeline (and associated objects) to ADF Prod it fails.

Bhosle, Nikhil 0 Reputation points
2024-04-15T05:16:08.8066667+00:00

Hello Team,

 

I have build ADF pipeline to load data from source (SQL server) to ADLS.

Pipeline is running as expected in ADF dev, post which I have published the pipeline (and associated objects) to ADF Prod.

 

But while running the pipeline (Debug), the jobs runs for long time and fails doing nothing. (1hr 40mins)

 

Error msg:

Operation on target ForEach_Table failed: Activity failed because an inner activity failed; Inner activity name: Load data source to ADLS, Error: ErrorCode=SystemErrorActivityRunExecutedMoreThanOnce,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=The activity run failed due to service internal error, please retry this activity run later.,Source=Microsoft.DataTransfer.TransferTask,'

User's image

Thanks in Advance.

Regards,

Nikhil

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,579 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Harishga 3,425 Reputation points Microsoft Vendor
    2024-04-15T08:31:20.21+00:00

    Hi @Bhosle, Nikhil
    Welcome to Microsoft Q&A platform and thanks for posting your question here.

    It is possible that the pipeline is working in the development environment but not in the production environment due to differences in the configuration of the two environments. You should check the configuration settings of both environments and ensure that they are the same.

    Regarding the long running time of the pipeline, it could be due to various reasons such as network latency, data volume, or resource constraints. You should monitor the pipeline run and optimize the pipeline by using techniques such as partitioning, compression, or caching.

    The error message you have shared states that the ForEach_Table activity failed due to an inner activity failure. This error can occur due to various reasons such as network issues, credential failures, or service outages. You should check the logs and monitor the pipeline run to identify the root cause of the issue.

    To resolve this issue, you can try the following steps:

    • Check the configuration settings of both environments and ensure that they are the same.
    • Monitor the pipeline run and optimize the pipeline by using techniques such as partitioning, compression, or caching.
    • Check the logs and monitor the pipeline run to identify the root cause of the issue.
    • Retry running the pipeline in production multiple times to check if the issue is a one-time occurrence. ADF has a retry mechanism that can potentially fix the problem on subsequent attempts.
    • Ensure that the Integration Runtime is running and connected to the correct network with the necessary permissions and credentials to access the required resources.

    I hope this information helps you. Let me know if you have further questions.

    1 person found this answer helpful.
    0 comments No comments

  2. Bhosle, Nikhil 0 Reputation points
    2024-04-18T12:34:12.8633333+00:00

    Hello Team,

    I checked the conf for both dev and prd and it same. Is their anything else i need to check?

    User's image

    Regards,

    Nikhil