SlideShare uma empresa Scribd logo
1 de 39
Hadoop @ eBay:
Past, Present and
Future
Ryan Hennig
Hadoop Platform Team
ABOUT ME
RYAN HENNIG
Born and raised in Seattle, WA
Studied Computer Science at University of Washington in Seattle
Worked on Microsoft SQL Server 2006 – 2012
- Shipped SQL Server 2008, 2008 R2, 2012
Joined eBay Hadoop team in early 2012
- Based in Bellevue, suburb of Seattle

COMPUTE AND DATA INFRASTRUCTURE

3
AGENDA

Past: Growth of Hadoop at eBay
Present: Hadoop Use Cases, Operations Tools
Future: Hadoop 2.0
HADOOP AT EBAY:
PAST
Growth of Hadoop at eBay
Adventures in Forking
Partnership with Hortonworks
HADOOP EVOLUTION @ eBay

2013
• Shared
clusters

2012
2011
2010

2009
Search
2007

• 10snodes

Single digit
nodes

Shared
cluster
• 100s nodes
• 1000s +
core
• PB
• CDH2

• Shared
clusters
• 1000s node
• 10,000+ core
• 10s PB
• Wilma (0.20)

• Shared
clusters
• 1000s node
• 10,000+ core
• 10s PB
• Argon (0.22)

• 4k+ node
• 40,000+ core
• 50s PB
• HDP 1.x

HADOOP AT EBAY: PAST

6
ADVENTURES IN FORKING
• 2007-2010: eBay runs shared clusters on Cloudera Distribution of Hadoop
• 2010-2012: eBay runs shared clusters on custom Hadoop versions
– 2010: Wilma (based on 0.20)
– 2011: Argon (based on 0.22)
– 2012: Custom branch abandoned
• Lessons Learned
– Forking a fast-changing open source project is difficult and risky
• Balancing Development and operations needs
• Development team size
– Facebook had 100
– eBay had 15
• Coordination with open source community = lots of overhead
• Divergence from open source: Push changes early and often

HADOOP AT EBAY: PAST

7
HADOOP AT EBAY: PAST

8
EBAY AND HORTONWORKS
• 2012: eBay enters partnership with HortonWorks
– Goals
• Focus on eBay-specific development internally
• Leverage HortonWorks expertise for general Hadoop Development
• Avoid source code divergence by making open source contribution a priority
– Benefits to HortonWorks
• Credibility enhanced by having a well-known customer
• Ability to test at large scale

HADOOP AT EBAY: PAST

9
HADOOP AT EBAY:
PRESENT
Shared and Dedicated Clusters
Job Distribution
Use Case Examples
eBay Data Platform Overview
SHARED AND DEDICATED CLUSTERS
Shared clusters
–
–
–
–
–

10s of PB and 10s of thousands of slots per cluster
Used primarily for analytics of user behavior and inventory
Mix of production and ad-hoc jobs
Mix of MR, Hive, PIG, Cascading etc.
Hadoop and HBase security enabled

Dedicated clusters
–
–
–
–

Very specific use cases like Index Building
Tight SLAs for jobs (in order of minutes)
Immediate revenue impact
Usually smaller than our shared clusters, but still big (100s of nodes…)

HADOOP AT EBAY: PRESENT

11
JOB DISTRIBUTION BY TYPE

HADOOP AT EBAY: PRESENT

12
USE CASE EXAMPLES
•Cassini, eBay’s new search engine:
– Use MR to build full and incremental near-real-time indexes
– Raw Data is stored in HBase for efficient updates and random read
– Strong SLAs: < 10 minutes
– Run on dedicated clusters

•Related and similar Items recommendations:
– Use transactional data, click stream data, search index, etc.
– Production MR jobs on a shared cluster

•Analytics dashboard:
– Run Mobius MR jobs to join click stream data and transactional data
– Store summary data in HBase
– Web application to query HBase

HADOOP AT EBAY: PRESENT

13
HADOOP OPERATIONS
LDAP Integration
- All users stored in Active Directory, accessed via LDAP
- Access to MapReduce Queues granted via MapReduce queues
- Batch users: shared by a group of users
Security
- Kerberos as implemented by Microsoft Active Directory
- One domain for users, another for service/server principals
- Batch users authenticated via keytabs, not passwords
Misc
- 10’s of slave nodes are broken at any given time
- Often need to add several racks of machines at a time

HADOOP AT EBAY: PRESENT

14
HADOOP OPERATIONS
Team has Development and Operations Responsibilities
- 2 Huge shared clusters
- 1800+ users, exponential growth
- About 10 Hadoop developers
- Recently: operations work moved to dedicated team
Developed several tools to manage operations
- Hadoop Management Console: user-facing web app
- ldap-admin: swiss-army knife style tool for hadoop admins
- Puppet: for adding machines to the clusters, many racks at a time
- Decom/Recom scripts: automatic detection, repair, decommission, and
recommission of slave nodes

HADOOP AT EBAY: PRESENT

15
HADOOP MANAGEMENT CONSOLE
• Custom Web application built on Ruby on Rails
• Self-service tools are continually added to reduce support load
– User Management
• Access Requests
• Group Membership
– Batch User Management
• New Requests
• Sudoer management
– Dataset Management
• Explore Datasets
• Request New dataset transfer between Teradata and Hadoop
– Metadata tools
• Each dataset is stored in custom XML format
• Code Generation: Hive Tables, Java POJOs
HADOOP AT EBAY: PRESENT

16
HADOOP AT EBAY: PRESENT

17
HADOOP AT EBAY: PRESENT

18
HADOOP AT EBAY: PRESENT

19
HADOOP AT EBAY: PRESENT

20
HADOOP AT EBAY: PRESENT

21
HADOOP AT EBAY: PRESENT

22
HADOOP AT EBAY: PRESENT

23
ldap-admin
•Command-line tool written in Ruby
•Swiss-army knife tool, features added on demand for support issues
•Often used features:
– Add a user to a group
– View key details for LDAP users and groups
– List all users, batch users, hadoop groups
– Reset batch user passwords and keytabs
– Show/add/remove sudoers for a batch account
– Run user diagnostics: check permissions, keytabs, etc

HADOOP AT EBAY: PRESENT

24
HADOOP AT EBAY:
FUTURE
HDFS Federation
YARN
New Scenarios
Storage and Operational Efficiency
HDFS HA and Federation
• HDFS High-Availability for Reliability
– NameNode in Hadoop 1.0 is a Single Point of Failure
– Automated failover to hot standby
– Depends on ZooKeeper
• HDFS Federation for Scalability and Isolation
– Hadoop 1.0: Single NameNode service
• “Secondary NameNode” is not for failover
• Storage scales horizontally, but Namespace scales vertically
• No isolation for different tenants or applications
– Hadoop 2.0: HDFS Federation
• Partition the HDFS Namespace
• Many independent NameNodes
• Allows direct access to Block Storage w/o going through HDFS interface

HADOOP AT EBAY: FUTURE

26
HDFS HA

HADOOP AT EBAY: FUTURE

27
HDFS HA

HADOOP AT EBAY: FUTURE

28
HDFS HA

HADOOP AT EBAY: FUTURE

29
HDFS Federation
Horizontal Scalability of HDFS Namespace
Multiple independent NameNodes serving a subtree of the NameSpace

Example: NN1 provides /users, NN2 provides /reports

HADOOP AT EBAY: FUTURE

30
YARN
Hadoop 1.0: MapReduce
– JobTracker and TaskTracker services
– Handles Resource Management, Job Execution

Hadoop 2.0: YARN
- Refactoring Responsiblities of JobTracker and TaskTracker into more general
platform
- Global ResourceManager
- Cluster-wide resource managements
- Per-application ApplicationMaster
- Application-specific job control

HADOOP AT EBAY: FUTURE

31
YARN

HADOOP AT EBAY: FUTURE

32
YARN

HADOOP AT EBAY: FUTURE

33
YARN

HADOOP AT EBAY: FUTURE

34
YARN

HADOOP AT EBAY: FUTURE

35
New Scenarios
• Iterative Query
– Stinger (Hive), Impala, etc
– Rapid Data exploration and analysis
• Graph Databases
– TitanDB, Giraph
– Billions of vertices and edges
– Complex Graph Traversals
– Applications: PayPal fraud detection, Social Graph Analysis
• Real-Time Processing
– Storm (Twitter), Apache S4
– Reinforcement Learning, Monitoring

HADOOP AT EBAY: FUTURE

36
Efficiency and Reliability
• Storage Efficiency
– HDFS introduces a 3x storage cost for its replicas
– HDFS-RAID: more reliability for 1.5x storage cost
• Reed-Solomon
• Locally Repairable Codes (Project Xorbas)
– Tradeoff: the cost of repairing lost data is much higher
• Operational Efficiency
– More automation
– More self-service tools
– Better Monitoring

HADOOP AT EBAY: FUTURE

37
Open Source
• HMC Metadata
– Long term goal: standardize on open source technologies (HCatalog)
– Short term: explore what should be open sourced
• Hadoop Management Console
– Hadoop Access Request Automation
– Batch user creation and management
– Metadata management
– Code generation of dataset to Hive tables and Java POJOs
• ldap_admin tools
– Very useful but tightly coupled to eBay’s LDAP configuration
– Willing to open source if there is interest

HADOOP AT EBAY: FUTURE

38
THANK YOU
Questions?

Mais conteúdo relacionado

Mais procurados

Data Analytics on AWS
Data Analytics on AWSData Analytics on AWS
Data Analytics on AWSDanilo Poccia
 
Module 2 - Datalake
Module 2 - DatalakeModule 2 - Datalake
Module 2 - DatalakeLam Le
 
File Format Benchmarks - Avro, JSON, ORC, & Parquet
File Format Benchmarks - Avro, JSON, ORC, & ParquetFile Format Benchmarks - Avro, JSON, ORC, & Parquet
File Format Benchmarks - Avro, JSON, ORC, & ParquetOwen O'Malley
 
Hyperspace for Delta Lake
Hyperspace for Delta LakeHyperspace for Delta Lake
Hyperspace for Delta LakeDatabricks
 
Amazon OpenSearch Deep dive - 내부구조, 성능최적화 그리고 스케일링
Amazon OpenSearch Deep dive - 내부구조, 성능최적화 그리고 스케일링Amazon OpenSearch Deep dive - 내부구조, 성능최적화 그리고 스케일링
Amazon OpenSearch Deep dive - 내부구조, 성능최적화 그리고 스케일링Amazon Web Services Korea
 
Time-Series Apache HBase
Time-Series Apache HBaseTime-Series Apache HBase
Time-Series Apache HBaseHBaseCon
 
Virtual Flink Forward 2020: Netflix Data Mesh: Composable Data Processing - J...
Virtual Flink Forward 2020: Netflix Data Mesh: Composable Data Processing - J...Virtual Flink Forward 2020: Netflix Data Mesh: Composable Data Processing - J...
Virtual Flink Forward 2020: Netflix Data Mesh: Composable Data Processing - J...Flink Forward
 
Cloud DW technology trends and considerations for enterprises to apply snowflake
Cloud DW technology trends and considerations for enterprises to apply snowflakeCloud DW technology trends and considerations for enterprises to apply snowflake
Cloud DW technology trends and considerations for enterprises to apply snowflakeSANG WON PARK
 
Hadoop Ecosystem | Hadoop Ecosystem Tutorial | Hadoop Tutorial For Beginners ...
Hadoop Ecosystem | Hadoop Ecosystem Tutorial | Hadoop Tutorial For Beginners ...Hadoop Ecosystem | Hadoop Ecosystem Tutorial | Hadoop Tutorial For Beginners ...
Hadoop Ecosystem | Hadoop Ecosystem Tutorial | Hadoop Tutorial For Beginners ...Simplilearn
 
Architecture of Big Data Solutions
Architecture of Big Data SolutionsArchitecture of Big Data Solutions
Architecture of Big Data SolutionsGuido Schmutz
 
Get Intelligent with Metabase
Get Intelligent with MetabaseGet Intelligent with Metabase
Get Intelligent with MetabaseAnant Corporation
 
Simplify CDC Pipeline with Spark Streaming SQL and Delta Lake
Simplify CDC Pipeline with Spark Streaming SQL and Delta LakeSimplify CDC Pipeline with Spark Streaming SQL and Delta Lake
Simplify CDC Pipeline with Spark Streaming SQL and Delta LakeDatabricks
 
Rethinking State Management in Cloud-Native Streaming Systems
Rethinking State Management in Cloud-Native Streaming SystemsRethinking State Management in Cloud-Native Streaming Systems
Rethinking State Management in Cloud-Native Streaming SystemsYingjun Wu
 
Building large scale transactional data lake using apache hudi
Building large scale transactional data lake using apache hudiBuilding large scale transactional data lake using apache hudi
Building large scale transactional data lake using apache hudiBill Liu
 
Using Kafka and Kudu for fast, low-latency SQL analytics on streaming data
Using Kafka and Kudu for fast, low-latency SQL analytics on streaming dataUsing Kafka and Kudu for fast, low-latency SQL analytics on streaming data
Using Kafka and Kudu for fast, low-latency SQL analytics on streaming dataMike Percy
 

Mais procurados (20)

Data Analytics on AWS
Data Analytics on AWSData Analytics on AWS
Data Analytics on AWS
 
Module 2 - Datalake
Module 2 - DatalakeModule 2 - Datalake
Module 2 - Datalake
 
File Format Benchmarks - Avro, JSON, ORC, & Parquet
File Format Benchmarks - Avro, JSON, ORC, & ParquetFile Format Benchmarks - Avro, JSON, ORC, & Parquet
File Format Benchmarks - Avro, JSON, ORC, & Parquet
 
The Impala Cookbook
The Impala CookbookThe Impala Cookbook
The Impala Cookbook
 
Hyperspace for Delta Lake
Hyperspace for Delta LakeHyperspace for Delta Lake
Hyperspace for Delta Lake
 
Big data on aws
Big data on awsBig data on aws
Big data on aws
 
Amazon OpenSearch Deep dive - 내부구조, 성능최적화 그리고 스케일링
Amazon OpenSearch Deep dive - 내부구조, 성능최적화 그리고 스케일링Amazon OpenSearch Deep dive - 내부구조, 성능최적화 그리고 스케일링
Amazon OpenSearch Deep dive - 내부구조, 성능최적화 그리고 스케일링
 
Hadoop Overview kdd2011
Hadoop Overview kdd2011Hadoop Overview kdd2011
Hadoop Overview kdd2011
 
Time-Series Apache HBase
Time-Series Apache HBaseTime-Series Apache HBase
Time-Series Apache HBase
 
Virtual Flink Forward 2020: Netflix Data Mesh: Composable Data Processing - J...
Virtual Flink Forward 2020: Netflix Data Mesh: Composable Data Processing - J...Virtual Flink Forward 2020: Netflix Data Mesh: Composable Data Processing - J...
Virtual Flink Forward 2020: Netflix Data Mesh: Composable Data Processing - J...
 
Cloud DW technology trends and considerations for enterprises to apply snowflake
Cloud DW technology trends and considerations for enterprises to apply snowflakeCloud DW technology trends and considerations for enterprises to apply snowflake
Cloud DW technology trends and considerations for enterprises to apply snowflake
 
Hadoop Ecosystem | Hadoop Ecosystem Tutorial | Hadoop Tutorial For Beginners ...
Hadoop Ecosystem | Hadoop Ecosystem Tutorial | Hadoop Tutorial For Beginners ...Hadoop Ecosystem | Hadoop Ecosystem Tutorial | Hadoop Tutorial For Beginners ...
Hadoop Ecosystem | Hadoop Ecosystem Tutorial | Hadoop Tutorial For Beginners ...
 
Architecture of Big Data Solutions
Architecture of Big Data SolutionsArchitecture of Big Data Solutions
Architecture of Big Data Solutions
 
Get Intelligent with Metabase
Get Intelligent with MetabaseGet Intelligent with Metabase
Get Intelligent with Metabase
 
Simplify CDC Pipeline with Spark Streaming SQL and Delta Lake
Simplify CDC Pipeline with Spark Streaming SQL and Delta LakeSimplify CDC Pipeline with Spark Streaming SQL and Delta Lake
Simplify CDC Pipeline with Spark Streaming SQL and Delta Lake
 
Rethinking State Management in Cloud-Native Streaming Systems
Rethinking State Management in Cloud-Native Streaming SystemsRethinking State Management in Cloud-Native Streaming Systems
Rethinking State Management in Cloud-Native Streaming Systems
 
Building large scale transactional data lake using apache hudi
Building large scale transactional data lake using apache hudiBuilding large scale transactional data lake using apache hudi
Building large scale transactional data lake using apache hudi
 
Using Kafka and Kudu for fast, low-latency SQL analytics on streaming data
Using Kafka and Kudu for fast, low-latency SQL analytics on streaming dataUsing Kafka and Kudu for fast, low-latency SQL analytics on streaming data
Using Kafka and Kudu for fast, low-latency SQL analytics on streaming data
 
Modern Data Architecture
Modern Data ArchitectureModern Data Architecture
Modern Data Architecture
 
From Data Warehouse to Lakehouse
From Data Warehouse to LakehouseFrom Data Warehouse to Lakehouse
From Data Warehouse to Lakehouse
 

Destaque

WSO2 and 2 Degrees Case Study
WSO2 and 2 Degrees Case StudyWSO2 and 2 Degrees Case Study
WSO2 and 2 Degrees Case StudyWSO2
 
WSO2 & eBay Case Study
WSO2 & eBay Case StudyWSO2 & eBay Case Study
WSO2 & eBay Case StudyWSO2
 
E bay presentation
E bay presentationE bay presentation
E bay presentationJosh Tullo
 
Big Data Viz (and much more!) with Apache Zeppelin
Big Data Viz (and much more!) with Apache ZeppelinBig Data Viz (and much more!) with Apache Zeppelin
Big Data Viz (and much more!) with Apache ZeppelinBruno Bonnin
 
Explorez vos données avec apache zeppelin
Explorez vos données avec apache zeppelinExplorez vos données avec apache zeppelin
Explorez vos données avec apache zeppelinBruno Bonnin
 
The Past, Present, and Future of Hadoop at LinkedIn
The Past, Present, and Future of Hadoop at LinkedInThe Past, Present, and Future of Hadoop at LinkedIn
The Past, Present, and Future of Hadoop at LinkedInCarl Steinbach
 
LinkedIn's Logical Data Access Layer for Hadoop -- Strata London 2016
LinkedIn's Logical Data Access Layer for Hadoop -- Strata London 2016LinkedIn's Logical Data Access Layer for Hadoop -- Strata London 2016
LinkedIn's Logical Data Access Layer for Hadoop -- Strata London 2016Carl Steinbach
 
Path to 400M Members: LinkedIn’s Data Powered Journey
Path to 400M Members: LinkedIn’s Data Powered JourneyPath to 400M Members: LinkedIn’s Data Powered Journey
Path to 400M Members: LinkedIn’s Data Powered JourneyDataWorks Summit/Hadoop Summit
 
Data Science : Méthodologie, Outillage et Application - MS Cloud Summit Paris...
Data Science : Méthodologie, Outillage et Application - MS Cloud Summit Paris...Data Science : Méthodologie, Outillage et Application - MS Cloud Summit Paris...
Data Science : Méthodologie, Outillage et Application - MS Cloud Summit Paris...Jean-Pierre Riehl
 
Ebay presentation
Ebay presentationEbay presentation
Ebay presentationJenna Trego
 
Powerpoint Presentation on eBay.com
Powerpoint Presentation on eBay.comPowerpoint Presentation on eBay.com
Powerpoint Presentation on eBay.commyclass08
 
Apache Eagle Strata Hadoop World London 2016
Apache Eagle Strata Hadoop World London 2016Apache Eagle Strata Hadoop World London 2016
Apache Eagle Strata Hadoop World London 2016Arun Karthick Manoharan
 
Apache flink - prise en main rapide
Apache flink - prise en main rapideApache flink - prise en main rapide
Apache flink - prise en main rapideBilal Baltagi
 
Explorez vos données présentes dans MongoDB avec Apache Zeppelin
Explorez vos données présentes dans MongoDB avec Apache ZeppelinExplorez vos données présentes dans MongoDB avec Apache Zeppelin
Explorez vos données présentes dans MongoDB avec Apache ZeppelinBruno Bonnin
 

Destaque (20)

WSO2 and 2 Degrees Case Study
WSO2 and 2 Degrees Case StudyWSO2 and 2 Degrees Case Study
WSO2 and 2 Degrees Case Study
 
WSO2 & eBay Case Study
WSO2 & eBay Case StudyWSO2 & eBay Case Study
WSO2 & eBay Case Study
 
Hadoop at eBay
Hadoop at eBayHadoop at eBay
Hadoop at eBay
 
Past Time
Past TimePast Time
Past Time
 
E bay presentation
E bay presentationE bay presentation
E bay presentation
 
Big Data Viz (and much more!) with Apache Zeppelin
Big Data Viz (and much more!) with Apache ZeppelinBig Data Viz (and much more!) with Apache Zeppelin
Big Data Viz (and much more!) with Apache Zeppelin
 
Explorez vos données avec apache zeppelin
Explorez vos données avec apache zeppelinExplorez vos données avec apache zeppelin
Explorez vos données avec apache zeppelin
 
eBay Case Study
eBay Case StudyeBay Case Study
eBay Case Study
 
The Past, Present, and Future of Hadoop at LinkedIn
The Past, Present, and Future of Hadoop at LinkedInThe Past, Present, and Future of Hadoop at LinkedIn
The Past, Present, and Future of Hadoop at LinkedIn
 
LinkedIn's Logical Data Access Layer for Hadoop -- Strata London 2016
LinkedIn's Logical Data Access Layer for Hadoop -- Strata London 2016LinkedIn's Logical Data Access Layer for Hadoop -- Strata London 2016
LinkedIn's Logical Data Access Layer for Hadoop -- Strata London 2016
 
Ebay presentation
Ebay presentationEbay presentation
Ebay presentation
 
Path to 400M Members: LinkedIn’s Data Powered Journey
Path to 400M Members: LinkedIn’s Data Powered JourneyPath to 400M Members: LinkedIn’s Data Powered Journey
Path to 400M Members: LinkedIn’s Data Powered Journey
 
Data Science : Méthodologie, Outillage et Application - MS Cloud Summit Paris...
Data Science : Méthodologie, Outillage et Application - MS Cloud Summit Paris...Data Science : Méthodologie, Outillage et Application - MS Cloud Summit Paris...
Data Science : Méthodologie, Outillage et Application - MS Cloud Summit Paris...
 
Ebay presentation
Ebay presentationEbay presentation
Ebay presentation
 
Powerpoint Presentation on eBay.com
Powerpoint Presentation on eBay.comPowerpoint Presentation on eBay.com
Powerpoint Presentation on eBay.com
 
ebay Case Study
ebay Case Studyebay Case Study
ebay Case Study
 
Apache Eagle Strata Hadoop World London 2016
Apache Eagle Strata Hadoop World London 2016Apache Eagle Strata Hadoop World London 2016
Apache Eagle Strata Hadoop World London 2016
 
Apache Eagle: Secure Hadoop in Real Time
Apache Eagle: Secure Hadoop in Real TimeApache Eagle: Secure Hadoop in Real Time
Apache Eagle: Secure Hadoop in Real Time
 
Apache flink - prise en main rapide
Apache flink - prise en main rapideApache flink - prise en main rapide
Apache flink - prise en main rapide
 
Explorez vos données présentes dans MongoDB avec Apache Zeppelin
Explorez vos données présentes dans MongoDB avec Apache ZeppelinExplorez vos données présentes dans MongoDB avec Apache Zeppelin
Explorez vos données présentes dans MongoDB avec Apache Zeppelin
 

Semelhante a Hadoop @ eBay: Past, Present, and Future

Architecting the Future of Big Data and Search
Architecting the Future of Big Data and SearchArchitecting the Future of Big Data and Search
Architecting the Future of Big Data and SearchHortonworks
 
A glimpse into the Future of Hadoop & Big Data
A glimpse into the Future of Hadoop & Big DataA glimpse into the Future of Hadoop & Big Data
A glimpse into the Future of Hadoop & Big DataSaurav Kumar Sinha
 
Asbury Hadoop Overview
Asbury Hadoop OverviewAsbury Hadoop Overview
Asbury Hadoop OverviewBrian Enochson
 
Hadoop - Where did it come from and what's next? (Pasadena Sept 2014)
Hadoop - Where did it come from and what's next? (Pasadena Sept 2014)Hadoop - Where did it come from and what's next? (Pasadena Sept 2014)
Hadoop - Where did it come from and what's next? (Pasadena Sept 2014)Eric Baldeschwieler
 
Hadoop - Looking to the Future By Arun Murthy
Hadoop - Looking to the Future By Arun MurthyHadoop - Looking to the Future By Arun Murthy
Hadoop - Looking to the Future By Arun Murthyhuguk
 
Hadoop Demystified + MapReduce (Java and C#), Pig, and Hive Demos
Hadoop Demystified + MapReduce (Java and C#), Pig, and Hive DemosHadoop Demystified + MapReduce (Java and C#), Pig, and Hive Demos
Hadoop Demystified + MapReduce (Java and C#), Pig, and Hive DemosLester Martin
 
An Introduction of Apache Hadoop
An Introduction of Apache HadoopAn Introduction of Apache Hadoop
An Introduction of Apache HadoopKMS Technology
 
Advanced Analytics and Big Data (August 2014)
Advanced Analytics and Big Data (August 2014)Advanced Analytics and Big Data (August 2014)
Advanced Analytics and Big Data (August 2014)Thomas W. Dinsmore
 
Tcloud Computing Hadoop Family and Ecosystem Service 2013.Q3
Tcloud Computing Hadoop Family and Ecosystem Service 2013.Q3Tcloud Computing Hadoop Family and Ecosystem Service 2013.Q3
Tcloud Computing Hadoop Family and Ecosystem Service 2013.Q3tcloudcomputing-tw
 
hadoop-ecosystem-ppt.pptx
hadoop-ecosystem-ppt.pptxhadoop-ecosystem-ppt.pptx
hadoop-ecosystem-ppt.pptxraghavanand36
 

Semelhante a Hadoop @ eBay: Past, Present, and Future (20)

Architecting the Future of Big Data and Search
Architecting the Future of Big Data and SearchArchitecting the Future of Big Data and Search
Architecting the Future of Big Data and Search
 
A glimpse into the Future of Hadoop & Big Data
A glimpse into the Future of Hadoop & Big DataA glimpse into the Future of Hadoop & Big Data
A glimpse into the Future of Hadoop & Big Data
 
Hadoop Primer
Hadoop PrimerHadoop Primer
Hadoop Primer
 
Apache Hadoop 0.22 and Other Versions
Apache Hadoop 0.22 and Other VersionsApache Hadoop 0.22 and Other Versions
Apache Hadoop 0.22 and Other Versions
 
Asbury Hadoop Overview
Asbury Hadoop OverviewAsbury Hadoop Overview
Asbury Hadoop Overview
 
Hadoop - Where did it come from and what's next? (Pasadena Sept 2014)
Hadoop - Where did it come from and what's next? (Pasadena Sept 2014)Hadoop - Where did it come from and what's next? (Pasadena Sept 2014)
Hadoop - Where did it come from and what's next? (Pasadena Sept 2014)
 
Hadoop - Looking to the Future By Arun Murthy
Hadoop - Looking to the Future By Arun MurthyHadoop - Looking to the Future By Arun Murthy
Hadoop - Looking to the Future By Arun Murthy
 
Hadoop
HadoopHadoop
Hadoop
 
Hadoop Demystified + MapReduce (Java and C#), Pig, and Hive Demos
Hadoop Demystified + MapReduce (Java and C#), Pig, and Hive DemosHadoop Demystified + MapReduce (Java and C#), Pig, and Hive Demos
Hadoop Demystified + MapReduce (Java and C#), Pig, and Hive Demos
 
Hadoop content
Hadoop contentHadoop content
Hadoop content
 
An Introduction of Apache Hadoop
An Introduction of Apache HadoopAn Introduction of Apache Hadoop
An Introduction of Apache Hadoop
 
Advanced Analytics and Big Data (August 2014)
Advanced Analytics and Big Data (August 2014)Advanced Analytics and Big Data (August 2014)
Advanced Analytics and Big Data (August 2014)
 
Tcloud Computing Hadoop Family and Ecosystem Service 2013.Q3
Tcloud Computing Hadoop Family and Ecosystem Service 2013.Q3Tcloud Computing Hadoop Family and Ecosystem Service 2013.Q3
Tcloud Computing Hadoop Family and Ecosystem Service 2013.Q3
 
Getting started big data
Getting started big dataGetting started big data
Getting started big data
 
Big Data A La Carte Menu
Big Data A La Carte MenuBig Data A La Carte Menu
Big Data A La Carte Menu
 
List of Engineering Colleges in Uttarakhand
List of Engineering Colleges in UttarakhandList of Engineering Colleges in Uttarakhand
List of Engineering Colleges in Uttarakhand
 
Hadoop.pptx
Hadoop.pptxHadoop.pptx
Hadoop.pptx
 
Hadoop.pptx
Hadoop.pptxHadoop.pptx
Hadoop.pptx
 
Hadoop
HadoopHadoop
Hadoop
 
hadoop-ecosystem-ppt.pptx
hadoop-ecosystem-ppt.pptxhadoop-ecosystem-ppt.pptx
hadoop-ecosystem-ppt.pptx
 

Último

Marketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent ChirchirMarketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent Chirchirictsugar
 
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCRashishs7044
 
Case study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailCase study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailAriel592675
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfpollardmorgan
 
Organizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessOrganizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessSeta Wicaksana
 
Future Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted VersionFuture Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted VersionMintel Group
 
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu MenzaYouth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menzaictsugar
 
Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737Riya Pathan
 
Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024Kirill Klimov
 
8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCRashishs7044
 
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCRashishs7044
 
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City GurgaonCall Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaoncallgirls2057
 
The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024christinemoorman
 
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607dollysharma2066
 
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,noida100girls
 
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdfNewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdfKhaled Al Awadi
 
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607dollysharma2066
 
Kenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith PereraKenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith Pereraictsugar
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis UsageNeil Kimberley
 

Último (20)

Japan IT Week 2024 Brochure by 47Billion (English)
Japan IT Week 2024 Brochure by 47Billion (English)Japan IT Week 2024 Brochure by 47Billion (English)
Japan IT Week 2024 Brochure by 47Billion (English)
 
Marketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent ChirchirMarketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent Chirchir
 
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
 
Case study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailCase study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detail
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
 
Organizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessOrganizational Structure Running A Successful Business
Organizational Structure Running A Successful Business
 
Future Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted VersionFuture Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted Version
 
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu MenzaYouth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
 
Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737
 
Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024
 
8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR
 
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
 
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City GurgaonCall Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaon
 
The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024
 
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
 
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
 
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdfNewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
 
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
 
Kenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith PereraKenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith Perera
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage
 

Hadoop @ eBay: Past, Present, and Future

  • 1. Hadoop @ eBay: Past, Present and Future Ryan Hennig Hadoop Platform Team
  • 3. RYAN HENNIG Born and raised in Seattle, WA Studied Computer Science at University of Washington in Seattle Worked on Microsoft SQL Server 2006 – 2012 - Shipped SQL Server 2008, 2008 R2, 2012 Joined eBay Hadoop team in early 2012 - Based in Bellevue, suburb of Seattle COMPUTE AND DATA INFRASTRUCTURE 3
  • 4. AGENDA Past: Growth of Hadoop at eBay Present: Hadoop Use Cases, Operations Tools Future: Hadoop 2.0
  • 5. HADOOP AT EBAY: PAST Growth of Hadoop at eBay Adventures in Forking Partnership with Hortonworks
  • 6. HADOOP EVOLUTION @ eBay 2013 • Shared clusters 2012 2011 2010 2009 Search 2007 • 10snodes Single digit nodes Shared cluster • 100s nodes • 1000s + core • PB • CDH2 • Shared clusters • 1000s node • 10,000+ core • 10s PB • Wilma (0.20) • Shared clusters • 1000s node • 10,000+ core • 10s PB • Argon (0.22) • 4k+ node • 40,000+ core • 50s PB • HDP 1.x HADOOP AT EBAY: PAST 6
  • 7. ADVENTURES IN FORKING • 2007-2010: eBay runs shared clusters on Cloudera Distribution of Hadoop • 2010-2012: eBay runs shared clusters on custom Hadoop versions – 2010: Wilma (based on 0.20) – 2011: Argon (based on 0.22) – 2012: Custom branch abandoned • Lessons Learned – Forking a fast-changing open source project is difficult and risky • Balancing Development and operations needs • Development team size – Facebook had 100 – eBay had 15 • Coordination with open source community = lots of overhead • Divergence from open source: Push changes early and often HADOOP AT EBAY: PAST 7
  • 9. EBAY AND HORTONWORKS • 2012: eBay enters partnership with HortonWorks – Goals • Focus on eBay-specific development internally • Leverage HortonWorks expertise for general Hadoop Development • Avoid source code divergence by making open source contribution a priority – Benefits to HortonWorks • Credibility enhanced by having a well-known customer • Ability to test at large scale HADOOP AT EBAY: PAST 9
  • 10. HADOOP AT EBAY: PRESENT Shared and Dedicated Clusters Job Distribution Use Case Examples eBay Data Platform Overview
  • 11. SHARED AND DEDICATED CLUSTERS Shared clusters – – – – – 10s of PB and 10s of thousands of slots per cluster Used primarily for analytics of user behavior and inventory Mix of production and ad-hoc jobs Mix of MR, Hive, PIG, Cascading etc. Hadoop and HBase security enabled Dedicated clusters – – – – Very specific use cases like Index Building Tight SLAs for jobs (in order of minutes) Immediate revenue impact Usually smaller than our shared clusters, but still big (100s of nodes…) HADOOP AT EBAY: PRESENT 11
  • 12. JOB DISTRIBUTION BY TYPE HADOOP AT EBAY: PRESENT 12
  • 13. USE CASE EXAMPLES •Cassini, eBay’s new search engine: – Use MR to build full and incremental near-real-time indexes – Raw Data is stored in HBase for efficient updates and random read – Strong SLAs: < 10 minutes – Run on dedicated clusters •Related and similar Items recommendations: – Use transactional data, click stream data, search index, etc. – Production MR jobs on a shared cluster •Analytics dashboard: – Run Mobius MR jobs to join click stream data and transactional data – Store summary data in HBase – Web application to query HBase HADOOP AT EBAY: PRESENT 13
  • 14. HADOOP OPERATIONS LDAP Integration - All users stored in Active Directory, accessed via LDAP - Access to MapReduce Queues granted via MapReduce queues - Batch users: shared by a group of users Security - Kerberos as implemented by Microsoft Active Directory - One domain for users, another for service/server principals - Batch users authenticated via keytabs, not passwords Misc - 10’s of slave nodes are broken at any given time - Often need to add several racks of machines at a time HADOOP AT EBAY: PRESENT 14
  • 15. HADOOP OPERATIONS Team has Development and Operations Responsibilities - 2 Huge shared clusters - 1800+ users, exponential growth - About 10 Hadoop developers - Recently: operations work moved to dedicated team Developed several tools to manage operations - Hadoop Management Console: user-facing web app - ldap-admin: swiss-army knife style tool for hadoop admins - Puppet: for adding machines to the clusters, many racks at a time - Decom/Recom scripts: automatic detection, repair, decommission, and recommission of slave nodes HADOOP AT EBAY: PRESENT 15
  • 16. HADOOP MANAGEMENT CONSOLE • Custom Web application built on Ruby on Rails • Self-service tools are continually added to reduce support load – User Management • Access Requests • Group Membership – Batch User Management • New Requests • Sudoer management – Dataset Management • Explore Datasets • Request New dataset transfer between Teradata and Hadoop – Metadata tools • Each dataset is stored in custom XML format • Code Generation: Hive Tables, Java POJOs HADOOP AT EBAY: PRESENT 16
  • 17. HADOOP AT EBAY: PRESENT 17
  • 18. HADOOP AT EBAY: PRESENT 18
  • 19. HADOOP AT EBAY: PRESENT 19
  • 20. HADOOP AT EBAY: PRESENT 20
  • 21. HADOOP AT EBAY: PRESENT 21
  • 22. HADOOP AT EBAY: PRESENT 22
  • 23. HADOOP AT EBAY: PRESENT 23
  • 24. ldap-admin •Command-line tool written in Ruby •Swiss-army knife tool, features added on demand for support issues •Often used features: – Add a user to a group – View key details for LDAP users and groups – List all users, batch users, hadoop groups – Reset batch user passwords and keytabs – Show/add/remove sudoers for a batch account – Run user diagnostics: check permissions, keytabs, etc HADOOP AT EBAY: PRESENT 24
  • 25. HADOOP AT EBAY: FUTURE HDFS Federation YARN New Scenarios Storage and Operational Efficiency
  • 26. HDFS HA and Federation • HDFS High-Availability for Reliability – NameNode in Hadoop 1.0 is a Single Point of Failure – Automated failover to hot standby – Depends on ZooKeeper • HDFS Federation for Scalability and Isolation – Hadoop 1.0: Single NameNode service • “Secondary NameNode” is not for failover • Storage scales horizontally, but Namespace scales vertically • No isolation for different tenants or applications – Hadoop 2.0: HDFS Federation • Partition the HDFS Namespace • Many independent NameNodes • Allows direct access to Block Storage w/o going through HDFS interface HADOOP AT EBAY: FUTURE 26
  • 27. HDFS HA HADOOP AT EBAY: FUTURE 27
  • 28. HDFS HA HADOOP AT EBAY: FUTURE 28
  • 29. HDFS HA HADOOP AT EBAY: FUTURE 29
  • 30. HDFS Federation Horizontal Scalability of HDFS Namespace Multiple independent NameNodes serving a subtree of the NameSpace Example: NN1 provides /users, NN2 provides /reports HADOOP AT EBAY: FUTURE 30
  • 31. YARN Hadoop 1.0: MapReduce – JobTracker and TaskTracker services – Handles Resource Management, Job Execution Hadoop 2.0: YARN - Refactoring Responsiblities of JobTracker and TaskTracker into more general platform - Global ResourceManager - Cluster-wide resource managements - Per-application ApplicationMaster - Application-specific job control HADOOP AT EBAY: FUTURE 31
  • 32. YARN HADOOP AT EBAY: FUTURE 32
  • 33. YARN HADOOP AT EBAY: FUTURE 33
  • 34. YARN HADOOP AT EBAY: FUTURE 34
  • 35. YARN HADOOP AT EBAY: FUTURE 35
  • 36. New Scenarios • Iterative Query – Stinger (Hive), Impala, etc – Rapid Data exploration and analysis • Graph Databases – TitanDB, Giraph – Billions of vertices and edges – Complex Graph Traversals – Applications: PayPal fraud detection, Social Graph Analysis • Real-Time Processing – Storm (Twitter), Apache S4 – Reinforcement Learning, Monitoring HADOOP AT EBAY: FUTURE 36
  • 37. Efficiency and Reliability • Storage Efficiency – HDFS introduces a 3x storage cost for its replicas – HDFS-RAID: more reliability for 1.5x storage cost • Reed-Solomon • Locally Repairable Codes (Project Xorbas) – Tradeoff: the cost of repairing lost data is much higher • Operational Efficiency – More automation – More self-service tools – Better Monitoring HADOOP AT EBAY: FUTURE 37
  • 38. Open Source • HMC Metadata – Long term goal: standardize on open source technologies (HCatalog) – Short term: explore what should be open sourced • Hadoop Management Console – Hadoop Access Request Automation – Batch user creation and management – Metadata management – Code generation of dataset to Hive tables and Java POJOs • ldap_admin tools – Very useful but tightly coupled to eBay’s LDAP configuration – Willing to open source if there is interest HADOOP AT EBAY: FUTURE 38