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

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:

主站蜘蛛池模板: 砀山县| 茌平县| 桂平市| 尤溪县| 宁蒗| 夏津县| 黄大仙区| 昌邑市| 遵义市| 罗平县| 玉田县| 枞阳县| 霞浦县| 嵊泗县| 邓州市| 北川| 黄龙县| 攀枝花市| 都江堰市| 榆中县| 綦江县| 景泰县| 临朐县| 彭阳县| 永春县| 临沧市| 固阳县| 宜宾县| 杭州市| 上饶市| 廉江市| 乡城县| 哈巴河县| 连城县| 会泽县| 台北县| 炉霍县| 阳山县| 峨眉山市| 营口市| 福泉市|