Skip to main content

Error message

This error can appear when using the following components: Database Query, Python Script, SQL Script, and transformation components.

Explanation

A task was running when the Maia runner started shutting down, and the task didn’t complete in time.

Potential causes

  • The Maia runner was restarted, redeployed, or scaled in while the component was still running.
  • The component needed longer to finish than the shutdown grace period allows.

Resolve the error

  1. Check for a deployment, restart, or scale-in event on the Maia runner at the time of the failure.
  2. Increase the shutdown grace period to cover your longest-running components.
  3. Pause schedules or wait for running pipelines to finish before restarting the Maia runner.
  4. Re-run the pipeline.
  5. If you still need help, contact Maia Support and include the items listed below.
    • The full error text.
    • The root pipeline execution ID.
    • The Maia runner ID and the time of failure (UTC).

Prevent future errors

To prevent this error occurring again:
  • Split very long-running work into smaller components so each one completes within the grace period.
  • Run several instances and update them one at a time.