Closed jia-zhengwei closed 8 months ago
If I do batch delete operation for batch id 22f87ccc-9f20-4346-ba7e-025b644d4b7b
, it returns as follow, but the session id 22f87ccc-9f20-4346-ba7e-025b644d4b7b
is deleted, the batch id 22f87ccc-9f20-4346-ba7e-025b644d4b7b
is not be deleted. this batch job is finished.
{
"success": false,
"msg": "batch 22f87ccc-9f20-4346-ba7e-025b644d4b7b is already terminal so can not kill it."
}
@turboFei Hello, bro, please help to double check
yes, it is by design.
Because if the batch session closed, you can not retrieve the batch log from server side.
So, we have to keep the batch session alive until it is closed caused by idle timeout.
yes, it is by design.
Because if the batch session closed, you can not retrieve the batch log from server side.
So, we have to keep the batch session alive until it is closed caused by idle timeout.
OK, got it, Thanks. I will close this issue. But I suggest the idle timeout can set by batch api. not set global.
As @turboFei said. https://github.com/apache/kyuubi/issues/6026#issuecomment-1917905709
Code of Conduct
Search before asking
Describe the bug
Sumbit spark job by kyuubi batch rest api, the batch session is not closed after the spark job finished.
And if I do not call batch DELETE api and session DELETE api, the batch session will not close untill
kyuubi.batch.session.idle.timeout
and if it support to configkyuubi.batch.session.idle.timeout
by batch API?Affects Version(s)
1.7.1
Kyuubi Server Log Output
No response
Kyuubi Engine Log Output