Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[KYUUBI #5863] BatchJobSubmission close repeatedly #5864

Closed
wants to merge 11 commits into from
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ class KyuubiBatchSession(

override def close(): Unit = {
super.close()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

super.close() only closes running operations, so it does not include batchJobSubmissionOp before batchJobSubmissionOp runs.

batchJobSubmissionOp.close()
waitMetadataRequestsRetryCompletion()
sessionEvent.endTime = System.currentTimeMillis()
EventBus.post(sessionEvent)
Expand Down
Loading