关注 spark技术分享,
撸spark源码 玩spark最佳实践

AllJobsPage

AllJobsPage — Showing All Jobs in Web UI

AllJobsPage is a WebUIPage with an empty prefix.

AllJobsPage is created exclusively when JobsTab is created.

AllJobsPage renders a summary, an event timeline, and active, completed, and failed jobs of a Spark application.

Tip
Jobs (in any state) are displayed when their number is greater than 0.

AllJobsPage displays the Summary section with the current Spark user, total uptime, scheduling mode, and the number of jobs per status.

Note
AllJobsPage uses JobProgressListener for Scheduling Mode.
spark webui jobs summary section.png
Figure 1. Summary Section in Jobs Tab

Under the summary section is the Event Timeline section.

spark webui jobs event timeline.png
Figure 2. Event Timeline in Jobs Tab
Note
AllJobsPage uses ExecutorsListener to build the event timeline.

Active Jobs, Completed Jobs, and Failed Jobs sections follow.

spark webui jobs status section.png
Figure 3. Job Status Section in Jobs Tab

Jobs are clickable, i.e. you can click on a job to see information about the stages of tasks inside it.

When you hover over a job in Event Timeline not only you see the job legend but also the job is highlighted in the Summary section.

spark webui jobs timeline popup.png
Figure 4. Hovering Over Job in Event Timeline Highlights The Job in Status Section

The Event Timeline section shows not only jobs but also executors.

spark webui jobs timeline executors.png
Figure 5. Executors in Event Timeline
Tip
Use Programmable Dynamic Allocation (using SparkContext) to manage executors for demo purposes.

Creating AllJobsPage Instance

AllJobsPage takes the following when created:

赞(0) 打赏
未经允许不得转载:spark技术分享 » AllJobsPage
分享到: 更多 (0)

关注公众号:spark技术分享

联系我们联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏