Receiving a timeout exception

If you receive a timeout exception, the script has not produced an output within the configured time period.

These are three common reasons for receiving the exception:

  • The scripting executor has crashed without producing any result. This situation is not yet handled at the scripting level, so a timeout is received for the computation.
  • The script takes too long to be computed in time.
  • The scripting engine has no available resources to compute the request. Lightweight (K8s) executor scales well, but has limited resources, mainly memory. EMR executor can be used to compute scripts using Spark API, but there is a pre-configured number of instances only, and an instance can be allocated only to a single tenant. The scripting engine chooses the executor automatically.