spark-instrumented-optimizer/docs
CodingCat 84baa5e9b5 [SPARK-10315] remove document on spark.akka.failure-detector.threshold
https://issues.apache.org/jira/browse/SPARK-10315

this parameter is not used any longer and there is some mistake in the current document , should be 'akka.remote.watch-failure-detector.threshold'

Author: CodingCat <zhunansjtu@gmail.com>

Closes #8483 from CodingCat/SPARK_10315.
2015-08-27 20:19:09 +01:00
..
_layouts [SPARK-8353] [DOCS] Show anchor links when hovering over documentation headers 2015-06-18 15:10:09 -07:00
_plugins [SPARK-1564] [DOCS] Added Javascript to Javadocs to create badges for tags like :: Experimental :: 2015-07-02 13:55:53 -07:00
css [SPARK-1564] [DOCS] Added Javascript to Javadocs to create badges for tags like :: Experimental :: 2015-07-02 13:55:53 -07:00
img [SPARK-6343] Doc driver-worker network reqs 2015-04-09 06:37:20 -04:00
js [SPARK-1564] [DOCS] Added Javascript to Javadocs to create badges for tags like :: Experimental :: 2015-07-02 13:55:53 -07:00
_config.yml [SPARK-7801] [BUILD] Updating versions to SPARK 1.5.0 2015-06-03 10:11:27 -07:00
api.md [SPARK-8639] [DOCS] Fixed Minor Typos in Documentation 2015-06-27 08:47:00 +03:00
bagel-programming-guide.md [SPARK-5608] Improve SEO of Spark documentation pages 2015-02-05 11:12:50 -08:00
building-spark.md [SPARK-9521] [DOCS] Addendum. Require Maven 3.3.3+ in the build 2015-08-04 13:48:22 +09:00
cluster-overview.md [SPARK-6343] Doc driver-worker network reqs 2015-04-09 06:37:20 -04:00
configuration.md [SPARK-10315] remove document on spark.akka.failure-detector.threshold 2015-08-27 20:19:09 +01:00
contributing-to-spark.md Work in progress: 2013-09-08 00:29:11 -07:00
ec2-scripts.md [SPARK-6402][DOC] - Remove some refererences to shark in docs and ec2 2015-03-19 08:02:06 -04:00
graphx-programming-guide.md [SPARK-9508] GraphX Pregel docs update with new Pregel code 2015-08-18 22:13:52 -07:00
hadoop-provided.md [SPARK-6511] [docs] Fix example command in hadoop-provided docs. 2015-06-11 15:29:03 -07:00
hadoop-third-party-distributions.md [SPARK-7249] Updated Hadoop dependencies due to inconsistency in the versions 2015-05-14 15:22:58 +01:00
hardware-provisioning.md Change port from 3030 to 4040 2013-09-11 10:01:38 -07:00
index.md [SPARK-6511] [DOCUMENTATION] Explain how to use Hadoop provided builds 2015-06-09 16:14:21 -07:00
java-programming-guide.md [SPARK-1566] consolidate programming guide, and general doc updates 2014-05-30 00:34:33 -07:00
job-scheduling.md [SPARK-4286] Add an external shuffle service that can be run as a daemon. 2015-04-28 12:08:18 -07:00
ml-ann.md [SPARK-9846] [DOCS] User guide for Multilayer Perceptron Classifier 2015-08-20 20:02:27 -07:00
ml-decision-tree.md [SPARK-10061] [DOC] ML ensemble docs 2015-08-24 15:38:54 -07:00
ml-ensembles.md [SPARK-10061] [DOC] ML ensemble docs 2015-08-24 15:38:54 -07:00
ml-features.md [SPARK-8531] [ML] Update ML user guide for MinMaxScaler 2015-08-25 10:54:03 -07:00
ml-guide.md [SPARK-9846] [DOCS] User guide for Multilayer Perceptron Classifier 2015-08-20 20:02:27 -07:00
ml-linear-methods.md [SPARK-7555] [DOCS] Add doc for elastic net in ml-guide and mllib-guide 2015-07-15 12:10:53 -07:00
mllib-classification-regression.md [SPARK-7830] [DOCS] [MLLIB] Adding logistic regression to the list of Multiclass Classification Supported Methods documentation 2015-05-22 18:03:12 -07:00
mllib-clustering.md [SPARK-9888] [MLLIB] User guide for new LDA features 2015-08-25 17:39:20 -07:00
mllib-collaborative-filtering.md [SPARK-8308] [MLLIB] add missing save load for python example 2015-07-01 11:17:56 -07:00
mllib-data-types.md [SPARK-6486] [MLLIB] [PYTHON] Add BlockMatrix to PySpark. 2015-08-05 07:40:50 -07:00
mllib-decision-tree.md [SPARK-6097][MLLIB] Support tree model save/load in PySpark/MLlib 2015-03-02 22:27:01 -08:00
mllib-dimensionality-reduction.md [SPARK-5521] PCA wrapper for easy transform vectors 2015-05-10 13:34:00 -07:00
mllib-ensembles.md [SPARK-10060] [ML] [DOC] spark.ml DecisionTree user guide 2015-08-19 07:38:27 -07:00
mllib-evaluation-metrics.md [SPARK-9490] [DOCS] [MLLIB] MLlib evaluation metrics guide example python code uses deprecated print statement 2015-07-31 13:45:28 -07:00
mllib-feature-extraction.md [SPARK-9490] [DOCS] [MLLIB] MLlib evaluation metrics guide example python code uses deprecated print statement 2015-07-31 13:45:28 -07:00
mllib-frequent-pattern-mining.md [SPARK-10084] [MLLIB] [DOC] Add Python example for mllib FP-growth user guide 2015-08-19 08:53:34 -07:00
mllib-guide.md [SPARK-10060] [ML] [DOC] spark.ml DecisionTree user guide 2015-08-19 07:38:27 -07:00
mllib-isotonic-regression.md [SPARK-10029] [MLLIB] [DOC] Add Python examples for mllib IsotonicRegression user guide 2015-08-18 12:55:36 -07:00
mllib-linear-methods.md [SPARK-10085] [MLLIB] [DOCS] removed unnecessary numpy array import 2015-08-18 12:59:28 -07:00
mllib-migration-guides.md [SPARK-7715] [MLLIB] [ML] [DOC] Updated MLlib programming guide for release 1.4 2015-06-21 16:25:25 -07:00
mllib-naive-bayes.md [SPARK-8308] [MLLIB] add missing save load for python example 2015-07-01 11:17:56 -07:00
mllib-optimization.md [SPARK-6336] LBFGS should document what convergenceTol means 2015-03-17 12:11:57 -07:00
mllib-pmml-model-export.md [SPARK-7272] [MLLIB] User guide for PMML model export 2015-05-18 08:46:33 -07:00
mllib-statistics.md [SPARK-9902] [MLLIB] Add Java and Python examples to user guide for 1-sample KS test 2015-08-17 19:09:45 -07:00
monitoring.md [SPARK-9558][DOCS]Update docs to follow the increase of memory defaults. 2015-08-03 12:53:44 -07:00
programming-guide.md Update programming-guide.md 2015-08-22 02:38:10 -07:00
python-programming-guide.md [SPARK-1566] consolidate programming guide, and general doc updates 2014-05-30 00:34:33 -07:00
quick-start.md [SPARK-9490] [DOCS] [MLLIB] MLlib evaluation metrics guide example python code uses deprecated print statement 2015-07-31 13:45:28 -07:00
README.md Update docs/README.md to put all prereqs together. 2015-08-04 22:17:14 -07:00
running-on-mesos.md [SPARK-9575] [MESOS] Add docuemntation around Mesos shuffle service. 2015-08-11 23:33:22 -07:00
running-on-yarn.md [SPARK-9833] [YARN] Add options to disable delegation token retrieval. 2015-08-19 10:51:59 -07:00
scala-programming-guide.md [SPARK-1566] consolidate programming guide, and general doc updates 2014-05-30 00:34:33 -07:00
security.md [SPARK-5342] [YARN] Allow long running Spark apps to run on secure YARN/HDFS 2015-05-01 15:32:09 -05:00
spark-standalone.md [SPARK-9558][DOCS]Update docs to follow the increase of memory defaults. 2015-08-03 12:53:44 -07:00
sparkr.md [SPARK-9713] [ML] Document SparkR MLlib glm() integration in Spark 1.5 2015-08-11 21:26:03 -07:00
sql-programming-guide.md [SPARK-9148] [SPARK-10252] [SQL] Update SQL Programming Guide 2015-08-27 11:45:15 -07:00
storage-openstack-swift.md [SPARK-938][doc] Add OpenStack Swift support 2014-09-07 20:56:04 -07:00
streaming-custom-receivers.md [Spark-8343] [Streaming] [Docs] Improve Spark Streaming Guides. 2015-06-13 21:22:46 -07:00
streaming-flume-integration.md [SPARK-8378] [STREAMING] Add the Python API for Flume 2015-07-01 11:59:24 -07:00
streaming-kafka-integration.md [DOCS] [STREAMING] [KAFKA] Fix typo in exactly once semantics 2015-08-27 10:34:47 +01:00
streaming-kinesis-integration.md [SPARK-8564] [STREAMING] Add the Python API for Kinesis 2015-07-31 12:09:48 -07:00
streaming-programming-guide.md Update streaming-programming-guide.md 2015-08-23 11:04:29 +01:00
submitting-applications.md [SPARK-7515] [DOC] Update documentation for PySpark on YARN with cluster mode 2015-05-11 14:19:11 -07:00
tuning.md Fix doc typo 2015-08-06 21:03:47 -07:00

Welcome to the Spark documentation!

This readme will walk you through navigating and building the Spark documentation, which is included here with the Spark source code. You can also find documentation specific to release versions of Spark at http://spark.apache.org/documentation.html.

Read on to learn more about viewing documentation in plain text (i.e., markdown) or building the documentation yourself. Why build it yourself? So that you have the docs that corresponds to whichever version of Spark you currently have checked out of revision control.

Prerequisites

The Spark documentation build uses a number of tools to build HTML docs and API docs in Scala, Python and R. To get started you can run the following commands

$ sudo gem install jekyll
$ sudo gem install jekyll-redirect-from
$ sudo pip install Pygments
$ sudo pip install sphinx
$ Rscript -e 'install.packages(c("knitr", "devtools"), repos="http://cran.stat.ucla.edu/")'

Generating the Documentation HTML

We include the Spark documentation as part of the source (as opposed to using a hosted wiki, such as the github wiki, as the definitive documentation) to enable the documentation to evolve along with the source code and be captured by revision control (currently git). This way the code automatically includes the version of the documentation that is relevant regardless of which version or release you have checked out or downloaded.

In this directory you will find textfiles formatted using Markdown, with an ".md" suffix. You can read those text files directly if you want. Start with index.md.

Execute jekyll build from the docs/ directory to compile the site. Compiling the site with Jekyll will create a directory called _site containing index.html as well as the rest of the compiled files.

$ cd docs
$ jekyll build

You can modify the default Jekyll build as follows:

# Skip generating API docs (which takes a while)
$ SKIP_API=1 jekyll build
# Serve content locally on port 4000
$ jekyll serve --watch
# Build the site with extra features used on the live page
$ PRODUCTION=1 jekyll build

API Docs (Scaladoc, Sphinx, roxygen2)

You can build just the Spark scaladoc by running build/sbt unidoc from the SPARK_PROJECT_ROOT directory.

Similarly, you can build just the PySpark docs by running make html from the SPARK_PROJECT_ROOT/python/docs directory. Documentation is only generated for classes that are listed as public in __init__.py. The SparkR docs can be built by running SPARK_PROJECT_ROOT/R/create-docs.sh.

When you run jekyll in the docs directory, it will also copy over the scaladoc for the various Spark subprojects into the docs directory (and then also into the _site directory). We use a jekyll plugin to run build/sbt unidoc before building the site so if you haven't run it (recently) it may take some time as it generates all of the scaladoc. The jekyll plugin also generates the PySpark docs Sphinx.

NOTE: To skip the step of building and copying over the Scala, Python, R API docs, run SKIP_API=1 jekyll.