The error AdlsGen2OperationFailed
with the message LeaseLost
means that the lease ID for the resource has expired. This can occur for several reasons as:
- The resource lease expired before the operation could be completed.
- The current operation failed because another process might have acquired or released the lease.
- It may also be due to network interruptions or delays may have led to the lease expiring before the operation could finish.
To get this issue resolved, please try the following:
- Please make sure to renew the lease periodically to avoid it expiring during extended operations.
- Please check that no other processes are interfering with the lease on the resource.
- Implement retry logic in your data transfer process to manage transient errors and lease expirations.
- Please ensure that the permissions for the Azure Data Lake Storage account are properly configured to allow the required operations.
Additional reference:
https://learn.microsoft.com/en-us/azure/data-factory/connector-troubleshoot-azure-data-lake
I hope this helps! Please let us know if you have any further quires, we will be glad to assist you closely.
Please do consider to “up-vote” wherever the information provided helps you, this can be beneficial to other community members.