GitHub user ruanwenjun created a discussion: What is the best practice to kill the connection when spark driver lack resources to launch driver
Hi team, We use Kyuubi JDBC driver to submit Spark SQL. I find when the Kyuubi create a connection, it will submit a Spark driver and wait the driver launched. If the cluster lacks sufficient resources to launch the Spark driver, then the connection will not return, so the thread will be blocked. Then if I want to kill the `connection`, and submit the Spark SQL to another cluster which has sufficient resources, I need to wait the driver launched or the launched timeout. Is there a good practice to achieve this? For example, interrupting the connection create thread. GitHub link: https://github.com/apache/kyuubi/discussions/7242 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
