Skip to content

Code examples supporting the "Introduction to Apache Spark" video published by O'Reilly Media

License

Notifications You must be signed in to change notification settings

mli312/intro_spark

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction to Apache Spark

The material here supports the O'Reilly Media video by Paco Nathan: Introduction to Apache Spark

Please see the code examples in the src directory here, which are numbered in the sequence used in the video.

This material assumes that you have downloaded a pre-compiled version of Apache Spark on your laptop from http://spark.apache.org/downloads.html

Outline

  • Pre-Flight Check
  • Spark Deconstructed: Log Mining Example
  • Word Count
  • Join
  • Coding Exercise
  • Pi Approximation
  • Spark Streaming example
  • Network Word Count in Python
  • Network Word Count in Python -- Stateful
  • GraphX example
  • build/run SimpleApp.java with Maven
  • build/run SimpleApp.scala with SBT

Updates

See the bikeshare directory for the Spark 1.3 update, showing DataFrames, MLlib, and GraphX with examples based on Capital Bikeshare data.


This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/

About

Code examples supporting the "Introduction to Apache Spark" video published by O'Reilly Media

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 81.1%
  • Python 11.3%
  • Java 5.5%
  • Shell 2.1%