ruanwenjun opened a new pull request, #7496: URL: https://github.com/apache/kyuubi/pull/7496
### Why are the changes needed? Kyuubi currently limits generated Spark driver pod names and executor pod name prefixes only against the Kubernetes pod name limit. However, kubelet creates pod log directories with the `namespace_podName_podUID` format. When the generated pod name is close to the Kubernetes pod name limit, the log directory name can exceed the Linux path component limit and kubelet fails to create it. This patch makes the generated driver pod name and executor pod name prefix reserve the kubelet pod log directory budget. Closes #7495. ### How was this patch tested? - `env PATH="/tmp/kyuubi-black-22.3.0/bin:$PATH" dev/reformat` - `git diff --check HEAD~1..HEAD` - `build/mvn test -pl kyuubi-server -am -Dtest=none -DwildcardSuites=org.apache.kyuubi.util.KubernetesPodNameSuite` - `build/mvn test -pl externals/kyuubi-spark-sql-engine -am -Dtest=none -DwildcardSuites=org.apache.kyuubi.engine.spark.SparkSQLEngineSuite` ### Was this patch authored or co-authored using generative AI tooling? Assisted-by: OpenAI Codex (GPT-5) -- 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]
