Hello James Li,
Thank you for posting your question in the Microsoft Q&A forum.
Your intermittent failures with error codes 12007 and file access issues suggest a problem with Synapse's ability to reliably access storage resources. These symptoms typically indicate one of the following underlying issues:
- Storage Connectivity Problems: The Spark pool is losing connection to your Azure Data Lake Storage (ADLS) account where the files reside.
- Authentication/Authorization Issues: Temporary failures in the credential chain between Synapse and storage
- Resource Contention: While you've scaled up cores, there may be throttling at the storage layer
Few configurations may help to resolve the issue:
Verify Storage Account Health:
- Check Azure Service Health for any storage-related incidents
- Review storage account metrics for throttling or latency spikes
- Ensure you're not hitting storage account request limits
Authentication Review:
- Confirm your linked service credentials haven't expired
- Check if Managed Identity permissions were modified
- Test with fresh storage account SAS tokens if used
Spark Pool Configuration:
- While you scaled cores, also check:
- Spark session timeout settings
- Driver memory allocation
- Dynamic executor allocation settings
Network Considerations:
- Verify no NSG or firewall changes affecting Synapse-storage communication
- Check if VNet integration is properly configured if used
Microsoft Support can help investigate the specific error 12007 (typically a DNS resolution or network connectivity issue) if internal troubleshooting doesn't resolve it.
If the above answer helped, please do not forget to "Accept Answer" as this may help other community members to refer the info if facing a similar issue. Your contribution to the Microsoft Q&A community is highly appreciated.