![]() ![]() 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. Get Spark from the downloads page of the project website. This documentation is for Spark version 1.5.1. ![]() Spark uses Hadoop’s client libraries for HDFS and YARN. ![]() 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 runs on both Windows and UNIX-like systems (e.g. Locally on one machine - all you need is to have java installed on your system PATH, DRIVEDX 1.5.1 SERIAL WINDOWS Or the JAVA_HOME environment variable pointing to a Java installation. You will need to use a compatible Scala version Spark runs on Java 7+, Python 2.6+ and R 3.1+. Spark comes with several sample programs. Scala, Java, Python and R examples are in theĮxamples/src/main directory. To run one of the Java or Scala sample programs, useīin/run-example in the top-level Spark directory. 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. Locally with one thread, or local to run locally with N threads. DRIVEDX 1.5.1 SERIAL FULLįor a full list of options, run Spark shell with the -help option. To run Spark interactively in a Python interpreter, useīin/pyspark. bin/spark-submit examples/src/main/python/pi.py 10 bin/pyspark -master localĮxample applications are also provided in Python. Spark also provides an experimental R API since 1.4 (only DataFrames APIs included). To run Spark interactively in a R interpreter, use bin/sparkR. bin/spark-submit examples/src/main/r/dataframe.R bin/sparkR -master localĮxample applications are also provided in R. The Spark cluster mode overview explains the key concepts in running on a cluster. Spark can run both by itself, or over several existing cluster managers. Amazon EC2: our EC2 scripts let you launch a cluster in about 5 minutes. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |