SlideShare ist ein Scribd-Unternehmen logo
1 von 34
Gobblin’ Big Data with Ease 
Lin Qiao 
Data Analytics Infra @ LinkedIn 
©2014 LinkedIn Corporation. All Rights Reserved.
Overview 
• Challenges 
• What does Gobblin provide? 
• How does Gobblin work? 
• Retrospective and lookahead 
©2014 LinkedIn Corporation. All Rights Reserved.
Overview 
• Challenges 
• What does Gobblin provide? 
• How does Gobblin work? 
• Retrospective and lookahead 
©2014 LinkedIn Corporation. All Rights Reserved.
Perception 
Analytics Platform 
Ingest 
Framework 
Primary 
Data 
Sources 
Transformations Business 
©2014 LinkedIn Corporation. All Rights Reserved. 
Facing 
Insights 
Member 
Facing 
Insights and 
Data Products 
Load 
Load 
Validation 
Validation
Reality 
Profile Data 
©2014 LinkedIn Corporation. All Rights Reserved. 
5 
Hadoop 
Camus 
Lumos 
Teradata 
External 
Partner 
Data 
Ingest 
Framework 
DWH ETL 
(fact tables) 
Product, 
Sciences, 
Enterprise 
Analytics 
Site 
(Member 
Facing 
Products) 
Kafka 
Activity 
(tracking) 
Data 
R/W store 
(Oracle/ 
Espresso) 
Databus 
Changes 
Core Data Set 
(Tracking, 
Database, 
External) 
Derived Data 
Set 
Computed Results for Member Facing Products 
Enterprise 
Products 
Change 
dump on filer 
Ingest 
utilities 
Lassen 
(facts and 
dimensions) 
Read store 
(Voldemort)
Challenges @ LinkedIn 
• Large variety of data sources 
• Multi-paradigm: streaming data, batch data 
• Different types of data: facts, dimensions, logs, 
snapshots, increments, changelog 
• Operational complexity of multiple pipelines 
• Data quality 
• Data availability and predictability 
• Engineering cost 
©2014 LinkedIn Corporation. All Rights Reserved.
Open source solutions 
sqoopp 
aegisthus 
flumep morphlinep 
logstash Camus 
RDBMS vendor-specific 
connectorsp 
©2014 LinkedIn Corporation. All Rights Reserved.
Goals 
• Unified and Structured Data Ingestion Flow 
– RDBMS -> Hadoop 
– Event Streams -> Hadoop 
• Higher level abstractions 
– Facts, Dimensions 
– Snapshots, increments, changelog 
• ELT oriented 
– Minimize transformation in the ingest pipeline 
©2014 LinkedIn Corporation. All Rights Reserved.
Central Ingestion Pipeline 
Hadoop 
OLTP Data 
©2014 LinkedIn Corporation. All Rights Reserved. 
Teradata 
External 
Partner 
Data 
Gobblin 
DWH ETL 
(fact tables) 
Product, 
Sciences, 
Enterprise 
Analytics 
Site 
(Member 
Facing 
Products) 
Kafka 
Tracking 
R/W store 
(Oracle/ 
Espresso) 
Databus 
Changes 
Core Data Set 
(Tracking, 
Database, 
External) 
Derived Data 
Set 
Enterprise 
Products 
Change 
dump on filer 
REST 
JDBC 
SOAP 
Custom 
Compaction
Overview 
• Challenges 
• What does Gobblin provide? 
• How does Gobblin work? 
• Retrospective and lookahead 
©2014 LinkedIn Corporation. All Rights Reserved.
Gobblin Usage @ LinkedIn 
• Business Analytics 
– Source data for, sales analysis, product sentiment 
analysis, etc. 
• Engineering 
– Source data for issue tracking, monitoring, product 
release, security compliance, A/B testing 
• Consumer product 
– Source data for acquisition integration 
– Performance analysis for email campaign, ads 
campaign, etc. 
©2014 LinkedIn Corporation. All Rights Reserved.
Key Features 
 Horizontally scalable and robust framework 
 Unified computation paradigm 
 Turn-key solution 
 Customize your own Ingestion 
©2014 LinkedIn Corporation. All Rights Reserved.
Scalable and Robust Framework 
Centralized 
State Management 
©2014 LinkedIn Corporation. All Rights Reserved. 
13 
Scalable 
State is carried over between jobs automatically, so metadata can be used 
to track offsets, checkpoints, watermarks, etc. 
Jobs are partitioned into tasks that run concurrently 
Fault Tolerant Framework gracefully deals with machine and job failures 
Query Assurance Baked in quality checking throughout the flow
Unified computation paradigm 
Common execution 
flow 
Common execution flow between batch ingestion and streaming ingestion 
pipelines 
Shared infra 
components 
Shared job state management, job metrics store, metadata management. 
©2014 LinkedIn Corporation. All Rights Reserved.
Turn Key Solution 
Built-in Exchange 
Protocols 
Existing adapters can easily be re-used for sources with common protocols 
(e.g. JDBC, REST, SFTP, SOAP, etc.) 
Built-in Source 
Integration 
Fully integrated with commonly used sources including MySQL, SQLServer, 
Oracle, SalesForce, HDFS, filer, internal dropbox) 
Built-in Data 
Ingestion Semantics 
Covers full dump and incremental ingestion for fact and dimension 
datasets. 
Policy driven flow 
execution & tuning 
Flow owners just need to specify pre-defined policy for handling job 
failure, degree of parallelism, what data to publish, etc. 
©2014 LinkedIn Corporation. All Rights Reserved.
Customize Your Own Ingestion Pipeline 
Extendable 
Operators 
Configurable 
Operator Flow 
Operators for doing extraction, conversion, quality checking, data 
persistence, etc., can be implemented or extended against common API. 
Configuration allows for multiple plugin points to add in customized logic 
and code 
©2014 LinkedIn Corporation. All Rights Reserved.
Overview 
• Challenges 
• What does Gobblin provide? 
• How does Gobblin work? 
• Lookahead 
©2014 LinkedIn Corporation. All Rights Reserved.
Under the Hood 
©2014 LinkedIn Corporation. All Rights Reserved.
Computation Model 
• Gobblin standalone 
– single process, multi-threading 
– Testing, small data, sampling 
• Gobblin on Map/Reduce 
– Large datasets, horizontally scalable 
• Gobblin on Yarn 
– Better resource utilization 
– More scheduling flexibilities 
©2014 LinkedIn Corporation. All Rights Reserved.
Scalable Ingestion Flow 
©2014 LinkedIn Corporation. All Rights Reserved. 
20 
Source 
Work 
Unit 
Work 
Unit 
Work 
Unit 
Data 
Publisher 
Extractor Converter 
Quality 
Checker 
Writer 
Extractor Converter 
Quality 
Checker 
Writer 
Extractor Converter 
Quality 
Checker 
Writer 
Task 
Task 
Task
Sources 
Source 
Work 
Unit Extractor Converter Publisher 
• Determines how to partition work 
- Partitioning algorithm can leverage source sharding 
- Group partitions intelligently for performance 
• Creates work-units to be scheduled 
©2014 LinkedIn Corporation. All Rights Reserved. 
Quality 
Checker 
Writer
Job Management 
Job run 1 Job run 2 Job run 3 
• Job execution states 
– Watermark 
– Task state, job state, quality checker output, error code 
• Job synchronization 
• Job failure handling: policy driven 
©2014 LinkedIn Corporation. All Rights Reserved. 
22 
State Store
Gobblin Operator Flow 
Extract 
Schema 
Extract 
Record 
Convert 
Record 
©2014 LinkedIn Corporation. All Rights Reserved. 
Check 
Record Data 
Quality 
Commit 
Task Data 
Write 
Record 
Convert 
Schema 
Check Task 
Data 
Quality 
23
Extractors Source 
Work 
Unit Extractor Converter Publisher 
©2014 LinkedIn Corporation. All Rights Reserved. 
Quality 
Checker 
Writer 
• Specifies how to get the schema and pull data from 
the source 
• Return ResultSet iterator 
• Track high watermark 
• Track extraction metrics
Converters 
Source 
Work 
Unit Extractor Converter Publisher 
• Allow for schema and data transformation 
– Filtering 
– projection 
– type conversion 
– Structural change 
• Composable: can specify a list of converters to be applied in 
the given order 
©2014 LinkedIn Corporation. All Rights Reserved. 
Quality 
Checker 
Writer
Quality 
Checkers 
• Ensure quality of any data produced by Gobblin 
• Can be run on a per record, per task, or per job basis 
• Can specify a list of quality checkers to be applied 
– Schema compatibility 
– Audit check 
– Sensitive fields 
– Unique key 
• Policy driven 
– FAIL – if the check fails then so does the job 
– OPTIONAL – if the checks fails the job continues 
– ERR_FILE – the offending row is written to an error file 
©2014 LinkedIn Corporation. All Rights Reserved. 
26 
Source 
Work 
Unit Extractor Converter Publisher 
Quality 
Checker 
Writer
Writers 
Source 
Work 
Unit Extractor Converter Publisher 
• Writing data in Avro format onto HDFS 
– One writer per task 
• Flexibility 
– Configurable compression codec (Deflate, Snappy) 
– Configurable buffer size 
• Plan to support other data format (Parquet, ORC) 
©2014 LinkedIn Corporation. All Rights Reserved. 
Quality 
Checker 
Writer
Publishers 
• Determines job success based on Policy. 
- COMMIT_ON_FULL_SUCCESS 
- COMMIT_ON_PARTIAL_SUCCESS 
• Commits data to final directories based on job success. 
Task 1 
Task 2 
Task 3 
File 1 
File 2 
File 3 
©2014 LinkedIn Corporation. All Rights Reserved. 
Tmp Dir 
File 1 
File 2 
File 3 
Final Dir 
File 1 
File 2 
File 3 
Source 
Work 
Unit Extractor Converter Publisher 
Quality 
Checker 
Writer
Gobblin Compaction 
Ingestion HDFS Compaction 
• Dimensions: 
– Initial full dump followed by incremental extracts in 
Gobblin 
– Maintain a consistent snapshot by doing regularly 
scheduled compaction 
• Facts: 
– Merge small files 
©2014 LinkedIn Corporation. All Rights Reserved. 
29
Overview 
• Challenges 
• What does Gobblin provide? 
• How does Gobblin work? 
• Retrospective and lookahead 
©2014 LinkedIn Corporation. All Rights Reserved.
Gobblin in Production 
• > 350 datasets 
• ~ 60 TB per day 
• Salesforce 
• Responsys 
• RightNow 
• Timeforce 
• Slideshare 
• Newsle 
• A/B testing 
• LinkedIn JIRA 
• Data retention 
©2014 LinkedIn Corporation. All Rights Reserved. 
31 
Production 
Instances 
Data Volume
Lesson Learned 
• Data quality has a lot more work to do 
• Small data problem is not small 
• Performance optimization opportunities 
• Operational traits 
©2014 LinkedIn Corporation. All Rights Reserved.
Gobblin Roadmap 
• Gobblin on Yarn 
• Streaming Sources 
• Gobblin Workbench with ingestion DSL 
• Data Profiling for richer quality checking 
• Open source in Q4’14 
©2014 LinkedIn Corporation. All Rights Reserved. 
33
©2014 LinkedIn Corporation. All Rights Reserved.

Weitere ähnliche Inhalte

Was ist angesagt?

Apache Tez - A New Chapter in Hadoop Data Processing
Apache Tez - A New Chapter in Hadoop Data ProcessingApache Tez - A New Chapter in Hadoop Data Processing
Apache Tez - A New Chapter in Hadoop Data Processing
DataWorks Summit
 

Was ist angesagt? (20)

Apache Iceberg Presentation for the St. Louis Big Data IDEA
Apache Iceberg Presentation for the St. Louis Big Data IDEAApache Iceberg Presentation for the St. Louis Big Data IDEA
Apache Iceberg Presentation for the St. Louis Big Data IDEA
 
Tuning Apache Spark for Large-Scale Workloads Gaoxiang Liu and Sital Kedia
Tuning Apache Spark for Large-Scale Workloads Gaoxiang Liu and Sital KediaTuning Apache Spark for Large-Scale Workloads Gaoxiang Liu and Sital Kedia
Tuning Apache Spark for Large-Scale Workloads Gaoxiang Liu and Sital Kedia
 
Hive Bucketing in Apache Spark with Tejas Patil
Hive Bucketing in Apache Spark with Tejas PatilHive Bucketing in Apache Spark with Tejas Patil
Hive Bucketing in Apache Spark with Tejas Patil
 
Optimizing Hive Queries
Optimizing Hive QueriesOptimizing Hive Queries
Optimizing Hive Queries
 
Processing Large Data with Apache Spark -- HasGeek
Processing Large Data with Apache Spark -- HasGeekProcessing Large Data with Apache Spark -- HasGeek
Processing Large Data with Apache Spark -- HasGeek
 
Apache Tez - A New Chapter in Hadoop Data Processing
Apache Tez - A New Chapter in Hadoop Data ProcessingApache Tez - A New Chapter in Hadoop Data Processing
Apache Tez - A New Chapter in Hadoop Data Processing
 
Deep Dive : Spark Data Frames, SQL and Catalyst Optimizer
Deep Dive : Spark Data Frames, SQL and Catalyst OptimizerDeep Dive : Spark Data Frames, SQL and Catalyst Optimizer
Deep Dive : Spark Data Frames, SQL and Catalyst Optimizer
 
Spark 2.x Troubleshooting Guide
Spark 2.x Troubleshooting GuideSpark 2.x Troubleshooting Guide
Spark 2.x Troubleshooting Guide
 
Deep Dive into Spark SQL with Advanced Performance Tuning with Xiao Li & Wenc...
Deep Dive into Spark SQL with Advanced Performance Tuning with Xiao Li & Wenc...Deep Dive into Spark SQL with Advanced Performance Tuning with Xiao Li & Wenc...
Deep Dive into Spark SQL with Advanced Performance Tuning with Xiao Li & Wenc...
 
Apache Tez – Present and Future
Apache Tez – Present and FutureApache Tez – Present and Future
Apache Tez – Present and Future
 
Spark shuffle introduction
Spark shuffle introductionSpark shuffle introduction
Spark shuffle introduction
 
Memory Management in Apache Spark
Memory Management in Apache SparkMemory Management in Apache Spark
Memory Management in Apache Spark
 
PySpark Best Practices
PySpark Best PracticesPySpark Best Practices
PySpark Best Practices
 
AWSKRUG DS - 데이터 엔지니어가 실무에서 맞닥뜨리는 문제들
AWSKRUG DS - 데이터 엔지니어가 실무에서 맞닥뜨리는 문제들AWSKRUG DS - 데이터 엔지니어가 실무에서 맞닥뜨리는 문제들
AWSKRUG DS - 데이터 엔지니어가 실무에서 맞닥뜨리는 문제들
 
The Impala Cookbook
The Impala CookbookThe Impala Cookbook
The Impala Cookbook
 
LLAP: long-lived execution in Hive
LLAP: long-lived execution in HiveLLAP: long-lived execution in Hive
LLAP: long-lived execution in Hive
 
Parquet performance tuning: the missing guide
Parquet performance tuning: the missing guideParquet performance tuning: the missing guide
Parquet performance tuning: the missing guide
 
Introduction to Apache Sqoop
Introduction to Apache SqoopIntroduction to Apache Sqoop
Introduction to Apache Sqoop
 
Hadoop World 2011: Hadoop Troubleshooting 101 - Kate Ting - Cloudera
Hadoop World 2011: Hadoop Troubleshooting 101 - Kate Ting - ClouderaHadoop World 2011: Hadoop Troubleshooting 101 - Kate Ting - Cloudera
Hadoop World 2011: Hadoop Troubleshooting 101 - Kate Ting - Cloudera
 
Apache Spark Overview
Apache Spark OverviewApache Spark Overview
Apache Spark Overview
 

Andere mochten auch

gobblin-meetup-yarn
gobblin-meetup-yarngobblin-meetup-yarn
gobblin-meetup-yarn
Yinan Li
 
Bringing OLTP woth OLAP: Lumos on Hadoop
Bringing OLTP woth OLAP: Lumos on HadoopBringing OLTP woth OLAP: Lumos on Hadoop
Bringing OLTP woth OLAP: Lumos on Hadoop
DataWorks Summit
 
Bigger, Faster, Easier: Building a Real-Time Self Service Data Analytics Ecos...
Bigger, Faster, Easier: Building a Real-Time Self Service Data Analytics Ecos...Bigger, Faster, Easier: Building a Real-Time Self Service Data Analytics Ecos...
Bigger, Faster, Easier: Building a Real-Time Self Service Data Analytics Ecos...
DataWorks Summit
 
Data Ingestion, Extraction & Parsing on Hadoop
Data Ingestion, Extraction & Parsing on HadoopData Ingestion, Extraction & Parsing on Hadoop
Data Ingestion, Extraction & Parsing on Hadoop
skaluska
 

Andere mochten auch (13)

gobblin-meetup-yarn
gobblin-meetup-yarngobblin-meetup-yarn
gobblin-meetup-yarn
 
Gobblin for Data Analytics
Gobblin for Data AnalyticsGobblin for Data Analytics
Gobblin for Data Analytics
 
Bringing OLTP woth OLAP: Lumos on Hadoop
Bringing OLTP woth OLAP: Lumos on HadoopBringing OLTP woth OLAP: Lumos on Hadoop
Bringing OLTP woth OLAP: Lumos on Hadoop
 
Gobblin @ NerdWallet (Nov 2015)
Gobblin @ NerdWallet (Nov 2015)Gobblin @ NerdWallet (Nov 2015)
Gobblin @ NerdWallet (Nov 2015)
 
19 Sure Ways To Sabotage Your Job Search
19 Sure Ways To Sabotage Your Job Search19 Sure Ways To Sabotage Your Job Search
19 Sure Ways To Sabotage Your Job Search
 
Gobblin: Unifying Data Ingestion for Hadoop
Gobblin: Unifying Data Ingestion for HadoopGobblin: Unifying Data Ingestion for Hadoop
Gobblin: Unifying Data Ingestion for Hadoop
 
Bigger, Faster, Easier: Building a Real-Time Self Service Data Analytics Ecos...
Bigger, Faster, Easier: Building a Real-Time Self Service Data Analytics Ecos...Bigger, Faster, Easier: Building a Real-Time Self Service Data Analytics Ecos...
Bigger, Faster, Easier: Building a Real-Time Self Service Data Analytics Ecos...
 
Data Ingestion, Extraction & Parsing on Hadoop
Data Ingestion, Extraction & Parsing on HadoopData Ingestion, Extraction & Parsing on Hadoop
Data Ingestion, Extraction & Parsing on Hadoop
 
Apache NiFi- MiNiFi meetup Slides
Apache NiFi- MiNiFi meetup SlidesApache NiFi- MiNiFi meetup Slides
Apache NiFi- MiNiFi meetup Slides
 
Introduction to Databus
Introduction to DatabusIntroduction to Databus
Introduction to Databus
 
Fine-Grained Scheduling with Helix (ApacheCon NA 2014)
Fine-Grained Scheduling with Helix (ApacheCon NA 2014)Fine-Grained Scheduling with Helix (ApacheCon NA 2014)
Fine-Grained Scheduling with Helix (ApacheCon NA 2014)
 
Data Infrastructure at LinkedIn
Data Infrastructure at LinkedIn Data Infrastructure at LinkedIn
Data Infrastructure at LinkedIn
 
Espresso: LinkedIn's Distributed Data Serving Platform (Paper)
Espresso: LinkedIn's Distributed Data Serving Platform (Paper)Espresso: LinkedIn's Distributed Data Serving Platform (Paper)
Espresso: LinkedIn's Distributed Data Serving Platform (Paper)
 

Ähnlich wie Gobblin' Big Data With Ease @ QConSF 2014

Ähnlich wie Gobblin' Big Data With Ease @ QConSF 2014 (20)

Experimentation Platform on Hadoop
Experimentation Platform on HadoopExperimentation Platform on Hadoop
Experimentation Platform on Hadoop
 
eBay Experimentation Platform on Hadoop
eBay Experimentation Platform on HadoopeBay Experimentation Platform on Hadoop
eBay Experimentation Platform on Hadoop
 
Big Data Ready Enterprise
Big Data Ready Enterprise Big Data Ready Enterprise
Big Data Ready Enterprise
 
InfoSphere BigInsights - Analytics power for Hadoop - field experience
InfoSphere BigInsights - Analytics power for Hadoop - field experienceInfoSphere BigInsights - Analytics power for Hadoop - field experience
InfoSphere BigInsights - Analytics power for Hadoop - field experience
 
Hadoop and SQL: Delivery Analytics Across the Organization
Hadoop and SQL:  Delivery Analytics Across the OrganizationHadoop and SQL:  Delivery Analytics Across the Organization
Hadoop and SQL: Delivery Analytics Across the Organization
 
The Essential Guide for Automating CMDB population and maintenance
The Essential Guide for Automating CMDB population and maintenanceThe Essential Guide for Automating CMDB population and maintenance
The Essential Guide for Automating CMDB population and maintenance
 
Using the Power of Big SQL 3.0 to Build a Big Data-Ready Hybrid Warehouse
Using the Power of Big SQL 3.0 to Build a Big Data-Ready Hybrid WarehouseUsing the Power of Big SQL 3.0 to Build a Big Data-Ready Hybrid Warehouse
Using the Power of Big SQL 3.0 to Build a Big Data-Ready Hybrid Warehouse
 
Key Methodologies for Migrating from Oracle to Postgres
Key Methodologies for Migrating from Oracle to PostgresKey Methodologies for Migrating from Oracle to Postgres
Key Methodologies for Migrating from Oracle to Postgres
 
Tame Big Data with Oracle Data Integration
Tame Big Data with Oracle Data IntegrationTame Big Data with Oracle Data Integration
Tame Big Data with Oracle Data Integration
 
Hadoop in 2015: Keys to Achieving Operational Excellence for the Real-Time En...
Hadoop in 2015: Keys to Achieving Operational Excellence for the Real-Time En...Hadoop in 2015: Keys to Achieving Operational Excellence for the Real-Time En...
Hadoop in 2015: Keys to Achieving Operational Excellence for the Real-Time En...
 
Which Change Data Capture Strategy is Right for You?
Which Change Data Capture Strategy is Right for You?Which Change Data Capture Strategy is Right for You?
Which Change Data Capture Strategy is Right for You?
 
Bring Your SAP and Enterprise Data to Hadoop, Kafka, and the Cloud
Bring Your SAP and Enterprise Data to Hadoop, Kafka, and the CloudBring Your SAP and Enterprise Data to Hadoop, Kafka, and the Cloud
Bring Your SAP and Enterprise Data to Hadoop, Kafka, and the Cloud
 
Big SQL 3.0 - Fast and easy SQL on Hadoop
Big SQL 3.0 - Fast and easy SQL on HadoopBig SQL 3.0 - Fast and easy SQL on Hadoop
Big SQL 3.0 - Fast and easy SQL on Hadoop
 
Hadoop and Your Enterprise Data Warehouse
Hadoop and Your Enterprise Data WarehouseHadoop and Your Enterprise Data Warehouse
Hadoop and Your Enterprise Data Warehouse
 
Apache Tez – Present and Future
Apache Tez – Present and FutureApache Tez – Present and Future
Apache Tez – Present and Future
 
Apache Tez – Present and Future
Apache Tez – Present and FutureApache Tez – Present and Future
Apache Tez – Present and Future
 
Geode Meetup Apachecon
Geode Meetup ApacheconGeode Meetup Apachecon
Geode Meetup Apachecon
 
2014.07.11 biginsights data2014
2014.07.11 biginsights data20142014.07.11 biginsights data2014
2014.07.11 biginsights data2014
 
RUNNING A PETASCALE DATA SYSTEM: GOOD, BAD, AND UGLY CHOICES by Alexey Kharlamov
RUNNING A PETASCALE DATA SYSTEM: GOOD, BAD, AND UGLY CHOICES by Alexey KharlamovRUNNING A PETASCALE DATA SYSTEM: GOOD, BAD, AND UGLY CHOICES by Alexey Kharlamov
RUNNING A PETASCALE DATA SYSTEM: GOOD, BAD, AND UGLY CHOICES by Alexey Kharlamov
 
Whither the Hadoop Developer Experience, June Hadoop Meetup, Nitin Motgi
Whither the Hadoop Developer Experience, June Hadoop Meetup, Nitin MotgiWhither the Hadoop Developer Experience, June Hadoop Meetup, Nitin Motgi
Whither the Hadoop Developer Experience, June Hadoop Meetup, Nitin Motgi
 

Kürzlich hochgeladen

Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
amitlee9823
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
amitlee9823
 
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
amitlee9823
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
amitlee9823
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
amitlee9823
 

Kürzlich hochgeladen (20)

Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Predicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science ProjectPredicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science Project
 
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
 
Anomaly detection and data imputation within time series
Anomaly detection and data imputation within time seriesAnomaly detection and data imputation within time series
Anomaly detection and data imputation within time series
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
 

Gobblin' Big Data With Ease @ QConSF 2014

  • 1. Gobblin’ Big Data with Ease Lin Qiao Data Analytics Infra @ LinkedIn ©2014 LinkedIn Corporation. All Rights Reserved.
  • 2. Overview • Challenges • What does Gobblin provide? • How does Gobblin work? • Retrospective and lookahead ©2014 LinkedIn Corporation. All Rights Reserved.
  • 3. Overview • Challenges • What does Gobblin provide? • How does Gobblin work? • Retrospective and lookahead ©2014 LinkedIn Corporation. All Rights Reserved.
  • 4. Perception Analytics Platform Ingest Framework Primary Data Sources Transformations Business ©2014 LinkedIn Corporation. All Rights Reserved. Facing Insights Member Facing Insights and Data Products Load Load Validation Validation
  • 5. Reality Profile Data ©2014 LinkedIn Corporation. All Rights Reserved. 5 Hadoop Camus Lumos Teradata External Partner Data Ingest Framework DWH ETL (fact tables) Product, Sciences, Enterprise Analytics Site (Member Facing Products) Kafka Activity (tracking) Data R/W store (Oracle/ Espresso) Databus Changes Core Data Set (Tracking, Database, External) Derived Data Set Computed Results for Member Facing Products Enterprise Products Change dump on filer Ingest utilities Lassen (facts and dimensions) Read store (Voldemort)
  • 6. Challenges @ LinkedIn • Large variety of data sources • Multi-paradigm: streaming data, batch data • Different types of data: facts, dimensions, logs, snapshots, increments, changelog • Operational complexity of multiple pipelines • Data quality • Data availability and predictability • Engineering cost ©2014 LinkedIn Corporation. All Rights Reserved.
  • 7. Open source solutions sqoopp aegisthus flumep morphlinep logstash Camus RDBMS vendor-specific connectorsp ©2014 LinkedIn Corporation. All Rights Reserved.
  • 8. Goals • Unified and Structured Data Ingestion Flow – RDBMS -> Hadoop – Event Streams -> Hadoop • Higher level abstractions – Facts, Dimensions – Snapshots, increments, changelog • ELT oriented – Minimize transformation in the ingest pipeline ©2014 LinkedIn Corporation. All Rights Reserved.
  • 9. Central Ingestion Pipeline Hadoop OLTP Data ©2014 LinkedIn Corporation. All Rights Reserved. Teradata External Partner Data Gobblin DWH ETL (fact tables) Product, Sciences, Enterprise Analytics Site (Member Facing Products) Kafka Tracking R/W store (Oracle/ Espresso) Databus Changes Core Data Set (Tracking, Database, External) Derived Data Set Enterprise Products Change dump on filer REST JDBC SOAP Custom Compaction
  • 10. Overview • Challenges • What does Gobblin provide? • How does Gobblin work? • Retrospective and lookahead ©2014 LinkedIn Corporation. All Rights Reserved.
  • 11. Gobblin Usage @ LinkedIn • Business Analytics – Source data for, sales analysis, product sentiment analysis, etc. • Engineering – Source data for issue tracking, monitoring, product release, security compliance, A/B testing • Consumer product – Source data for acquisition integration – Performance analysis for email campaign, ads campaign, etc. ©2014 LinkedIn Corporation. All Rights Reserved.
  • 12. Key Features  Horizontally scalable and robust framework  Unified computation paradigm  Turn-key solution  Customize your own Ingestion ©2014 LinkedIn Corporation. All Rights Reserved.
  • 13. Scalable and Robust Framework Centralized State Management ©2014 LinkedIn Corporation. All Rights Reserved. 13 Scalable State is carried over between jobs automatically, so metadata can be used to track offsets, checkpoints, watermarks, etc. Jobs are partitioned into tasks that run concurrently Fault Tolerant Framework gracefully deals with machine and job failures Query Assurance Baked in quality checking throughout the flow
  • 14. Unified computation paradigm Common execution flow Common execution flow between batch ingestion and streaming ingestion pipelines Shared infra components Shared job state management, job metrics store, metadata management. ©2014 LinkedIn Corporation. All Rights Reserved.
  • 15. Turn Key Solution Built-in Exchange Protocols Existing adapters can easily be re-used for sources with common protocols (e.g. JDBC, REST, SFTP, SOAP, etc.) Built-in Source Integration Fully integrated with commonly used sources including MySQL, SQLServer, Oracle, SalesForce, HDFS, filer, internal dropbox) Built-in Data Ingestion Semantics Covers full dump and incremental ingestion for fact and dimension datasets. Policy driven flow execution & tuning Flow owners just need to specify pre-defined policy for handling job failure, degree of parallelism, what data to publish, etc. ©2014 LinkedIn Corporation. All Rights Reserved.
  • 16. Customize Your Own Ingestion Pipeline Extendable Operators Configurable Operator Flow Operators for doing extraction, conversion, quality checking, data persistence, etc., can be implemented or extended against common API. Configuration allows for multiple plugin points to add in customized logic and code ©2014 LinkedIn Corporation. All Rights Reserved.
  • 17. Overview • Challenges • What does Gobblin provide? • How does Gobblin work? • Lookahead ©2014 LinkedIn Corporation. All Rights Reserved.
  • 18. Under the Hood ©2014 LinkedIn Corporation. All Rights Reserved.
  • 19. Computation Model • Gobblin standalone – single process, multi-threading – Testing, small data, sampling • Gobblin on Map/Reduce – Large datasets, horizontally scalable • Gobblin on Yarn – Better resource utilization – More scheduling flexibilities ©2014 LinkedIn Corporation. All Rights Reserved.
  • 20. Scalable Ingestion Flow ©2014 LinkedIn Corporation. All Rights Reserved. 20 Source Work Unit Work Unit Work Unit Data Publisher Extractor Converter Quality Checker Writer Extractor Converter Quality Checker Writer Extractor Converter Quality Checker Writer Task Task Task
  • 21. Sources Source Work Unit Extractor Converter Publisher • Determines how to partition work - Partitioning algorithm can leverage source sharding - Group partitions intelligently for performance • Creates work-units to be scheduled ©2014 LinkedIn Corporation. All Rights Reserved. Quality Checker Writer
  • 22. Job Management Job run 1 Job run 2 Job run 3 • Job execution states – Watermark – Task state, job state, quality checker output, error code • Job synchronization • Job failure handling: policy driven ©2014 LinkedIn Corporation. All Rights Reserved. 22 State Store
  • 23. Gobblin Operator Flow Extract Schema Extract Record Convert Record ©2014 LinkedIn Corporation. All Rights Reserved. Check Record Data Quality Commit Task Data Write Record Convert Schema Check Task Data Quality 23
  • 24. Extractors Source Work Unit Extractor Converter Publisher ©2014 LinkedIn Corporation. All Rights Reserved. Quality Checker Writer • Specifies how to get the schema and pull data from the source • Return ResultSet iterator • Track high watermark • Track extraction metrics
  • 25. Converters Source Work Unit Extractor Converter Publisher • Allow for schema and data transformation – Filtering – projection – type conversion – Structural change • Composable: can specify a list of converters to be applied in the given order ©2014 LinkedIn Corporation. All Rights Reserved. Quality Checker Writer
  • 26. Quality Checkers • Ensure quality of any data produced by Gobblin • Can be run on a per record, per task, or per job basis • Can specify a list of quality checkers to be applied – Schema compatibility – Audit check – Sensitive fields – Unique key • Policy driven – FAIL – if the check fails then so does the job – OPTIONAL – if the checks fails the job continues – ERR_FILE – the offending row is written to an error file ©2014 LinkedIn Corporation. All Rights Reserved. 26 Source Work Unit Extractor Converter Publisher Quality Checker Writer
  • 27. Writers Source Work Unit Extractor Converter Publisher • Writing data in Avro format onto HDFS – One writer per task • Flexibility – Configurable compression codec (Deflate, Snappy) – Configurable buffer size • Plan to support other data format (Parquet, ORC) ©2014 LinkedIn Corporation. All Rights Reserved. Quality Checker Writer
  • 28. Publishers • Determines job success based on Policy. - COMMIT_ON_FULL_SUCCESS - COMMIT_ON_PARTIAL_SUCCESS • Commits data to final directories based on job success. Task 1 Task 2 Task 3 File 1 File 2 File 3 ©2014 LinkedIn Corporation. All Rights Reserved. Tmp Dir File 1 File 2 File 3 Final Dir File 1 File 2 File 3 Source Work Unit Extractor Converter Publisher Quality Checker Writer
  • 29. Gobblin Compaction Ingestion HDFS Compaction • Dimensions: – Initial full dump followed by incremental extracts in Gobblin – Maintain a consistent snapshot by doing regularly scheduled compaction • Facts: – Merge small files ©2014 LinkedIn Corporation. All Rights Reserved. 29
  • 30. Overview • Challenges • What does Gobblin provide? • How does Gobblin work? • Retrospective and lookahead ©2014 LinkedIn Corporation. All Rights Reserved.
  • 31. Gobblin in Production • > 350 datasets • ~ 60 TB per day • Salesforce • Responsys • RightNow • Timeforce • Slideshare • Newsle • A/B testing • LinkedIn JIRA • Data retention ©2014 LinkedIn Corporation. All Rights Reserved. 31 Production Instances Data Volume
  • 32. Lesson Learned • Data quality has a lot more work to do • Small data problem is not small • Performance optimization opportunities • Operational traits ©2014 LinkedIn Corporation. All Rights Reserved.
  • 33. Gobblin Roadmap • Gobblin on Yarn • Streaming Sources • Gobblin Workbench with ingestion DSL • Data Profiling for richer quality checking • Open source in Q4’14 ©2014 LinkedIn Corporation. All Rights Reserved. 33
  • 34. ©2014 LinkedIn Corporation. All Rights Reserved.

Hinweis der Redaktion

  1. Custom data pipelines: Developing a data pipeline per source Data model: Tightly bundled with RDBMS with strict DDL Operations effort: Large amount of pipelines to monitor, maintain and trouble-shoot. Data quality: no source of truth High investment cost and low productivity!