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

The Maia runner was told to shut down while it was running a component in your pipeline, and it was stopped before it could finish. This usually follows a deployment, a scale-in event, or a node replacement.

Potential causes

  • A deployment or rolling update replaced the Maia runner while pipelines were running.
  • An autoscaler removed an instance that still had active work.
  • The shutdown grace period on your platform is shorter than your longest-running component.
  • A spot or preemptible node was reclaimed.

Resolve the error

  1. Compare the failure time with your deployment history and autoscaling events for the Maia runner.
  2. Increase the termination grace period so it covers your longest-running component (for example, terminationGracePeriodSeconds in Kubernetes or stopTimeout in Amazon Elastic Container Service).
  3. Schedule deployments and node maintenance outside the times your pipelines run, or pause schedules first.
  4. Avoid spot or preemptible nodes for Maia runners that run long jobs.
  5. Re-run the failed pipeline.
  6. If you still need help, contact Maia Support and include the items listed below.
    • The time of the shutdown event.
    • What triggered the shutdown, if known.

Prevent future errors

To prevent this error occurring again: