Sachin
Sachin

Reputation: 18767

Where to download documentation for Spark?

Where can I download documentation for Spark? Although its available as web-pages, it will be much easier to have it attached to source in Eclipse.

I know it is not a strictly programming question, but I cannot think of any other place to ask this question.

Upvotes: 7

Views: 2331

Answers (3)

Kharthigeyan
Kharthigeyan

Reputation: 690

You can use wget to download the spark latest document.

mkdir spark_latest_docs
cd spark_latest_docs
wget -m -p -E -k -K -np https://spark.apache.org/docs/latest/
open ./spark.apache.org/docs/latest/index.html

Reference: https://stackoverflow.com/a/21875199/3907204

Upvotes: 2

SACn
SACn

Reputation: 1924

Use WinHTTrack or any other offline website download engine.

Upvotes: 0

craighagerman
craighagerman

Reputation: 393

I had the same question and found this page while searching for the answer. Below is what worked for me. Note: you need to have Ruby and Python installed. See instuctions in this Readme under 'Prerequisites'

git clone https://github.com/apache/spark.git

Optionally, change branches if you want documentation for a specific version of Spark e.g. I wanted Scala docs for Spark 1.6

git branch -a
git checkout remotes/origin/branch-1.6

cd into the docs directory

cd docs

Run jekyll build - see the Readme above for options

jekyll build

Optinonally move the API docs somewhere else

mv <path/to/spark>/docs/api <other/location/

Note: The pre-built Spark tarball doesn't seem to include the docs directory for some reason.

Upvotes: 1

Related Questions