Name Last modified Size Description
Parent Directory - ml-features.html 2024-08-16 21:27 553K ml-classification-regression.html 2024-08-16 21:27 390K structured-streaming-programming-guide.html 2024-08-16 21:27 257K streaming-programming-guide.html 2024-08-16 21:27 210K graphx-programming-guide.html 2024-08-16 21:27 159K mllib-evaluation-metrics.html 2024-08-16 21:27 157K rdd-programming-guide.html 2024-08-16 21:27 146K sql-getting-started.html 2024-08-16 21:27 142K configuration.html 2024-08-16 21:27 122K mllib-clustering.html 2024-08-16 21:27 120K mllib-ensembles.html 2024-08-16 21:27 114K mllib-statistics.html 2024-08-16 21:27 106K ml-pipeline.html 2024-08-16 21:27 92K sql-migration-guide.html 2024-08-16 21:27 86K mllib-data-types.html 2024-08-16 21:27 83K ml-clustering.html 2024-08-16 21:27 82K structured-streaming-kafka-integration.html 2024-08-16 21:27 82K running-on-kubernetes.html 2024-08-16 21:27 81K mllib-linear-methods.html 2024-08-16 21:27 75K ml-tuning.html 2024-08-16 21:27 75K mllib-feature-extraction.html 2024-08-16 21:27 71K mllib-decision-tree.html 2024-08-16 21:27 69K sql-ref-null-semantics.html 2024-08-16 21:27 67K sparkr.html 2024-08-16 21:27 66K ml-statistics.html 2024-08-16 21:27 62K ml-collaborative-filtering.html 2024-08-16 21:27 58K monitoring.html 2024-08-16 21:27 58K sql-data-sources-parquet.html 2024-08-16 21:27 54K sql-data-sources-load-save-functions.html 2024-08-16 21:27 54K quick-start.html 2024-08-16 21:27 52K running-on-mesos.html 2024-08-16 21:27 51K security.html 2024-08-16 21:27 50K sql-data-sources-hive-tables.html 2024-08-16 21:27 49K mllib-frequent-pattern-mining.html 2024-08-16 21:27 49K sql-pyspark-pandas-with-arrow.html 2024-08-16 21:27 48K streaming-kafka-0-10-integration.html 2024-08-16 21:27 47K running-on-yarn.html 2024-08-16 21:27 47K mllib-optimization.html 2024-08-16 21:27 46K mllib-dimensionality-reduction.html 2024-08-16 21:27 45K ml-migration-guide.html 2024-08-16 21:27 45K ml-frequent-pattern-mining.html 2024-08-16 21:27 44K ml-datasource.html 2024-08-16 21:27 43K mllib-collaborative-filtering.html 2024-08-16 21:27 42K sql-data-sources-jdbc.html 2024-08-16 21:27 41K spark-standalone.html 2024-08-16 21:27 41K sql-data-sources-avro.html 2024-08-16 21:27 40K web-ui.html 2024-08-16 21:27 38K sql-ref-syntax-dml-insert-into.html 2024-08-16 21:27 38K sql-ref-syntax-aux-describe-table.html 2024-08-16 21:27 36K mllib-isotonic-regression.html 2024-08-16 21:27 35K sql-ref-syntax-ddl-alter-table.html 2024-08-16 21:27 34K sql-ref-syntax-dml-insert-overwrite-table.html 2024-08-16 21:27 34K sql-keywords.html 2024-08-16 21:27 34K tuning.html 2024-08-16 21:27 33K mllib-naive-bayes.html 2024-08-16 21:27 32K job-scheduling.html 2024-08-16 21:27 30K streaming-custom-receivers.html 2024-08-16 21:27 29K sql-data-sources-json.html 2024-08-16 21:27 28K streaming-kinesis-integration.html 2024-08-16 21:27 28K building-spark.html 2024-08-16 21:27 27K sql-ref-datatypes.html 2024-08-16 21:27 26K sql-ref-syntax-aux-describe-function.html 2024-08-16 21:27 26K submitting-applications.html 2024-08-16 21:27 24K sql-ref-syntax-ddl-create-function.html 2024-08-16 21:27 24K cloud-integration.html 2024-08-16 21:27 23K sql-ref-syntax-dml-load.html 2024-08-16 21:27 23K sql-ref-syntax-aux-describe-query.html 2024-08-16 21:27 22K sql-ref-syntax-aux-show-tables.html 2024-08-16 21:27 22K sql-ref-syntax-aux-show-functions.html 2024-08-16 21:27 21K sql-ref-syntax-aux-describe-database.html 2024-08-16 21:27 21K sql-ref-syntax-aux-show-tblproperties.html 2024-08-16 21:27 21K sql-ref-syntax-ddl-drop-function.html 2024-08-16 21:27 20K ml-advanced.html 2024-08-16 21:27 20K sql-performance-tuning.html 2024-08-16 21:27 20K ml-guide.html 2024-08-16 21:27 19K sql-ref-syntax-ddl-create-database.html 2024-08-16 21:27 19K sql-ref-syntax-ddl-truncate-table.html 2024-08-16 21:27 19K sql-ref-syntax-aux-show-columns.html 2024-08-16 21:27 18K sql-ref-syntax-ddl-create-view.html 2024-08-16 21:27 18K sql-ref-syntax-aux-analyze-table.html 2024-08-16 21:27 18K sql-ref-syntax-ddl-alter-database.html 2024-08-16 21:27 18K mllib-pmml-model-export.html 2024-08-16 21:27 18K sql-ref-syntax-aux-show-databases.html 2024-08-16 21:27 18K sql-ref-syntax-aux-show-create-table.html 2024-08-16 21:27 17K sparkr-migration-guide.html 2024-08-16 21:27 17K sql-ref-syntax-ddl-repair-table.html 2024-08-16 21:27 17K pyspark-migration-guide.html 2024-08-16 21:27 17K sql-ref-syntax-dml-insert-overwrite-directory.html 2024-08-16 21:27 17K sql-ref-syntax-dml-insert-overwrite-directory-hive.html 2024-08-16 21:27 17K sql-ref-syntax-ddl-drop-database.html 2024-08-16 21:27 17K sql-ref-syntax-qry-select-usedb.html 2024-08-16 21:27 16K sql-ref-syntax-aux-cache-cache-table.html 2024-08-16 21:27 16K mllib-guide.html 2024-08-16 21:27 16K sql-ref-syntax-aux-conf-mgmt-set.html 2024-08-16 21:27 16K cluster-overview.html 2024-08-16 21:27 15K storage-openstack-swift.html 2024-08-16 21:27 15K sql-distributed-sql-engine.html 2024-08-16 21:27 15K mllib-classification-regression.html 2024-08-16 21:27 15K sql-data-sources.html 2024-08-16 21:27 15K sql-data-sources-binaryFile.html 2024-08-16 21:27 15K sql-ref-syntax-aux-resource-mgmt-list-jar.html 2024-08-16 21:27 15K sql-ref-syntax-aux-refresh-table.html 2024-08-16 21:27 15K sql-ref-syntax-aux-cache-uncache-table.html 2024-08-16 21:27 14K sql-ref-syntax-aux-resource-mgmt-add-jar.html 2024-08-16 21:27 14K sql-ref-syntax-aux-resource-mgmt-list-file.html 2024-08-16 21:27 14K sql-ref-syntax-aux-resource-mgmt-add-file.html 2024-08-16 21:27 14K sql-ref-syntax-qry-select.html 2024-08-16 21:27 14K sql-ref-syntax-qry-select-cte.html 2024-08-16 21:27 14K sql-ref-syntax-qry-select-distinct.html 2024-08-16 21:27 14K sql-ref-syntax-qry-select-orderby.html 2024-08-16 21:27 14K sql-ref-syntax-qry-select-setops.html 2024-08-16 21:27 14K sql-ref-syntax-qry-select-limit.html 2024-08-16 21:27 14K sql-ref-syntax-qry-select-groupby.html 2024-08-16 21:27 14K sql-ref-syntax-qry-select-having.html 2024-08-16 21:27 14K sql-ref-syntax-qry-select-hints.html 2024-08-16 21:27 14K sql-ref-syntax-qry-select-subqueries.html 2024-08-16 21:27 14K sql-ref-syntax-qry-select-join.html 2024-08-16 21:27 14K sql-ref-syntax-aux-show.html 2024-08-16 21:27 14K sql-ref-syntax-aux-cache-clear-cache.html 2024-08-16 21:27 14K sql-ref-syntax-aux-show-partitions.html 2024-08-16 21:27 14K sql-ref-syntax-aux-show-table.html 2024-08-16 21:27 14K sql-ref-syntax-ddl.html 2024-08-16 21:27 14K sql-programming-guide.html 2024-08-16 21:27 14K sql-ref-syntax-ddl-create-table.html 2024-08-16 21:27 14K sql-ref-syntax-ddl-drop-table.html 2024-08-16 21:27 14K sql-ref-syntax-ddl-alter-view.html 2024-08-16 21:27 14K sql-ref-syntax-ddl-drop-view.html 2024-08-16 21:27 14K sql-ref-syntax-aux-conf-mgmt-reset.html 2024-08-16 21:27 14K sql-ref-syntax-aux-describe.html 2024-08-16 21:27 13K sql-ref-syntax-aux-resource-mgmt.html 2024-08-16 21:27 13K sql-ref-syntax-aux-cache.html 2024-08-16 21:27 13K sql-ref-syntax-aux-conf-mgmt.html 2024-08-16 21:27 13K hardware-provisioning.html 2024-08-16 21:27 13K sql-ref-syntax-aux.html 2024-08-16 21:27 13K sql-ref-syntax-aux-analyze.html 2024-08-16 21:27 13K sql-data-sources-orc.html 2024-08-16 21:27 13K sql-ref-syntax-qry.html 2024-08-16 21:27 13K ml-ann.html 2024-08-16 21:27 12K sql-ref-syntax-qry-aggregation.html 2024-08-16 21:27 12K ml-survival-regression.html 2024-08-16 21:27 12K sql-ref-syntax-qry-window.html 2024-08-16 21:27 12K ml-ensembles.html 2024-08-16 21:27 12K ml-decision-tree.html 2024-08-16 21:27 12K sql-ref-syntax-qry-sampling.html 2024-08-16 21:27 12K ml-linear-methods.html 2024-08-16 21:27 12K sql-ref-syntax-qry-explain.html 2024-08-16 21:27 12K sql-ref-syntax-dml-insert.html 2024-08-16 21:27 12K sql-data-sources-troubleshooting.html 2024-08-16 21:27 12K sql-ref-syntax-dml.html 2024-08-16 21:27 12K sql-ref-functions-builtin.html 2024-08-16 21:27 12K sql-ref-functions-udf.html 2024-08-16 21:27 12K sql-ref-syntax.html 2024-08-16 21:27 12K sql-ref-functions-udf-aggregate.html 2024-08-16 21:27 12K sql-ref-functions-udf-scalar.html 2024-08-16 21:27 12K sql-ref-functions-builtin-aggregate.html 2024-08-16 21:27 12K sql-ref-functions-builtin-scalar.html 2024-08-16 21:27 12K sql-ref-functions.html 2024-08-16 21:27 11K sql-ref-nan-semantics.html 2024-08-16 21:27 11K sql-ref-arithmetic-ops.html 2024-08-16 21:27 11K core-migration-guide.html 2024-08-16 21:27 11K sql-ref.html 2024-08-16 21:27 11K ss-migration-guide.html 2024-08-16 21:27 11K migration-guide.html 2024-08-16 21:27 10K hadoop-provided.html 2024-08-16 21:27 10K sql-migration-old.html 2024-08-16 21:27 10K streaming-kafka-integration.html 2024-08-16 21:27 9.2K api.html 2024-08-16 21:27 9.1K contributing-to-spark.html 2024-08-16 21:27 8.9K programming-guide.html 2024-08-16 21:27 8.9K README.html 2024-08-16 21:27 5.2K building-with-maven.html 2024-08-16 21:27 425 redirects.json 2024-08-16 21:27 52 js/ 2024-08-16 21:37 - img/ 2024-08-16 21:37 - css/ 2024-08-16 21:37 - api/ 2024-08-16 21:37 -
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 https://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 correspond to whichever version of Spark you currently have checked out of revision control.
The Spark documentation build uses a number of tools to build HTML docs and API docs in Scala, Java, Python, R and SQL.
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 pypandoc mkdocs
$ sudo Rscript -e 'install.packages(c("knitr", "devtools", "rmarkdown"), repos="https://cloud.r-project.org/")'
$ sudo Rscript -e 'devtools::install_version("roxygen2", version = "5.0.1", repos="https://cloud.r-project.org/")'
$ sudo Rscript -e 'devtools::install_version("testthat", version = "1.0.2", repos="https://cloud.r-project.org/")'
Note: If you are on a system with both Ruby 1.9 and Ruby 2.0 you may need to replace gem with gem2.0.
Note: Other versions of roxygen2 might work in SparkR documentation generation but RoxygenNote
field in $SPARK_HOME/R/pkg/DESCRIPTION
is 5.0.1, which is updated if the version is mismatched.
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 text files 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
You can build just the Spark scaladoc and javadoc by running ./build/sbt unidoc
from the $SPARK_HOME
directory.
Similarly, you can build just the PySpark docs by running make html
from the
$SPARK_HOME/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_HOME/R/create-docs.sh
, and
the SQL docs can be built by running $SPARK_HOME/sql/create-docs.sh
after building Spark first.
When you run jekyll build
in the docs
directory, it will also copy over the scaladoc and javadoc 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 and javadoc using Unidoc.
The jekyll plugin also generates the PySpark docs using Sphinx, SparkR docs
using roxygen2 and SQL docs
using MkDocs.
NOTE: To skip the step of building and copying over the Scala, Java, Python, R and SQL API docs, run SKIP_API=1
jekyll build
. In addition, SKIP_SCALADOC=1
, SKIP_PYTHONDOC=1
, SKIP_RDOC=1
and SKIP_SQLDOC=1
can be used
to skip a single step of the corresponding language. SKIP_SCALADOC
indicates skipping both the Scala and Java docs.