[SPARK-43181][SQL] Show UI WebURL in spark-sql shell#40844
[SPARK-43181][SQL] Show UI WebURL in spark-sql shell#40844panbingkun wants to merge 1 commit intoapache:masterfrom
spark-sql shell#40844Conversation
|
cc @HyukjinKwon FYI |
spark-sql shell
There was a problem hiding this comment.
To @panbingkun , if you don't mind, please don't expose your internal fork info in Apache Spark repository. For example, the PR description will be a commit log in Apache Spark repository, so we had better remove those information from your PR description like your company's Spark 4-digit version name and company-name postfix.
FYI, for this PR, I clean them up.
spark-sql shellspark-sql shell
|
Merged to master for Apache Spark 3.5.0. |
OK,Thanks. |
### What changes were proposed in this pull request? The pr aims to display `the Spark WEB UI address` when spark-sql startup. ### Why are the changes needed? Promoting user experience. Like `spark-shell`, it would be great if `spark-sql` show the UI information. ``` $ bin/spark-sql Setting default log level to "WARN". To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel). 23/05/07 13:58:26 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable 23/05/07 13:58:27 WARN HiveConf: HiveConf of name hive.stats.jdbc.timeout does not exist 23/05/07 13:58:27 WARN HiveConf: HiveConf of name hive.stats.retries.wait does not exist 23/05/07 13:58:28 WARN ObjectStore: Version information not found in metastore. hive.metastore.schema.verification is not enabled so recording the schema version 2.3.0 23/05/07 13:58:28 WARN ObjectStore: setMetaStoreSchemaVersion called but recording version is disabled: version = 2.3.0, comment = Set by MetaStore dongjoon127.0.0.1 Spark Web UI available at http://localhost:4040 Spark master: local[*], Application Id: local-1683493106875 spark-sql (default)> ``` ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass GA & Manually test. Closes apache#40844 from panbingkun/SPARK-43181. Authored-by: panbingkun <pbk1982@gmail.com> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
What changes were proposed in this pull request?
The pr aims to display
the Spark WEB UI addresswhen spark-sql startup.Why are the changes needed?
Promoting user experience.
Like
spark-shell, it would be great ifspark-sqlshow the UI information.Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass GA & Manually test.