官术网_书友最值得收藏!

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:

主站蜘蛛池模板: 尉犁县| 芒康县| 磴口县| 定结县| 仁怀市| 和政县| 广元市| 崇义县| 正镶白旗| 金昌市| 丰顺县| 平和县| 南投市| 宁化县| 黄龙县| 启东市| 色达县| 厦门市| 黔西县| 云和县| 华容县| 进贤县| 泸定县| 金塔县| 任丘市| 商丘市| 施甸县| 密云县| 泰兴市| 汶上县| 宜昌市| 岳普湖县| 高雄县| 布尔津县| 左权县| 九江县| 定边县| 饶平县| 昌宁县| 安化县| 松阳县|