diff options
author | Patrick Wendell <pwendell@gmail.com> | 2014-01-08 21:16:16 -0800 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-01-08 21:16:16 -0800 |
commit | 112c0a1776bbc866a1026a9579c6f72f293414c4 (patch) | |
tree | 79493d357bb24a924d3a64a6d6df822f9b056867 | |
parent | 04d83fc37f9eef89c20331c85291a0a169f75e6d (diff) | |
download | spark-112c0a1776bbc866a1026a9579c6f72f293414c4.tar.gz spark-112c0a1776bbc866a1026a9579c6f72f293414c4.tar.bz2 spark-112c0a1776bbc866a1026a9579c6f72f293414c4.zip |
Fixing config option "retained_stages" => "retainedStages".
This is a very esoteric option and it's out of sync with the style we use.
So it seems fitting to fix it for 0.9.0.
-rw-r--r-- | core/src/main/scala/org/apache/spark/ui/jobs/JobProgressListener.scala | 2 | ||||
-rw-r--r-- | docs/configuration.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/scala/org/apache/spark/ui/jobs/JobProgressListener.scala b/core/src/main/scala/org/apache/spark/ui/jobs/JobProgressListener.scala index b7b87250b9..d6d9f0cedf 100644 --- a/core/src/main/scala/org/apache/spark/ui/jobs/JobProgressListener.scala +++ b/core/src/main/scala/org/apache/spark/ui/jobs/JobProgressListener.scala @@ -33,7 +33,7 @@ import org.apache.spark.scheduler._ */ private[spark] class JobProgressListener(val sc: SparkContext) extends SparkListener { // How many stages to remember - val RETAINED_STAGES = sc.conf.get("spark.ui.retained_stages", "1000").toInt + val RETAINED_STAGES = sc.conf.get("spark.ui.retainedStages", "1000").toInt val DEFAULT_POOL_NAME = "default" val stageIdToPool = new HashMap[Int, String]() diff --git a/docs/configuration.md b/docs/configuration.md index 1d6c3d1633..6717757781 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -130,7 +130,7 @@ Apart from these, the following properties are also available, and may be useful </td> </tr> <tr> - <td>spark.ui.retained_stages</td> + <td>spark.ui.retainedStages</td> <td>1000</td> <td> How many stages the Spark UI remembers before garbage collecting. |