Getting started with GraphX
Now that we have installed Spark and experimented with the Spark shell, let's create our first graph in Spark by writing our code in the shell, and then building upon that code to develop and run a standalone program. We have three learning goals in this section:
- First, you will learn how to construct and explore graphs using the Spark Core and GraphX API through a concrete example.
- Second, you will review some important Scala programming features that are important to know when doing graph processing in Spark.
- Third, you will learn how to develop and run a standalone Spark application.
Building a tiny social network
Let's create a tiny social network and explore the relationships among the different people in the network. ...