60 likes | 217 Views
Making Big Data Analytics Interactive. Matei Zaharia , in collaboration with Mosharaf Chowdhury , Tathagata Das, Ankur Dave, Haoyuan Li, Justin Ma, Murphy McCauley, Joshua Rosen, Reynold Xin , Michael Franklin, Scott Shenker , Ion Stoica AMP Lab, UC Berkeley. UC BERKELEY. Motivation.
E N D
Making Big Data Analytics Interactive Matei Zaharia, in collaboration withMosharafChowdhury, Tathagata Das, Ankur Dave, Haoyuan Li,Justin Ma, Murphy McCauley, Joshua Rosen, ReynoldXin,Michael Franklin, Scott Shenker, Ion Stoica AMP Lab, UC Berkeley UC BERKELEY
Motivation Data is growing faster than computation speeds • Web apps, mobile, scientific, … Requires large clusters to analyze • Programming clusters is hard • Failures, placement, load balancing
Spark Programming Model Manipulate distributed datasets as you would local collections Concept: resilient distributed datasets (RDDs) • Distributed collections of objects that are automatically reconstructed on failure • Built through parallel transformations (map, filter, etc) • Can be cached in memory for fast reuse
Example: Log Mining Load error messages from a log into memory, then interactively search for various patterns Cache 1 lines = spark.textFile(“hdfs://...”) errors = lines.filter(_.startsWith(“ERROR”)) messages = errors.map(_.split(‘\t’)(2)) messages.cache() Worker results tasks Block 1 Master messages.filter(_.contains(“Linux”)).count() Cache 2 messages.filter(_.contains(“PHP”)).count() Worker Cache 3 Result: full-text search of Wikipedia in <1 sec (vs 20 sec for on-disk data) Result: scaled to 1 TB data in 5 sec (vs 170 s for on-disk data) Block 2 Worker Block 3
Projects Built on Spark • Spark available in Java, Scala, Python • Growing open source community • 500-member meetup • 14 companies contributing • Using it to develop a stack offastanalytics tools • Shark SQL, Spark Streaming, … . . . Streaming Learning Hadoop, MPI Graph BlinkDB . . . Shark Spark Mesos Private Cluster Cloud Berkeley Data AnalyticsStack (BDAS)
Find Out More • Visit us at the AMP Lab: 4th floor Soda Hall www.spark-project.org UC BERKELEY