diff --git a/docs/monitoring.md b/docs/monitoring.md index 7a5cadc171d6..09fa818d90c2 100644 --- a/docs/monitoring.md +++ b/docs/monitoring.md @@ -150,6 +150,8 @@ follows: Note that in all of these UIs, the tables are sortable by clicking their headers, making it easy to identify slow tasks, data skew, etc. +In YARN, note that the history server only displays completed Spark jobs. One way to signal the completion of a Spark job is to stop the Spark Context explicitly (`sc.stop()`), or in Python using the `with SparkContext() as sc:` to handle the Spark Context setup and tear down, and still show the job history on the UI. + # Metrics Spark has a configurable metrics system based on the