For a multi-tenant cluster, its overall resource utilization is a KPI that measures how effectively its resource is utilized against its availability or capacity. To better improve the overall resource utilization of the cluster,
| Key | Default | Meaning | Type | Since |
|---|---|---|---|---|
| kyuubi.session.engine .check.interval | PT5M | The check interval for engine timeout | duration | 1.0.0 |
| kyuubi.session.engine .idle.timeout | PT30M | engine timeout, the engine will self-terminate when it's not accessed for this duration. 0 or negative means not to self-terminate. | duration | 1.0.0 |
The above two configurations can be used together to set the TTL of engines. These configurations are user-facing and able to use in JDBC urls. Note that, for connection share level engines that will be terminated at once when the connection is disconnected, these configurations not necessarily work in this case.
Executor TTL is part of functionality of Apache Spark's Dynamic Resource Allocation.