ceteri / intro_spark

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

Home Page:http://shop.oreilly.com/product/0636920036807.do

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

http://shop.oreilly.com/product/0636920036807.do

License:Other


Languages

Language:Scala 81.1%Language:Python 11.3%Language:Java 5.5%Language:Shell 2.1%