Skip to content

Commit

Permalink
增加kill all方法调用
Browse files Browse the repository at this point in the history
  • Loading branch information
peacewong committed Jan 15, 2025
1 parent d25f96c commit c53ab7d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -348,10 +348,12 @@ class JDBCEngineConnExecutor(override val outputPrintLimit: Int, val id: Int)

override def close(): Unit = {
logger.info("Start closing the jdbc engine.")
Utils.tryQuietly(killAll())
connectionManager.close()
if (JDBCConfiguration.JDBC_KERBEROS_ENABLE.getValue) {
connectionManager.shutdownRefreshKerberosLoginService()
}

logger.info("The jdbc engine has closed successfully.")
}

Expand Down

0 comments on commit c53ab7d

Please sign in to comment.