Troubleshooting¶
Alation Cloud Service Applies to Alation Cloud Service instances of Alation
Customer Managed Applies to customer-managed instances of Alation
Enhanced Connector Enhanced connectors add extended capabilities and require a separate entitlement in addition to your Alation platform license.
API Endpoints¶
The connector uses the following APIs. Use tools like Postman or curl to verify you can successfully call these endpoints from the connector host.
MaxCompute OpenAPI (Metadata Extraction):
GET /api/v1/projects- List projectsGET /api/v1/projects/{projectName}- Get project detailsGET /api/v1/projects/{projectName}/tables- List tablesGET /api/v1/projects/{projectName}/tables/{tableName}- Get table infoGET /api/v1/projects/{projectName}/functions- List functions
DataWorks Public API (Lineage Extraction):
POST ListProjects- List DataWorks projectsPOST ListDataSources- List data sources in a projectPOST ListTables- List tables in Data MapPOST ListColumns- List columns for a tablePOST ListLineages- Get lineage relationshipsPOST GetTaskInstance- Get task instance details (script content, status, owner)POST ListNodes- List scheduling nodes (script name, path, cron)
Common Issues and Solutions¶
Connection Failures¶
Problem¶
Failed to connect to MaxCompute service
Solution¶
Verify Access Key ID and Access Key Secret are correct.
Check that the RAM user has the required permissions.
Ensure the region setting matches your MaxCompute deployment.
Verify network connectivity to Alibaba Cloud endpoints.
Check if firewall rules allow outbound HTTPS connections.
Authentication Errors¶
Problem¶
Authentication failed or permission denied
Solution¶
Verify the Access Key credentials are active and not expired.
Check that the RAM user has the required policies attached:
AliyunMaxComputeFullAccess for metadata extraction
AliyunDataWorksFullAccess for lineage extraction
Ensure the RAM user has access to the specific MaxCompute projects.
Missing Lineage¶
Problem¶
Lineage extraction returns no relationships
Solution¶
Verify DataWorks permissions for the RAM user.
Check if DataWorks Data Map is enabled for the workspace.
Ensure tables have actual data lineage relationships in your environment.
Verify MaxCompute projects are registered as data sources in DataWorks.
Check if Enable Column Lineage is active (if column lineage is expected).
API Rate Limiting¶
Problem¶
Extraction fails with rate limit or throttling errors
Solution¶
Enable API Rate Limiting in General Settings to cap API calls at 40 QPS.
Reduce the Parallel Thread Count if parallel processing is enabled.
Schedule extractions during off-peak hours.
Contact Alibaba Cloud to increase your DataWorks API quota (Enterprise edition supports 50 QPS).
Slow Extraction Performance¶
Problem¶
Metadata extraction is slow or times out
Solution¶
Enable Parallel Processing and set an appropriate thread count (4-10).
Use Table Name Filter (Contains) to reduce the scope of extraction.
Deactivate Enable Column Lineage if not required.
Check network latency to Alibaba Cloud endpoints.
Consider extracting projects in batches using project selection.
Extraction Job Status¶
The extraction job status table logs the following statuses:
Status |
Description |
|---|---|
Did Not Start |
The extraction did not start due to configuration or other issues. |
Succeeded |
The extraction completed successfully. |
Partial Success |
The extraction completed with warnings. Some objects were skipped. |
Skipped |
The job was skipped because a previous extraction job was not completed. |
Failed |
The extraction failed with errors. |
Collecting Diagnostic Information¶
When contacting support, collect the following information:
Connector logs (set log level to DEBUG for detailed information)
Extraction job history and error messages
MaxCompute project and table counts
Alibaba Cloud region and account information (without credentials)
Network connectivity test results to Alibaba Cloud endpoints