Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[KYUUBI #3914] [K8S][SPARK] Set spark driver host to ip instead of po…
…d name when kyuubi on k8s submit spark with client deploy-mode ### _Why are the changes needed?_ Set `spark.driver.host` to ip instead of pod name when kyuubi on k8s submit spark with client deploy-mode. When Kyuubi On Kubernetes submit spark with client deploy mode, spark driver will using kyuubi pod name as `spark.driver.host`, which can't be recognized by executors(Exclude kyuubi deployed as Statefulset + serivce case). We have done this in #1596 ### _How was this patch tested?_ - [x] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #3914 from zwangsheng/k8s/set_driver_host_if_client. Closes #3914 8fb8965 [zwangsheng] fix style fc38143 [Binjie Yang] Merge branch 'master' into k8s/set_driver_host_if_client 4a31365 [zwangsheng] fix style c61b7b8 [zwangsheng] fix Lead-authored-by: zwangsheng <2213335496@qq.com> Co-authored-by: Binjie Yang <52876270+zwangsheng@users.noreply.github.com> Signed-off-by: Cheng Pan <chengpan@apache.org>
- Loading branch information