Job running FAQ

Updated at:

This topic describes common issues that occur when running MaxCompute jobs.

What causes MaxCompute jobs to run more slowly than expected, and how can the issues be resolved?

MaxCompute jobs may run more slowly than expected for three main reasons: insufficient resources, issues with the jobs themselves, or fallback to standard mode.

  • Insufficient resources

    • Jobs that use subscription computing resources may wait for resources and run slowly because of a large total volume of data processed by jobs, high resource requests, or low job priority.

      Use resource monitoring to view resource consumption. If resource usage consistently reaches the available resource limit, promptly use Job operations to optimize task execution, or adjust the computing resource configuration.

    • Jobs that use Pay-as-you-go Standard Edition computing resources compete for resources on demand in a shared resource pool, and resource usage cannot be specified. If too many jobs run at the same time, competition among multiple users may prevent the requested resources from being fully allocated and delay the results.

    • Jobs that use Spot Edition computing resources share a resource pool with Pay-as-you-go Standard Edition, and resource usage cannot be specified. When overall resource pool utilization is high and resources are contested, resources allocated to Spot jobs may be reduced or preempted, and the jobs may even be terminated.

  • Issues with the jobs themselves

    Issues with the jobs themselves include data skew, inefficient UDF execution, and data expansion. LogView can be used to identify specific issues with SQL jobs. For diagnostic methods, see Diagnose a job that runs slowly. For optimization methods, see computing optimization best practices.

  • Fallback to standard mode

    MaxCompute jobs can run in query acceleration mode or standard mode.

    Jobs that process large amounts of data and do not need to return query results can run only in standard mode. Their execution time therefore usually remains relatively stable when resources and the jobs themselves are operating normally.

    Interactive query jobs that process small amounts of data usually run in query acceleration mode, which is faster than standard mode. However, MaxCompute does not guarantee that query acceleration is used every time. A query acceleration job may therefore fall back to standard mode and take longer than previously expected.

What to do if the download button does not respond or loading is interrupted during approval-free result download in the MaxCompute console?

Use an incognito window in Chrome to rerun the code and download the results to rule out interference from browser cache or extensions.

Why does a scheduled task fail but succeed when manually re-run?

This issue is typically caused by fluctuations in source data. For example, during the early morning, a source such as Hologres may write dirty data that contains excessively long fields, causing an error because a buffer limit is exceeded when MaxCompute reads the data. After the dirty data is updated or cleaned, a manual rerun reads normal data and succeeds. Check the data quality and historical write records of the source.

How to troubleshoot the DATAX_R_ODPS_006 error when AccessKey retrieval fails in a DataWorks data synchronization task?

This error indicates that the AccessKey cannot be obtained. Follow these steps to troubleshoot the issue:

  1. Check the task's successful execution history and the time of failure.

  2. Check whether the source and destination data source configurations have changed.

  3. Check whether the task owner has changed. If the original owner's account is disabled, ensure that the new owner has the required permissions.

  4. Check the type of the currently signed-in account, such as a RAM account or role.

  5. After changing the task owner, resubmit and publish the task so that the new execution context takes effect.