- Apache Spark Quick Start Guide
- Shrey Mehrotra Akash Grade
- 352字
- 2021-07-02 13:39:53
What is Spark?
Apache Spark is a distributed computing framework which makes big-data processing quite easy, fast, and scalable. You must be wondering what makes Spark so popular in the industry, and how is it really different than the existing tools available for big-data processing? The reason is that it provides a unified stack for processing all different kinds of big data, be it batch, streaming, machine learning, or graph data.
Spark was developed at UC Berkeley’s AMPLab in 2009 and later came under the Apache Umbrella in 2010. The framework is mainly written in Scala and Java.
Spark provides an interface with many different distributed and non-distributed data stores, such as Hadoop Distributed File System (HDFS), Cassandra, Openstack Swift, Amazon S3, and Kudu. It also provides a wide variety of language APIs to perform analytics on the data stored in these data stores. These APIs include Scala, Java, Python, and R.
The basic entity of Spark is Resilient Distributed Dataset (RDD), which is a read-only partitioned collection of data. RDD can be created using data stored on different data stores or using existing RDD. We shall discuss this in more detail in Chapter 3, Spark RDD.
Spark needs a resource manager to distribute and execute its tasks. By default, Spark comes up with its own standalone scheduler, but it integrates easily with Apache Mesos and Yet Another Resource Negotiator (YARN) for cluster resource management and task execution.
One of the main features of Spark is to keep a large amount of data in memory for faster execution. It also has a component that generates a Directed Acyclic Graph (DAG) of operations based on the user program. We shall discuss these in more details in coming chapters.
The following diagram shows some of the popular data stores Spark can connect to:

- 大數(shù)據(jù)項目管理:從規(guī)劃到實現(xiàn)
- 大數(shù)據(jù)戰(zhàn)爭:人工智能時代不能不說的事
- 電腦上網(wǎng)直通車
- Apache Spark Deep Learning Cookbook
- Windows 7寶典
- 工業(yè)機器人操作與編程
- Splunk Operational Intelligence Cookbook
- 新編計算機組裝與維修
- 工業(yè)控制系統(tǒng)測試與評價技術(shù)
- Statistics for Data Science
- Building a BeagleBone Black Super Cluster
- 精通數(shù)據(jù)科學:從線性回歸到深度學習
- 大數(shù)據(jù)案例精析
- 與人共融機器人的關節(jié)力矩測量技術(shù)
- 常用傳感器技術(shù)及應用(第2版)