- 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:
- Python數(shù)據(jù)分析入門與實戰(zhàn)
- Responsive Web Design by Example
- 編程數(shù)學(xué)
- Learning OpenStack Networking(Neutron)(Second Edition)
- C#開發(fā)案例精粹
- Webpack實戰(zhàn):入門、進階與調(diào)優(yōu)(第2版)
- C++程序設(shè)計教程(第2版)
- Julia High Performance(Second Edition)
- 深入淺出Python數(shù)據(jù)分析
- Software-Defined Networking with OpenFlow(Second Edition)
- 微信小程序開發(fā)邊做邊學(xué)(微課視頻版)
- Java Script從入門到精通(第5版)
- MonoTouch應(yīng)用開發(fā)實踐指南:使用C#和.NET開發(fā)iOS應(yīng)用
- 中小企業(yè)網(wǎng)站建設(shè)與管理(靜態(tài)篇)
- Mastering Linux Kernel Development