-
Maintained by:
Apache Spark -
Where to get help:
Apache Spark™ community
-
4.0.1-scala2.13-java21-python3-ubuntu,4.0.1-java21-python3,4.0.1-java21,python3,latest -
4.0.1-scala2.13-java17-python3-ubuntu,4.0.1-python3,4.0.1,python3-java17 -
3.5.7-scala2.12-java17-python3-ubuntu,3.5.7-java17-python3,3.5.7-java17
-
Where to file issues:
https://issues.apache.org/jira/browse/SPARK -
Published image artifact details:
repo-info repo'srepos/spark/directory (history)
(image metadata, transfer size, etc) -
Image updates:
official-images repo'slibrary/sparklabel
official-images repo'slibrary/sparkfile (history) -
Source of this description:
docs repo'sspark/directory (history)
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.
You can find the latest Spark documentation, including a programming guide, on the project web page. This README file only contains basic setup instructions.
The easiest way to start using Spark is through the Scala shell:
docker run -it spark /opt/spark/bin/spark-shellTry the following command, which should return 1,000,000,000:
scala> spark.range(1000 * 1000 * 1000).count()The easiest way to start using PySpark is through the Python shell:
docker run -it spark:python3 /opt/spark/bin/pysparkAnd run the following command, which should also return 1,000,000,000:
>>> spark.range(1000 * 1000 * 1000).count()The easiest way to start using R on Spark is through the R shell:
docker run -it spark:r /opt/spark/bin/sparkRhttps://spark.apache.org/docs/latest/running-on-kubernetes.html
See more in https://github.com/apache/spark-docker/blob/master/OVERVIEW.md#environment-variable
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.
As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
Some additional license information which was able to be auto-detected might be found in the repo-info repository's spark/ directory.
As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.
