Apache Spark for Big Data Processing
summary
Overview of an actual pipeline using Apache Spark 1.3–1.5 with Java 8 and Twitter4J: live tweets stream in via a reliable Spring XD receiver, get batched into 2 second batches (block interval ~200ms), processed with Spark Streaming + Spark SQL, features built with character bigrams and HashingTF, and a saved MLlib k-means model clusters three-language k-means (English, Spanish, Japanese). Demos include local wordcount and HDFS writes, Spark runs on Standalone/YARN, integration handles lifecycle and works with some demo hiccups but produces usable results.
AI-written summary · about
chapters (37)
- 0:00Intro
- 0:21Agenda
- 1:39Speakers
- 2:52Machine Learning
- 7:19Resilient Distributed Datasets (RDDs)
- 8:24Access data
- 9:04Deploy
- 9:46Global view
- 11:11An example: the word count
- 11:32Entry point: the Spark context
- 12:54Count the words
- 13:54Filter on words
- 16:14How to detect the language of a tweet?
- 17:05Twitter streaming connection
- 17:27Starting point: Spark streaming context
- 18:31Creating a DStream
- 19:15Save the data
- 23:07Spark SQL & DataFrame
- 24:07SQL context
- 24:36Creating a DataFrame
- 25:20DataFrames operations
- 26:20Running SQL queries
- 27:41Main algorithms provided MLlib Classification & Regression
- 28:06Other.. Feature extraction and transformation
- 28:49Clustering: K-means algorithm
- 29:14Load the data using DataFrames
- 29:52Select only 3 languages
- 30:10Working on the tweet's content
- 30:49Features extraction and transformation
- 31:37Extract the features: N-gram & HashingTF
- 35:45Other interesting projects
- 36:59Focus on Apache Spark's 1.5 release
- 37:51Why should I care about Spark?
- 48:26Spark streaming failure scenarios
- 52:00Spark integration in Spring XD
- 55:01Advantages when using with Spring XD
- 59:29Advantages...
related talks
44mData Science at Scale with Apache Spark
52m100% Big Data. 0% Hadoop. 0% Java.
35mPySpark : Combining Machine Learning & Big Data
37mBig Data Analytics, Machine Learning, Real Time Processing
01h 47mRadanalytics.io streaming applications workshop
01h 48mBig Data made easy with a Spark (3.0)
30mDeploy end to end ML pipeline using Apache spark ...
11mScaling R with Spark
