Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, and user input are shown as follows: When we wish to run a Scala code in the Spark shell, it will start with scala > prompt.

A block of code is set as follows:

val greeting = sc.parallelize("Hello Spark".toList)
greeting.collect foreach {
  c => println(c)
}

Any command-line input or output is written as follows:

> tar -xf spark-1.4.1-bin-hadoop2.6.tgz

New terms and important words are shown in bold.

Note

Warnings or important notes appear in a box like ...

Get Apache Spark Graph Processing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.