- Apache Spark 2.x for Java Developers
- Sourav Gulati Sumit Kumar
- 197字
- 2021-07-02 19:02:02
Spark Driver Web UI
This section will provide some important aspects of the Spark driver's UI. We will see the statistics of the jobs we executed using Spark shell on Spark UI.
As described in the Getting started with Apache Spark section, Spark driver's UI runs at http://localhost:4040/ (unless you make any changes to default settings).
When you start Spark shell, Spark driver's UI will look as follows:

SparkContext is an entry point to every Spark application. Every Spark job is launched with a SparkContext and can consist of only one SparkContext.
Spark shell, being a Spark application starts with SparkContext and every SparkContext launches its own web UI. The default port is 4040. Spark UI can be enabled/disabled or can be launched on a separate port using the following properties:

For example, Spark shell application with Spark UI running on 5050 port can be launched as:
spark-shell --confspark.ui.port=5050
If multiple Spark applications are launched in parallel on one system without providing any of the preceding conf parameters, then Spark UI for those applications will be launched on successive ports starting from 4040 (that is, 4040, 4041, and so on).
Spark UI consists of the following tabs:
- 深入理解Android(卷I)
- Mastering JavaScript Object-Oriented Programming
- LabVIEW程序設(shè)計(jì)基礎(chǔ)與應(yīng)用
- 信息可視化的藝術(shù):信息可視化在英國(guó)
- AIRAndroid應(yīng)用開發(fā)實(shí)戰(zhàn)
- Linux網(wǎng)絡(luò)程序設(shè)計(jì):基于龍芯平臺(tái)
- Web程序設(shè)計(jì)(第二版)
- Visual Basic程序設(shè)計(jì)上機(jī)實(shí)驗(yàn)教程
- Windows Embedded CE 6.0程序設(shè)計(jì)實(shí)戰(zhàn)
- Java Fundamentals
- Julia 1.0 Programming Complete Reference Guide
- 并行編程方法與優(yōu)化實(shí)踐
- Visual Basic 程序設(shè)計(jì)實(shí)踐教程
- 人人都能開發(fā)RPA機(jī)器人:UiPath從入門到實(shí)戰(zhàn)
- 用Go語(yǔ)言自制編譯器