You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by an...@apache.org on 2015/02/26 23:20:33 UTC
spark git commit: Add a note for context termination for History
server on Yarn
Repository: spark
Updated Branches:
refs/heads/master 3fb53c029 -> c871e2dae
Add a note for context termination for History server on Yarn
The history server on Yarn only shows completed jobs. This adds a note concerning the needed explicit context termination at the end of a spark job which is a best practice anyway.
Related to SPARK-2972 and SPARK-3458
Author: moussa taifi <mo...@gmail.com>
Closes #4721 from moutai/add-history-server-note-for-closing-the-spark-context and squashes the following commits:
9f5b6c3 [moussa taifi] Fix upper case typo for YARN
3ad3db4 [moussa taifi] Add context termination for History server on Yarn
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/c871e2da
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/c871e2da
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/c871e2da
Branch: refs/heads/master
Commit: c871e2dae0182e914135560d14304242e1f97f7e
Parents: 3fb53c0
Author: moussa taifi <mo...@gmail.com>
Authored: Thu Feb 26 14:19:43 2015 -0800
Committer: Andrew Or <an...@databricks.com>
Committed: Thu Feb 26 14:20:30 2015 -0800
----------------------------------------------------------------------
docs/monitoring.md | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/c871e2da/docs/monitoring.md
----------------------------------------------------------------------
diff --git a/docs/monitoring.md b/docs/monitoring.md
index 37ede47..6816671 100644
--- a/docs/monitoring.md
+++ b/docs/monitoring.md
@@ -173,6 +173,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.
+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
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org