spark-instrumented-optimizer/docs
Iulian Dragos 6915cc23b3 [MINOR][DOCS][MESOS] Clarify that Mesos version is a lower bound.
## What changes were proposed in this pull request?

Clarify that 0.21 is only a **minimum** requirement.

## How was the this patch tested?

It's a doc change, so no tests.

Author: Iulian Dragos <jaguarul@gmail.com>

Closes #11271 from dragos/patch-1.
2016-02-19 11:47:36 -08:00
..
_data [SPARK-12247][ML][DOC] Documentation for spark.ml's ALS and collaborative filtering in general 2016-02-16 13:03:28 +00:00
_includes [SPARK-12212][ML][DOC] Clarifies the difference between spark.ml, spark.mllib and mllib in the documentation. 2015-12-10 12:50:46 -08:00
_layouts [SPARK-12735] Consolidate & move spark-ec2 to AMPLab managed repository. 2016-01-09 20:28:20 -08:00
_plugins [SPARK-6363][BUILD] Make Scala 2.11 the default Scala version 2016-01-30 00:20:28 -08:00
css [SPARK-12324][MLLIB][DOC] Fixes the sidebar in the ML documentation 2015-12-16 10:12:33 -08:00
img [SPARK-6343] Doc driver-worker network reqs 2015-04-09 06:37:20 -04:00
js [SPARK-12324][MLLIB][DOC] Fixes the sidebar in the ML documentation 2015-12-16 10:12:33 -08:00
_config.yml [SPARK-13189] Cleanup build references to Scala 2.10 2016-02-09 11:56:25 -08:00
api.md [SPARK-8639] [DOCS] Fixed Minor Typos in Documentation 2015-06-27 08:47:00 +03:00
building-spark.md [SPARK-13324][CORE][BUILD] Update plugin, test, example dependencies for 2.x 2016-02-17 19:03:29 -08:00
cluster-overview.md [SPARK-7997][CORE] Remove Akka from Spark Core and Streaming 2016-01-22 21:20:04 -08:00
configuration.md [SPARK-13350][DOCS] Config doc updated to state that PYSPARK_PYTHON's default is "python2.7" 2016-02-17 11:24:18 -08:00
contributing-to-spark.md Work in progress: 2013-09-08 00:29:11 -07:00
graphx-programming-guide.md [SPARK-12211][DOC][GRAPHX] Fix version number in graphx doc for migration from 1.1 2015-12-09 17:16:01 -08: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-12735] Consolidate & move spark-ec2 to AMPLab managed repository. 2016-01-09 20:28:20 -08: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-12534][DOC] update documentation to list command line equivalent to properties 2016-01-21 16:30:20 +01:00
ml-advanced.md [SPARK-12212][ML][DOC] Clarifies the difference between spark.ml, spark.mllib and mllib in the documentation. 2015-12-10 12:50:46 -08:00
ml-ann.md [SPARK-12212][ML][DOC] Clarifies the difference between spark.ml, spark.mllib and mllib in the documentation. 2015-12-10 12:50:46 -08:00
ml-classification-regression.md [ML][DOC] fix wrong api link in ml onevsrest 2016-02-03 21:19:44 -08:00
ml-clustering.md [SPARK-12215][ML][DOC] User guide section for KMeans in spark.ml 2015-12-16 10:43:45 -08:00
ml-collaborative-filtering.md [SPARK-12247][ML][DOC] Documentation for spark.ml's ALS and collaborative filtering in general 2016-02-16 13:03:28 +00:00
ml-decision-tree.md [SPARK-12212][ML][DOC] Clarifies the difference between spark.ml, spark.mllib and mllib in the documentation. 2015-12-10 12:50:46 -08:00
ml-ensembles.md [SPARK-12212][ML][DOC] Clarifies the difference between spark.ml, spark.mllib and mllib in the documentation. 2015-12-10 12:50:46 -08:00
ml-features.md [SPARK-11965][ML][DOC] Update user guide for RFormula feature interactions 2016-01-25 11:52:26 -08:00
ml-guide.md [SPARK-13312][MLLIB] Update java train-validation-split example in ml-guide 2016-02-15 09:25:13 +00:00
ml-linear-methods.md [SPARK-12212][ML][DOC] Clarifies the difference between spark.ml, spark.mllib and mllib in the documentation. 2015-12-10 12:50:46 -08:00
ml-survival-regression.md [SPARK-12212][ML][DOC] Clarifies the difference between spark.ml, spark.mllib and mllib in the documentation. 2015-12-10 12:50:46 -08:00
mllib-classification-regression.md [SPARK-12212][ML][DOC] Clarifies the difference between spark.ml, spark.mllib and mllib in the documentation. 2015-12-10 12:50:46 -08:00
mllib-clustering.md [SPARK-12703][MLLIB][DOC][PYTHON] Fixed pyspark.mllib.clustering.KMeans user guide example 2016-01-13 18:01:29 -08:00
mllib-collaborative-filtering.md [SPARK-12247][ML][DOC] Documentation for spark.ml's ALS and collaborative filtering in general 2016-02-16 13:03:28 +00:00
mllib-data-types.md [SPARK-12212][ML][DOC] Clarifies the difference between spark.ml, spark.mllib and mllib in the documentation. 2015-12-10 12:50:46 -08:00
mllib-decision-tree.md [SPARK-12212][ML][DOC] Clarifies the difference between spark.ml, spark.mllib and mllib in the documentation. 2015-12-10 12:50:46 -08:00
mllib-dimensionality-reduction.md [SPARK-12212][ML][DOC] Clarifies the difference between spark.ml, spark.mllib and mllib in the documentation. 2015-12-10 12:50:46 -08:00
mllib-ensembles.md [SPARK-12212][ML][DOC] Clarifies the difference between spark.ml, spark.mllib and mllib in the documentation. 2015-12-10 12:50:46 -08:00
mllib-evaluation-metrics.md [SPARK-12212][ML][DOC] Clarifies the difference between spark.ml, spark.mllib and mllib in the documentation. 2015-12-10 12:50:46 -08:00
mllib-feature-extraction.md [SPARK-12212][ML][DOC] Clarifies the difference between spark.ml, spark.mllib and mllib in the documentation. 2015-12-10 12:50:46 -08:00
mllib-frequent-pattern-mining.md [SPARK-12212][ML][DOC] Clarifies the difference between spark.ml, spark.mllib and mllib in the documentation. 2015-12-10 12:50:46 -08:00
mllib-guide.md [SPARK-12247][ML][DOC] Documentation for spark.ml's ALS and collaborative filtering in general 2016-02-16 13:03:28 +00:00
mllib-isotonic-regression.md [SPARK-12212][ML][DOC] Clarifies the difference between spark.ml, spark.mllib and mllib in the documentation. 2015-12-10 12:50:46 -08:00
mllib-linear-methods.md [SPARK-5273][MLLIB][DOCS] Improve documentation examples for LinearRegression 2016-01-12 12:13:32 +00:00
mllib-migration-guides.md [SPARK-11608][MLLIB][DOC] Added migration guide for MLlib 1.6 2015-12-16 11:53:04 -08:00
mllib-naive-bayes.md [SPARK-12212][ML][DOC] Clarifies the difference between spark.ml, spark.mllib and mllib in the documentation. 2015-12-10 12:50:46 -08:00
mllib-optimization.md [SPARK-12212][ML][DOC] Clarifies the difference between spark.ml, spark.mllib and mllib in the documentation. 2015-12-10 12:50:46 -08:00
mllib-pmml-model-export.md [SPARK-13018][DOCS] Replace example code in mllib-pmml-model-export.md using include_example 2016-02-15 20:17:21 -08:00
mllib-statistics.md [SPARK-12212][ML][DOC] Clarifies the difference between spark.ml, spark.mllib and mllib in the documentation. 2015-12-10 12:50:46 -08:00
monitoring.md [SPARK-7889][WEBUI] HistoryServer updates UI for incomplete apps 2016-02-11 21:37:53 -06:00
programming-guide.md [SPARK-13339][DOCS] Clarify commutative / associative operator requirements for reduce, fold 2016-02-19 10:26:38 +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 [SPARK-13300][DOCUMENTATION] Added pygments.rb dependancy 2016-02-14 11:41:27 +00:00
running-on-mesos.md [MINOR][DOCS][MESOS] Clarify that Mesos version is a lower bound. 2016-02-19 11:47:36 -08:00
running-on-yarn.md [SPARK-12534][DOC] update documentation to list command line equivalent to properties 2016-01-21 16:30:20 +01: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-7997][CORE] Remove Akka from Spark Core and Streaming 2016-01-22 21:20:04 -08:00
spark-standalone.md [SPARK-12463][SPARK-12464][SPARK-12465][SPARK-10647][MESOS] Fix zookeeper dir with mesos conf and add docs. 2016-02-01 12:45:02 -08:00
sparkr.md [SPARK-12232][SPARKR] New R API for read.table to avoid name conflict 2016-01-19 18:31:03 -08:00
sql-programming-guide.md [SPARK-13264][DOC] Removed multi-byte characters in spark-env.sh.template 2016-02-11 09:30:36 +00: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-7799][STREAMING][DOCUMENT] Add the linking and deploying instructions for streaming-akka project 2016-01-26 11:31:54 -08:00
streaming-flume-integration.md [SPARK-12814][DOCUMENT] Add deploy instructions for Python in flume integration doc 2016-01-18 15:38:03 -08:00
streaming-kafka-integration.md [SPARK-12814][DOCUMENT] Add deploy instructions for Python in flume integration doc 2016-01-18 15:38:03 -08:00
streaming-kinesis-integration.md [SPARK-12894][DOCUMENT] Add deploy instructions for Python in Kinesis integration doc 2016-01-18 16:50:05 -08:00
streaming-programming-guide.md [SPARK-13339][DOCS] Clarify commutative / associative operator requirements for reduce, fold 2016-02-19 10:26:38 +00:00
submitting-applications.md Provide same info as in spark-submit --help 2016-01-28 10:50:50 +00: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.

You need to have Ruby and Python installed. Also install the following libraries:

    $ sudo gem install jekyll jekyll-redirect-from pygments.rb
    $ sudo pip install Pygments
    # Following is needed only for generating API docs
    $ 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 using Sphinx.

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