JoonPark1 commented on PR #7262:
URL: https://github.com/apache/kyuubi/pull/7262#issuecomment-3633535838
@turboFei So, basically Fei, you updated the recoveryBatches() method so
that by sourcing in this newly introduced property
kyuubi.session.engine.startup.waitCompletion forces it so that when enabled,
the batch recovery task for specific batch job doesn't return and blocks until
the associated application actually executes from associated compute engine
spin up by kyuubi server? Is this so that the kyuubi server isn't throttled
from too many batches being recovered by `recoveryNumThreads` sized threadpool
trying to recovery too many at once, because it can early return too often
concurrently without the batch job actually being recovered?
```
if (recoveryWaitAppSubmission) {
info(s"Waiting for batch[$batchId] application submission
during recovery")
val batchOp = batchSession.batchJobSubmissionOp
while (!batchOp.appStarted &&
!OperationState.isTerminal(batchOp.getStatus.state)) {
Thread.sleep(300)
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]