-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Add Apache Spark Docker Official Image doc #2200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Apache Spark™ is a multi-language engine for executing data engineering, data science, and machine learning on single-node machines or clusters. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| # What is Apache Spark™? | ||
|
|
||
| Apache Spark™ is a multi-language engine for executing data engineering, data science, and machine learning on single-node machines or clusters. It provides high-level APIs in Scala, Java, Python, and R, and an optimized engine that supports general computation graphs for data analysis. It also supports a rich set of higher-level tools including Spark SQL for SQL and DataFrames, pandas API on Spark for pandas workloads, MLlib for machine learning, GraphX for graph processing, and Structured Streaming for stream processing. | ||
|
|
||
| %%LOGO%% | ||
|
|
||
| ## Online Documentation | ||
| You can find the latest Spark documentation, including a programming guide, on the [project web page](https://spark.apache.org/documentation.html). This README file only contains basic setup instructions. | ||
|
|
||
| ## Interactive Scala Shell | ||
|
|
||
| The easiest way to start using Spark is through the Scala shell: | ||
|
|
||
| ``` | ||
| docker run -it spark /opt/spark/bin/spark-shell | ||
|
Yikun marked this conversation as resolved.
Outdated
|
||
| ``` | ||
|
Yikun marked this conversation as resolved.
Outdated
|
||
|
|
||
| Try the following command, which should return 1,000,000,000: | ||
|
|
||
| ``` | ||
| scala> spark.range(1000 * 1000 * 1000).count() | ||
| ``` | ||
|
|
||
| ## Interactive Python Shell | ||
|
|
||
| The easiest way to start using PySpark is through the Python shell: | ||
|
|
||
| ``` | ||
| docker run -it spark:python3 /opt/spark/bin/pyspark | ||
|
Yikun marked this conversation as resolved.
Outdated
|
||
| ``` | ||
|
|
||
| And run the following command, which should also return 1,000,000,000: | ||
|
|
||
| ``` | ||
| >>> spark.range(1000 * 1000 * 1000).count() | ||
| ``` | ||
|
|
||
| ## Interactive R Shell | ||
|
|
||
| The easiest way to start using R on Spark is through the R shell: | ||
|
|
||
| ``` | ||
| docker run -it apache/spark-r /opt/spark/bin/sparkR | ||
|
Yikun marked this conversation as resolved.
Outdated
|
||
| ``` | ||
|
|
||
| ## Running Spark on Kubernetes | ||
|
|
||
| https://spark.apache.org/docs/latest/running-on-kubernetes.html | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| [Apache Spark™ community](https://spark.apache.org/community.html) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| https://github.com/apache/spark-docker |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| https://issues.apache.org/jira/browse/SPARK |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| Apache Spark, Spark, Apache, the Apache feather logo, and the Apache Spark project logo are trademarks of The Apache Software Foundation. | ||
|
|
||
| Licensed under the [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| [Apache Spark](https://spark.apache.org/committers.html) |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.