Hi ,
Thanks for reaching out to Microsoft Q&A.
The error "AdlsGen2OperationFailed... Failure happened on 'Sink' side" typically occurs due to connectivity or throttling issues between the source (SAP HANA) and the sink (adls gen2).
Possible Causes:
- The connection to ADLS Gen2 might be temporarily interrupted or throttled due to heavy traffic or resource contention during peak hours. Scheduled pipeline runs during high usage periods may cause resource strain.
- The pipelines may have high concurrency settings or are processing too many tables simultaneously, leading to contention for resources.
- The SAP HANA source or ADLS Gen2 sink might experience intermittent failures or maintenance-related issues.
- Errors like "An existing connection was forcibly closed by the remote host" indicate potential issues with the underlying network or socket connection.
Recommended Actions:
Enable Retry Logic:
- Configure retry settings in the pipeline activities to handle transient failures automatically.
- Increase the retry count and set a reasonable retry interval in the activity settings.
- Reduce the concurrency or parallelism of the pipeline to minimize resource contention during execution.
- Optimize Resource Utilization:
- If using Integration Runtime (IR), ensure it has sufficient capacity and is not overloaded during peak hours. Scale up the IR temporarily to handle morning loads more effectively.
- Check Azure Monitor or ADLS Gen2 metrics for throttling events.
- If throttling is observed, consider increasing ADLS Gen2's performance tier or optimizing the data volume and frequency.
- Validate Network Connectivity:
- Run a network diagnostic to ensure there are no packet losses or connection drops between SAP HANA and ADLS Gen2. Consider setting up a SHIR close to SAP HANA for better connectivity.
- Monitor and Debug Specific Failures:
- Capture logs of failed tables and analyze if there are patterns (file size, specific tables).
- Test failed table loads outside of peak hours to see if the issue persists.
Check File Naming or Overwrite Conflicts:
- Ensure there are no file overwrite conflicts caused by concurrent table writes. If necessary, implement unique file naming conventions or transactional handling for writes.
Quick Fix for Immediate Resolution:
- Since manual reruns are succeeding, schedule a retry or reprocess the failed tables immediately.
- Shift pipeline schedules to less busy periods, if feasible, to avoid high contention during peak hours.
Please feel free to click the 'Upvote' (Thumbs-up) button and 'Accept as Answer'. This helps the community by allowing others with similar queries to easily find the solution.