spark-instrumented-optimizer/docs
admackin cd28139c9b Akka framesize units should be specified
1.4 docs noted that the units were MB - i have assumed this is still the case

Author: admackin <admackin@users.noreply.github.com>

Closes #9025 from admackin/master.
2015-10-08 00:01:23 -07:00
..
_layouts [SPARK-8353] [DOCS] Show anchor links when hovering over documentation headers 2015-06-18 15:10:09 -07:00
_plugins [SPARK-10650] Clean before building docs 2015-09-17 11:05:30 -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 Update version to 1.6.0-SNAPSHOT. 2015-09-15 00:54:20 -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-10222] [GRAPHX] [DOCS] More thoroughly deprecate Bagel in favor of GraphX 2015-09-13 08:36:46 +01:00
building-spark.md Docs small fixes 2015-09-08 14:38:10 +01:00
cluster-overview.md Docs small fixes 2015-09-08 14:38:10 +01:00
configuration.md Akka framesize units should be specified 2015-10-08 00:01:23 -07: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-10222] [GRAPHX] [DOCS] More thoroughly deprecate Bagel in favor of GraphX 2015-09-13 08:36:46 +01: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-10518] [DOCS] Update code examples in spark.ml user guide to use LIBSVM data source instead of MLUtils 2015-09-11 08:27:30 -07:00
ml-features.md [SPARK-10670] [ML] [Doc] add api reference for ml doc 2015-09-28 22:40:02 -07:00
ml-guide.md [SPARK-10663] Removed unnecessary invocation of DataFrame.toDF method. 2015-09-22 21:14:25 -07:00
ml-linear-methods.md [SPARK-10518] [DOCS] Update code examples in spark.ml user guide to use LIBSVM data source instead of MLUtils 2015-09-11 08:27:30 -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-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-10669] [DOCS] Link to each language's API in codetabs in ML docs: spark.mllib 2015-10-07 15:00:19 +01: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-10669] [DOCS] Link to each language's API in codetabs in ML docs: spark.mllib 2015-10-07 15:00:19 +01: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-10669] [DOCS] Link to each language's API in codetabs in ML docs: spark.mllib 2015-10-07 15:00:19 +01:00
mllib-evaluation-metrics.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-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-10669] [DOCS] Link to each language's API in codetabs in ML docs: spark.mllib 2015-10-07 15:00:19 +01:00
mllib-guide.md [SPARK-10595] [ML] [MLLIB] [DOCS] Various ML guide cleanups 2015-09-15 19:43:26 -07:00
mllib-isotonic-regression.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-linear-methods.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-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-10669] [DOCS] Link to each language's API in codetabs in ML docs: spark.mllib 2015-10-07 15:00:19 +01:00
mllib-optimization.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-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-10669] [DOCS] Link to each language's API in codetabs in ML docs: spark.mllib 2015-10-07 15:00:19 +01: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 Fix two mistakes in programming-guide page 2015-09-28 10:41:39 +01: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-10695] [DOCUMENTATION] [MESOS] Fixing incorrect value informati… 2015-09-22 00:14:27 -07:00
running-on-yarn.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
scala-programming-guide.md [SPARK-1566] consolidate programming guide, and general doc updates 2014-05-30 00:34:33 -07:00
security.md [SPARK-10676] [DOCS] Add documentation for SASL encryption options. 2015-09-21 13:15:44 -07: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-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
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 [DOCS] [STREAMING] [KAFKA] Fix typo in exactly once semantics 2015-08-27 10:34:47 +01: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-10492] [STREAMING] [DOCUMENTATION] Update Streaming documentation about rate limiting and backpressure 2015-09-08 14:54:43 -07: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 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.