Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pan3793 committed Dec 29, 2023
1 parent a4c90cc commit 0ad0d29
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class HiveSQLEngine extends Serverable("HiveSQLEngine") {
// Start engine self-terminating checker after all services are ready and it can be reached by
// all servers in engine spaces.
backendService.sessionManager.startTerminatingChecker(() => {
selfExist = true
selfExited = true
stop()
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ object ApplicationMaster extends Logging {
yarnConf = KyuubiHadoopUtils.newYarnConfiguration(kyuubiConf)
Utils.addShutdownHook(() => {
if (!unregistered) {
if (currentEngine != null && currentEngine.selfExist) {
if (currentEngine != null && currentEngine.selfExited) {
finalMsg = "Kyuubi Application Master is shutting down."
finalStatus = FinalApplicationStatus.SUCCEEDED
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ abstract class Serverable(name: String) extends CompositeService(name) {

private val started = new AtomicBoolean(false)

var selfExist = false
var selfExited = false

val backendService: AbstractBackendService

Expand Down

0 comments on commit 0ad0d29

Please sign in to comment.