spark-instrumented-optimizer/docs
rotems f30373f5ee [SPARK-12080][CORE] Kryo - Support multiple user registrators
Author: rotems <roter>

Closes #10078 from Botnaim/KryoMultipleCustomRegistrators.
2015-12-04 16:58:34 -08:00
..
_data [SPARK-11835] Adds a sidebar menu to MLlib's documentation 2015-11-22 21:51:42 -08:00
_includes [SPARK-11835] Adds a sidebar menu to MLlib's documentation 2015-11-22 21:51:42 -08:00
_layouts [SPARK-11835] Adds a sidebar menu to MLlib's documentation 2015-11-22 21:51:42 -08:00
_plugins [HOTFIX][SPARK-12000] Add missing quotes in Jekyll API docs plugin. 2015-11-30 18:25:59 -08:00
css [SPARK-11835] Adds a sidebar menu to MLlib's documentation 2015-11-22 21:51:42 -08: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-11491] Update build to use Scala 2.10.5 2015-11-04 16:58:38 -08:00
api.md [SPARK-8639] [DOCS] Fixed Minor Typos in Documentation 2015-06-27 08:47:00 +03:00
bagel-programming-guide.md [SPARK-10222] [GRAPHX] [DOCS] More thoroughly deprecate Bagel in favor of GraphX 2015-09-13 08:36:46 +01:00
building-spark.md [SPARK-6152] Use shaded ASM5 to support closure cleaning of Java 8 compiled classes 2015-11-11 11:16:39 -08:00
cluster-overview.md Docs small fixes 2015-09-08 14:38:10 +01:00
configuration.md [SPARK-12080][CORE] Kryo - Support multiple user registrators 2015-12-04 16:58:34 -08: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-11174] [DOCS] Fix typo in the GraphX programming guide 2015-10-18 14:25:57 +01:00
hadoop-provided.md [SPARK-6511] [docs] Fix example command in hadoop-provided docs. 2015-06-11 15:29:03 -07:00
hardware-provisioning.md Change port from 3030 to 4040 2013-09-11 10:01:38 -07:00
index.md [SPARK-11305][DOCS] Remove Third-Party Hadoop Distributions Doc Page 2015-11-01 12:25:49 +00: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-11809] Switch the default Mesos mode to coarse-grained mode 2015-11-18 12:50:29 -08:00
ml-ann.md [SPARK-11629][ML][PYSPARK][DOC] Python example code for Multilayer Perceptron Classification 2015-11-12 21:29:43 -08:00
ml-clustering.md [SPARK-11689][ML] Add user guide and example code for LDA under spark.ml 2015-11-30 14:56:51 -08:00
ml-decision-tree.md [SPARK-11552][DOCS][Replaced example code in ml-decision-tree.md using include_example] 2015-11-09 14:25:42 -08:00
ml-ensembles.md [MINOR][DOCS] fixed list display in ml-ensembles 2015-11-30 13:02:08 -08:00
ml-features.md [DOCUMENTATION][MLLIB] typo in mllib doc 2015-12-03 15:36:28 +00:00
ml-guide.md [SPARK-11689][ML] Add user guide and example code for LDA under spark.ml 2015-11-30 14:56:51 -08:00
ml-linear-methods.md [SPARK-11729] Replace example code in ml-linear-methods.md using include_example 2015-11-17 13:59:59 -08:00
ml-survival-regression.md [SPARK-10689][ML][DOC] User guide and example code for AFTSurvivalRegression 2015-11-09 08:57:29 -08: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-10669] [DOCS] Link to each language's API in codetabs in ML docs: spark.mllib 2015-10-07 15:00:19 +01:00
mllib-collaborative-filtering.md [SPARK-11548][DOCS] Replaced example code in mllib-collaborative-filtering.md using include_example 2015-11-09 14:27:36 -08:00
mllib-data-types.md [SPARK-10669] [DOCS] Link to each language's API in codetabs in ML docs: spark.mllib 2015-10-07 15:00:19 +01:00
mllib-decision-tree.md [SPARK-11382] Replace example code in mllib-decision-tree.md using include_example 2015-11-10 10:05:53 -08:00
mllib-dimensionality-reduction.md [SPARK-10669] [DOCS] Link to each language's API in codetabs in ML docs: spark.mllib 2015-10-07 15:00:19 +01:00
mllib-ensembles.md [SPARK-11445][DOCS] Replaced example code in mllib-ensembles.md using include_example 2015-11-13 08:36:46 -08:00
mllib-evaluation-metrics.md [SPARK-11549][DOCS] Replace example code in mllib-evaluation-metrics.md using include_example 2015-11-20 15:18:41 -08:00
mllib-feature-extraction.md [SPARK-10669] [DOCS] Link to each language's API in codetabs in ML docs: spark.mllib 2015-10-07 15:00:19 +01:00
mllib-frequent-pattern-mining.md [SPARK-11380][DOCS] Replace example code in mllib-frequent-pattern-mining.md using include_example 2015-11-04 08:32:08 -08:00
mllib-guide.md [SPARK-11960][MLLIB][DOC] User guide for streaming tests 2015-11-30 15:38:44 -08:00
mllib-isotonic-regression.md [SPARK-11383][DOCS] Replaced example code in mllib-naive-bayes.md/mllib-isotonic-regression.md using include_example 2015-11-02 14:03:50 -08:00
mllib-linear-methods.md doc typo: "classificaion" -> "classification" 2015-11-26 18:52:20 -08:00
mllib-migration-guides.md [SPARK-9671] [MLLIB] re-org user guide and add migration guide 2015-08-28 13:53:31 -07:00
mllib-naive-bayes.md [SPARK-11383][DOCS] Replaced example code in mllib-naive-bayes.md/mllib-isotonic-regression.md using include_example 2015-11-02 14:03:50 -08:00
mllib-optimization.md [SPARK-11550][DOCS] Replace example code in mllib-optimization.md using include_example 2015-11-10 14:47:04 -08:00
mllib-pmml-model-export.md [SPARK-10669] [DOCS] Link to each language's API in codetabs in ML docs: spark.mllib 2015-10-07 15:00:19 +01:00
mllib-statistics.md [SPARK-11960][MLLIB][DOC] User guide for streaming tests 2015-11-30 15:38:44 -08: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 [SPARK-11305][DOCS] Remove Third-Party Hadoop Distributions Doc Page 2015-11-01 12:25:49 +00: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 [DOC] Added R to the list of languages with "high-level API" support in the… 2015-09-08 14:36:34 +01: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-11809] Switch the default Mesos mode to coarse-grained mode 2015-11-18 12:50:29 -08:00
running-on-yarn.md [SPARK-11821] Propagate Kerberos keytab for all environments 2015-12-01 11:05:45 -08: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-11140][CORE] Transfer files using network lib when using NettyRpcEnv. 2015-11-23 13:54:19 -08: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-12116][SPARKR][DOCS] document how to workaround function name conflicts with dplyr 2015-12-03 09:22:21 -08:00
sql-programming-guide.md [SPARK-11821] Propagate Kerberos keytab for all environments 2015-12-01 11:05:45 -08: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-10440] [STREAMING] [DOCS] Update python API stuff in the programming guides and python docs 2015-09-04 23:16:39 -10:00
streaming-kafka-integration.md [SPARK-11335][STREAMING] update kafka direct python docs on how to get the offset ranges for a KafkaRDD 2015-11-11 13:29:30 -08:00
streaming-kinesis-integration.md Fix DynamodDB/DynamoDB typo in Kinesis Integration doc 2015-08-28 09:36:50 +01:00
streaming-programming-guide.md [SPARK-11910][STREAMING][DOCS] Update twitter4j dependency version 2015-11-23 13:46:34 -08:00
submitting-applications.md [SPARK-9570] [DOCS] Consistent recommendation for submitting spark apps to YARN, -master yarn --deploy-mode x vs -master yarn-x'. 2015-10-04 09:31:52 +01:00
tuning.md [SPARK-12081] Make unified memory manager work with small heaps 2015-12-01 19:51:12 -08: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.