sryza/aas

Code to accompany Advanced Analytics with Spark from O'Reilly Media

Scala

1,526

298 commits

updated Sep 25, 2024

See the code

README

Advanced Analytics with Spark Source Code

Code to accompany Advanced Analytics with Spark, by Sandy Ryza, Uri Laserson, Sean Owen, and Josh Wills.

Advanced Analytics with Spark

3rd edition (current)

The source to accompany the 3rd edition is found in this, the default master branch.

2nd Edition (current)

The source to accompany the 2nd edition may be found in the 2nd-edition branch.

1st Edition

The source to accompany the 1st edition may be found in the 1st-edition branch.

Build

Apache Maven 3.2.5+ and Java 8+ are required to build. From the root level of the project, run mvn package to compile artifacts into target/ subdirectories beneath each chapter's directory.

Running the Examples

  • Install Apache Spark for your platform, following the instructions for the latest release.
  • Build the projects according the instructions above.
  • Launch the driver program using spark-submit
# working directory should be your Apache Spark installation root
bin/spark-submit /path/to/code/aas/$CHAPTER/target/$CHAPTER-jar-with-dependencies-$VERSION.jar
  • Some examples might require that URI paths to the data be updated to your own HDFS or local filesystem locations.

Data Sets

Build Status

sryza/aas

Code to accompany Advanced Analytics with Spark from O'Reilly Media

Scala

1,526

298 commits

updated Sep 25, 2024

See the code

README

Advanced Analytics with Spark Source Code

Code to accompany Advanced Analytics with Spark, by Sandy Ryza, Uri Laserson, Sean Owen, and Josh Wills.

Advanced Analytics with Spark

3rd edition (current)

The source to accompany the 3rd edition is found in this, the default master branch.

2nd Edition (current)

The source to accompany the 2nd edition may be found in the 2nd-edition branch.

1st Edition

The source to accompany the 1st edition may be found in the 1st-edition branch.

Build

Apache Maven 3.2.5+ and Java 8+ are required to build. From the root level of the project, run mvn package to compile artifacts into target/ subdirectories beneath each chapter's directory.

Running the Examples

  • Install Apache Spark for your platform, following the instructions for the latest release.
  • Build the projects according the instructions above.
  • Launch the driver program using spark-submit
# working directory should be your Apache Spark installation root
bin/spark-submit /path/to/code/aas/$CHAPTER/target/$CHAPTER-jar-with-dependencies-$VERSION.jar
  • Some examples might require that URI paths to the data be updated to your own HDFS or local filesystem locations.

Data Sets

Build Status

Significant stargazers

Heather Arthur

4,058 followers · starred Jan 2017

Rajesh Thallam

50 followers · starred Jul 2016

John Martin

32 followers · starred May 2016

Steffen Schmitz

97 followers · starred Jun 2016