hutiefang76 opened a new pull request, #7521: URL: https://github.com/apache/kyuubi/pull/7521
### Why are the changes needed? Batch recovery can abort Kyuubi startup when recovered metadata contains a null value in request_conf. KyuubiBatchSession copies recovered requestConf into KyuubiConf, whose set(key, value) rejects null values. This patch skips only the invalid batch metadata, marks that batch as ERROR with the validation message, and continues recovering the remaining valid batches. ### How was this patch tested? - Added KyuubiSessionManagerSuite coverage for recovery metadata containing a null requestConf value. - Verified red/green locally: without the production change the new test fails with `value cannot be null for key: spark.executor.memory`; with the change it passes. - `dev/reformat` - `build/mvn -B -ntp test -pl kyuubi-server -am -Dtest=none -DwildcardSuites=org.apache.kyuubi.session.KyuubiSessionManagerSuite -Dspark.archive.download.skip=true -Dflink.archive.download.skip=true -Dhive.archive.download.skip=true` ### Was this patch authored or co-authored using generative AI tooling? Assisted-by: OpenAI Codex -- 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]
