![]() ![]() Tuning Guide: best practices to optimize performance and memory use.Monitoring: track the behavior of your applications.Configuration: customize Spark via its configuration system.Kubernetes: deploy Spark on top of Kubernetes.YARN: deploy Spark on top of Hadoop NextGen (YARN).Standalone Deploy Mode: launch a standalone cluster quickly without a third-party cluster manager.Amazon EC2: scripts that let you launch a cluster on EC2 in about 5 minutes.Submitting Applications: packaging and deploying applications.Cluster Overview: overview of concepts and components when running on a cluster.MLlib: applying machine learning algorithms.Spark Streaming: processing data streams using DStreams (old API).Structured Streaming: processing structured data streams with relation queries (using Datasets and DataFrames, newer API than DStreams).Spark SQL, Datasets, and DataFrames: processing structured data with relational queries (newer API than RDDs).RDD Programming Guide: overview of Spark basics - RDDs (core but old API), accumulators, and broadcast variables.Quick Start: a quick introduction to the Spark API start here!.Standalone Deploy Mode: simplest way to deploy Spark on a private cluster.Spark can run both by itself, or over several existing cluster managers. The Spark cluster mode overview explains the key concepts in running on a cluster. bin/spark-submit examples/src/main/r/dataframe.R bin/sparkR -master localĮxample applications are also provided in R. To run Spark interactively in a R interpreter, use bin/sparkR. Spark also provides an experimental R API since 1.4 (only DataFrames APIs included). bin/spark-submit examples/src/main/python/pi.py 10 bin/pyspark -master localĮxample applications are also provided in Python. To run Spark interactively in a Python interpreter, useīin/pyspark. For a full list of options, run Spark shell with the -help option. Locally with one thread, or local to run locally with N threads. ![]() ![]() Master URL for a distributed cluster, or local to run Great way to learn the framework./bin/spark-shell -master local You can also run Spark interactively through a modified version of the Scala shell. To run one of the Java or Scala sample programs, useīin/run-example in the top-level Spark directory. Scala, Java, Python and R examples are in theĮxamples/src/main directory. Spark comes with several sample programs. Support for Scala 2.10 was removed as of 2.3.0. Note that support for Java 7, Python 2.6 and old Hadoop versions before 2.6.5 were removed as of Spark 2.2.0. You will need to use a compatible Scala version Or the JAVA_HOME environment variable pointing to a Java installation. Locally on one machine - all you need is to have java installed on your system PATH, Spark runs on both Windows and UNIX-like systems (e.g. Scala and Java users can include Spark in their projects using its Maven coordinates and in the future Python users can also install Spark from PyPI. Users can also download a “Hadoop free” binary and run Spark with any Hadoop version Downloads are pre-packaged for a handful of popular Hadoop versions. Spark uses Hadoop’s client libraries for HDFS and YARN. This documentation is for Spark version 2.3.0. Get Spark from the downloads page of the project website. It also supports a rich set of higher-level tools including Spark SQL for SQL and structured data processing, MLlib for machine learning, GraphX for graph processing, and Spark Streaming. ![]() It provides high-level APIs in Java, Scala, Python and R,Īnd an optimized engine that supports general execution graphs. Apache Spark is a fast and general-purpose cluster computing system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |