[Bug] kyuubi.kubernetes.spark.appUrlPattern not effective when use beeline submit spark sql
- Dominant language
- Scala
- Stars
- 2.4k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
### Search before asking
- [X] I have searched in the [issues](https://github.com/apache/kyuubi/issues?q=is%3Aissue) and found no similar issues.
### Describe the bug
set kyuubi conf kyuubi.kubernetes.spark.appUrlPattern=http://{{SPARK_APP_ID}}.ingress.balabala, use beeline submit spark sql, then application web UI not change.
```
2024-08-16 00:51:28.548 INFO SparkSQLSessionManager-exec-pool: Thread-114 org.apache.kyuubi.engine.spark.operation.ExecuteStatement:
Spark application name: kyuubi_CONNECTION_SPARK_SQL_hive_bc377e04-97c1-449e-bce9-2f403bbd89d8
application ID: spark-01ac14cdb2944486940a89cc53c417c7
application web UI: http://spark-18509e9158a93712-driver-svc.kyuubi-spark.svc:4040
master: k8s://https://10.43.0.1:443
deploy mode: cluster
version: 3.4.1
Start time: 2024-08-16T00:49:38.705
User: hive
```
### Affects Version(s)
master
### Kyuubi Server Log Output
_No response_
### Kyuubi Engine Log Output
_No response_
### Kyuubi Server Configurations
_No response_
### Kyuubi Engine Configurations
_No response_
### Additional context
_No response_
### Are you willing to submit PR?
- [ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to fix.
- [ ] No. I cannot submit a PR at this time.
Contributor guide
Research direction
Trace the kyuubi.kubernetes.spark.appUrlPattern configuration through the Beeline Spark SQL path, starting at the ExecuteStatement and SparkSQLSessionManager entries shown in the report. Compare the configured pattern with the application web UI reported for Kubernetes submission, then reproduce the issue and verify that the resulting UI uses the configured URL.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kubernetes, scala, spark, sql
- Domain
- backend, distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100