SlideShare uma empresa Scribd logo
1 de 29
Baixar para ler offline
Monday, February 1, 2010
What is Cloudera Building?
         For Now, At Least



         Jeff Hammerbacher
         Chief Scientist and Vice President of Products, Cloudera
         February 1, 2010



Monday, February 1, 2010
My Background
         Thanks for Asking
         ▪   hammer@cloudera.com
         ▪   Studied Mathematics at Harvard
         ▪   Worked as a Quant on Wall Street
         ▪   Conceived, built, and led Data team at Facebook
             ▪   Nearly 30 amazing engineers and data scientists
             ▪   Several open source projects and research papers
         ▪   Founder of Cloudera
             ▪   Vice President of Products and Chief Scientist
             ▪   Also, check out the book “Beautiful Data”

Monday, February 1, 2010
Presentation Outline
         ▪   What is Hadoop?
             ▪   HDFS and MapReduce
             ▪   Hive, Pig, Avro, Zookeeper, HBase
         ▪   My time at Facebook
             ▪   The problem we were trying to solve
             ▪   Why we chose Hadoop
         ▪   What we’re building at Cloudera
             ▪   What we build and sell right now
             ▪   Some plans for the future
         ▪   Questions and Discussion


Monday, February 1, 2010
What is Hadoop?
         ▪   Apache Software Foundation project, mostly written in Java
         ▪   Inspired by Google infrastructure
         ▪   Software for programming warehouse-scale computers (WSCs)
         ▪   Hundreds of production deployments
         ▪   Project structure
             ▪   Hadoop Distributed File System (HDFS)
             ▪   Hadoop MapReduce
             ▪   Hadoop Common
             ▪   Other subprojects
                 ▪   Avro, HBase, Hive, Pig, Zookeeper


Monday, February 1, 2010
Anatomy of a Hadoop Cluster
         ▪   Commodity servers
             ▪   1 RU, 2 x 4 core CPU, 8 GB RAM, 4 x 1 TB SATA, 2 x 1 gE NIC
             ▪   Or: 2 RU, 2 x 8 core CPU, 32 GB RAM, 12 x 1 TB SATA
         ▪   Typically arranged in 2 level architecture
                              Commodity Hardware                  Cluster
         ▪   Inexpensive to acquire and maintain




                           •! Typically in 2 level architecture
                               –! Nodes are commodity Linux PCs
Monday, February 1, 2010       –! 40 nodes/rack
HDFS
         ▪   Pool commodity servers into a single hierarchical namespace
         ▪   Break files into 128 MB blocks and replicate blocks
         ▪   Designed for large files written once but read many times
             ▪   Files are append-only via a single writer
         ▪   Two major daemons: NameNode and DataNode
             ▪   NameNode manages file system metadata
             ▪   DataNode manages data using local filesystem
         ▪   HDFS manages checksumming, replication, and compression
         ▪   Throughput scales nearly linearly with node cluster size



Monday, February 1, 2010
'$*31%10$13+3&'1%)#$#I%
                                #79:"5$)$3-.".0&2$3-"&)"06-"*+,.0-2"84"82-$?()3"()*&5()3"
                                /(+-."()0&"'(-*-.;"*$++-%"C8+&*?.;D"$)%".0&2()3"-$*6"&/"06-"8+&*?."

                                                        HDFS
                                2-%,)%$)0+4"$*2&.."06-"'&&+"&/".-2=-2.<""B)"06-"*&55&)"*$.-;"
                                #79:".0&2-."062--"*&5'+-0-"*&'(-."&/"-$*6"/(+-"84"*&'4()3"-$*6"
                                '(-*-"0&"062--"%(//-2-)0".-2=-2.E"
             HDFS distributes file blocks among servers
                      "

                                                         " !"                 " F"

                                                          I"                   !"


                                    "                     H"                   H"
                                        F"

                                        !"                         " F"

                                        G"    #79:"                 G"

                                                                    I"
                                        I"

                                        H"               " !"                 " F"

                                                          G"                    G"

                                                          I"                    H"


                                                                                          "
                                        !"#$%&'()'*+!,'-"./%"0$/&.'1"2&'02345.'6738#'.&%9&%.'
                                "
Monday, February 1, 2010
Hadoop MapReduce
         ▪   Fault tolerant execution layer and API for parallel data processing
         ▪   Can target multiple storage systems
         ▪   Key/value data model
         ▪   Two major daemons: JobTracker and TaskTracker
         ▪   Many client interfaces
             ▪   Java
             ▪   C++
             ▪   Streaming
             ▪   Pig
             ▪   SQL (Hive)


Monday, February 1, 2010
MapReduce
                      MapReduce pushes work out to the data
             (#)**+%$#41'%
                                            Q"                         K"
             #)5#0$#.1%*6%(/789%
             )#$#%)&'$3&:;$&*0%             !"                         Q"
             '$3#$1.<%$*%+;'"%=*34%
                                            N"                         N"
             *;$%$*%>#0<%0*)1'%&0%#%
             ?@;'$13A%B"&'%#@@*='%
             #0#@<'1'%$*%3;0%&0%                          K"
             +#3#@@1@%#0)%1@&>&0#$1'%
             $"1%:*$$@101?4'%                             P"
             &>+*'1)%:<%>*0*@&$"&?%                       !"
             '$*3#.1%'<'$1>'A%
                                            Q"
                                                                       K"
                                            P"
                                                                       P"
                                            !"
                                                                       N"



                                                                                     "
                                                 !"#$%&'()'*+,--.'.$/0&/'1-%2'-$3'3-'30&',+3+'
Monday, February 1, 2010                "
Hadoop Subprojects
         ▪   Avro
             ▪   Cross-language framework for RPC and serialization
         ▪   HBase
             ▪   Table storage on top of HDFS, modeled after Google’s BigTable
         ▪   Hive
             ▪   SQL interface to structured data stored in HDFS
         ▪   Pig
             ▪   Language for data flow programming; also Owl, Zebra, SQL
         ▪   Zookeeper
             ▪   Coordination service for distributed systems

Monday, February 1, 2010
Hadoop Community Support
         ▪   185+ contributors to the open source code base
             ▪   ~60 engineers at Yahoo!, ~15 at Facebook, ~15 at Cloudera
         ▪   Over 500 (paid!) attendees at Hadoop World NYC
         ▪   Regular user group meetups in many cities
             ▪   Bay Area Meetup group has 534 members
         ▪   Three books (O’Reilly, Apress, Manning)
         ▪   Training videos free online
         ▪   University courses across the world
         ▪   Growing consultant and systems integrator expertise
         ▪   Training, certification, support, and services from Cloudera

Monday, February 1, 2010
Hadoop Project Mechanics
         ▪   Trademark owned by ASF; Apache 2.0 license for code
         ▪   Rigorous unit, smoke, performance, and system tests
         ▪   Release cycle of 9 months
             ▪   Last major release: 0.20.0 on April 22, 2009
             ▪   0.21.0 will be last release before 1.0; nearly complete
             ▪   Subprojects on different release cycles
         ▪   Releases put to a vote according to Apache guidelines
         ▪   Releases made available as tarballs on Apache and mirrors
         ▪   Cloudera packages a distribution for many platforms
             ▪   RPM and Debian packages; AMI for Amazon’s EC2


Monday, February 1, 2010
Hadoop at Facebook
         Early 2006: The First Research Scientist
         ▪   Source data living on horizontally partitioned MySQL tier
         ▪   Intensive historical analysis difficult
         ▪   No way to assess impact of changes to the site


         ▪   First try: Python scripts pull data into MySQL
         ▪   Second try: Python scripts pull data into Oracle


         ▪   ...and then we turned on impression logging



Monday, February 1, 2010
Facebook Data Infrastructure
                                                 2007
                                  Scribe Tier                     MySQL Tier




                                                Data Collection
                                                    Server




                                                Oracle Database
                                                     Server




Monday, February 1, 2010
Facebook Data Infrastructure
                                                        2008
                                        Scribe Tier            MySQL Tier




                                Hadoop Tier




                                   Oracle RAC Servers




Monday, February 1, 2010
Major Data Team Workloads
         ▪   Data collection
             ▪   server logs
             ▪   application databases
             ▪   web crawls
         ▪   Thousands of multi-stage processing pipelines
             ▪   Summaries consumed by external users
             ▪   Summaries for internal reporting
             ▪   Ad optimization pipeline
             ▪   Experimentation platform pipeline
         ▪   Ad hoc analyses


Monday, February 1, 2010
Workload Statistics
         Facebook 2010
         ▪   Largest cluster running Hive: 8,400 cores, 12.5 PB of storage
         ▪   12 TB of compressed new data added per day
         ▪   135TB of compressed data scanned per day
         ▪   7,500+ Hive jobs on per day
         ▪   80K compute hours per day
         ▪   Around 200 people per month run Hive jobs



             (data from Ashish Thusoo’s Bay Area ACM DM SIG presentation)


Monday, February 1, 2010
Why Did Facebook Choose Hadoop?
         1. Demonstrated effectiveness for primary workload
         2. Proven ability to scale past any commercial vendor
         3. Easy provisioning and capacity planning with commodity nodes
         4. Data access for all: engineers, business analysts, sales managers
         5. Single system to manage XML/JSON, text, and relational data
         6. No schemas enabled data collection without involving Data team
         7. Simple, modular architecture
         8. Easy to build, deploy, and monitor
         9. Apache-licensed open source code granted to ASF



Monday, February 1, 2010
Why Did Facebook Choose Hadoop?
         ▪   Most importantly: the community
             ▪   Broad and deep commitment to future development from
                 multiple organizations
             ▪   Interaction with a community often useful for recruiting
             ▪   Growing body of users and operators with prior expertise
                 meant lower cost of training new users
             ▪   Learn about best practices from other organizations
             ▪   Widely available public materials for improving skills
             ▪   Not then, but now
                 ▪   Commercial training, certification, support, and services
                 ▪   Growing body of complementary software


Monday, February 1, 2010
Hadoop at Cloudera
         Cloudera’s Distribution for Hadoop
         ▪   Open source distribution of Apache Hadoop for enterprise use
             ▪   Includes HDFS, MapReduce, Pig, Hive, HBase, and ZooKeeper
             ▪   Ensures cross-subproject compatibility
             ▪   Adds backported patches and customer-specific patches
             ▪   Adds Cloudera utilities like MRUnit and Sqoop
             ▪   Better integration with daemon administration utilities
             ▪   Follows the Filesystem Hierarchy Standard (FHS) for file layout
             ▪   Tools for automatically generating a configuration
             ▪   Packaged as RPM, DEB, AMI, or tarball


Monday, February 1, 2010
Hadoop at Cloudera
         Training and Certification
         ▪   Free online training
             ▪   Basic, Intermediate (including Hive and Pig), and Advanced
             ▪   Includes a virtual machine with software and exercises
         ▪   Live training sessions
             ▪   One live session per month somewhere in the world
             ▪   If you have a large group, we may come to you
         ▪   Certification
             ▪   Exams for Developers, Administrators, and Managers
             ▪   Administered online or in person

Monday, February 1, 2010
Hadoop at Cloudera
         Services and Support
         ▪   Professional Services
             ▪   Get Hadoop up and running in your environment
             ▪   Optimize an existing Hadoop infrastructure
             ▪   Design new algorithms to make the most of your data
         ▪   Support
             ▪   Unlimited questions for Cloudera’s technical team
             ▪   Access to our Knowledge Base
             ▪   Help prioritize feature development for CDH
             ▪   Early access to upcoming Cloudera software products


Monday, February 1, 2010
Hadoop at Cloudera
         Upcoming Work: HDFS
         ▪   Symlinks
         ▪   Security
         ▪   Native client
         ▪   Refactoring of read and write path
         ▪   Fast upgrade and recovery; later, high availability
         ▪   Integration of Avro
         ▪   Integration with existing monitoring tools
         ▪   Better stress testing at scale



Monday, February 1, 2010
Hadoop at Cloudera
         Upcoming Work: MapReduce
         ▪   Avro end-to-end
             ▪   Avro in the shuffle
             ▪   Avro input and output formats
         ▪   Security
         ▪   Continued API evolution; better support for non-Java languages
         ▪   System counters
         ▪   Integration with a resource manager: Nexus?
         ▪   Potential rewrite of master process, the JobTracker
         ▪   Potential integration of MOP

Monday, February 1, 2010
Hadoop at Cloudera
         Upcoming Work: Avro
         ▪   Complete the RPC spec: SASL over TCP sockets, HTTP
             ▪   Also: counters for debugging
         ▪   Improved language support
             ▪   Currently: C, Java, C++, Python, Ruby
             ▪   Define “levels” of implementation
         ▪   Better command line utilities and tools for authoring schemas
         ▪   Additional compression codecs
         ▪   Additional benchmarks
         ▪   Integration with other projects (HDFS, MapReduce, Hive, HBase)

Monday, February 1, 2010
Hadoop at Cloudera
         Commercial Software
         ▪   General thesis: build commercially-licensed software products
             which complement CDH for data management and analysis
         ▪   Current products
             ▪   Cloudera Desktop
                 ▪   Extensible interface for users of Cloudera software
         ▪   Upcoming products
             ▪   Nothing in writing




Monday, February 1, 2010
Cloudera Desktop
                           Big Data can be Beautiful




Monday, February 1, 2010
(c) 2009 Cloudera, Inc. or its licensors.  "Cloudera" is a registered trademark of Cloudera, Inc.. All rights reserved. 1.0




Monday, February 1, 2010

Mais conteúdo relacionado

Destaque

slide show
slide showslide show
slide showhuiming
 
C:\Fakepath\Presentation1
C:\Fakepath\Presentation1C:\Fakepath\Presentation1
C:\Fakepath\Presentation1huiming
 
Hybrid Instruments in Startup Financing, Convertible notes and SAFE
Hybrid Instruments in Startup Financing, Convertible notes and SAFEHybrid Instruments in Startup Financing, Convertible notes and SAFE
Hybrid Instruments in Startup Financing, Convertible notes and SAFEJaakko Lindgren
 
C:\Fakepath\Presentation1
C:\Fakepath\Presentation1C:\Fakepath\Presentation1
C:\Fakepath\Presentation1huiming
 
Postprimiere
PostprimierePostprimiere
PostprimiereIlya Ilin
 
Melissa Guarin Portfolio
Melissa Guarin PortfolioMelissa Guarin Portfolio
Melissa Guarin Portfolioguest5e8d43
 

Destaque (7)

slide show
slide showslide show
slide show
 
Gp Team Prayer
Gp Team PrayerGp Team Prayer
Gp Team Prayer
 
C:\Fakepath\Presentation1
C:\Fakepath\Presentation1C:\Fakepath\Presentation1
C:\Fakepath\Presentation1
 
Hybrid Instruments in Startup Financing, Convertible notes and SAFE
Hybrid Instruments in Startup Financing, Convertible notes and SAFEHybrid Instruments in Startup Financing, Convertible notes and SAFE
Hybrid Instruments in Startup Financing, Convertible notes and SAFE
 
C:\Fakepath\Presentation1
C:\Fakepath\Presentation1C:\Fakepath\Presentation1
C:\Fakepath\Presentation1
 
Postprimiere
PostprimierePostprimiere
Postprimiere
 
Melissa Guarin Portfolio
Melissa Guarin PortfolioMelissa Guarin Portfolio
Melissa Guarin Portfolio
 

Semelhante a 20100201hplabs

OSGi Provisioning With Apache ACE
OSGi Provisioning With Apache ACEOSGi Provisioning With Apache ACE
OSGi Provisioning With Apache ACEmfrancis
 
Hook Mobile Living Social Hackathon MoDevUX 2012
Hook Mobile Living Social Hackathon MoDevUX 2012Hook Mobile Living Social Hackathon MoDevUX 2012
Hook Mobile Living Social Hackathon MoDevUX 2012Wayne Chen
 
Massive device deployment - EclipseCon 2011
Massive device deployment - EclipseCon 2011Massive device deployment - EclipseCon 2011
Massive device deployment - EclipseCon 2011Angelo van der Sijpt
 
U of U Undergraduate IMC Class
U of U Undergraduate IMC ClassU of U Undergraduate IMC Class
U of U Undergraduate IMC ClassChris Carlston
 
20th.陈晓鸣 百度海量日志分析架构及处理经验分享
20th.陈晓鸣 百度海量日志分析架构及处理经验分享20th.陈晓鸣 百度海量日志分析架构及处理经验分享
20th.陈晓鸣 百度海量日志分析架构及处理经验分享elevenma
 
Big Data @ Orange - Dev Day 2013 - part 2
Big Data @ Orange - Dev Day 2013 - part 2Big Data @ Orange - Dev Day 2013 - part 2
Big Data @ Orange - Dev Day 2013 - part 2ovarene
 
Visual Studio 2013, Xamarin and Microsoft Azure Mobile Services: A Match Made...
Visual Studio 2013, Xamarin and Microsoft Azure Mobile Services: A Match Made...Visual Studio 2013, Xamarin and Microsoft Azure Mobile Services: A Match Made...
Visual Studio 2013, Xamarin and Microsoft Azure Mobile Services: A Match Made...Rick G. Garibay
 
Cocoa pods iOSDevUK 14 talk: managing your libraries
Cocoa pods iOSDevUK 14 talk: managing your librariesCocoa pods iOSDevUK 14 talk: managing your libraries
Cocoa pods iOSDevUK 14 talk: managing your librariesDiego Freniche Brito
 
JaanSi Solutions & Services profile (v1.0)
JaanSi Solutions & Services profile (v1.0)JaanSi Solutions & Services profile (v1.0)
JaanSi Solutions & Services profile (v1.0)Siddhartha Shankar
 
"R, Hadoop, and Amazon Web Services (20 December 2011)"
"R, Hadoop, and Amazon Web Services (20 December 2011)""R, Hadoop, and Amazon Web Services (20 December 2011)"
"R, Hadoop, and Amazon Web Services (20 December 2011)"Portland R User Group
 

Semelhante a 20100201hplabs (20)

20091030nasajpl
20091030nasajpl20091030nasajpl
20091030nasajpl
 
20090422 Www
20090422 Www20090422 Www
20090422 Www
 
Device deployment
Device deploymentDevice deployment
Device deployment
 
OSGi Provisioning With Apache ACE
OSGi Provisioning With Apache ACEOSGi Provisioning With Apache ACE
OSGi Provisioning With Apache ACE
 
All about Apache ACE
All about Apache ACEAll about Apache ACE
All about Apache ACE
 
Hook Mobile Living Social Hackathon MoDevUX 2012
Hook Mobile Living Social Hackathon MoDevUX 2012Hook Mobile Living Social Hackathon MoDevUX 2012
Hook Mobile Living Social Hackathon MoDevUX 2012
 
InnoDB Magic
InnoDB MagicInnoDB Magic
InnoDB Magic
 
Hadoop london
Hadoop londonHadoop london
Hadoop london
 
Massive device deployment - EclipseCon 2011
Massive device deployment - EclipseCon 2011Massive device deployment - EclipseCon 2011
Massive device deployment - EclipseCon 2011
 
Push Podc09
Push Podc09Push Podc09
Push Podc09
 
U of U Undergraduate IMC Class
U of U Undergraduate IMC ClassU of U Undergraduate IMC Class
U of U Undergraduate IMC Class
 
HARE 2010 Review
HARE 2010 ReviewHARE 2010 Review
HARE 2010 Review
 
hadoop事例紹介
hadoop事例紹介hadoop事例紹介
hadoop事例紹介
 
The Project Trap
The Project TrapThe Project Trap
The Project Trap
 
20th.陈晓鸣 百度海量日志分析架构及处理经验分享
20th.陈晓鸣 百度海量日志分析架构及处理经验分享20th.陈晓鸣 百度海量日志分析架构及处理经验分享
20th.陈晓鸣 百度海量日志分析架构及处理经验分享
 
Big Data @ Orange - Dev Day 2013 - part 2
Big Data @ Orange - Dev Day 2013 - part 2Big Data @ Orange - Dev Day 2013 - part 2
Big Data @ Orange - Dev Day 2013 - part 2
 
Visual Studio 2013, Xamarin and Microsoft Azure Mobile Services: A Match Made...
Visual Studio 2013, Xamarin and Microsoft Azure Mobile Services: A Match Made...Visual Studio 2013, Xamarin and Microsoft Azure Mobile Services: A Match Made...
Visual Studio 2013, Xamarin and Microsoft Azure Mobile Services: A Match Made...
 
Cocoa pods iOSDevUK 14 talk: managing your libraries
Cocoa pods iOSDevUK 14 talk: managing your librariesCocoa pods iOSDevUK 14 talk: managing your libraries
Cocoa pods iOSDevUK 14 talk: managing your libraries
 
JaanSi Solutions & Services profile (v1.0)
JaanSi Solutions & Services profile (v1.0)JaanSi Solutions & Services profile (v1.0)
JaanSi Solutions & Services profile (v1.0)
 
"R, Hadoop, and Amazon Web Services (20 December 2011)"
"R, Hadoop, and Amazon Web Services (20 December 2011)""R, Hadoop, and Amazon Web Services (20 December 2011)"
"R, Hadoop, and Amazon Web Services (20 December 2011)"
 

Último

Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 

Último (20)

Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 

20100201hplabs

  • 2. What is Cloudera Building? For Now, At Least Jeff Hammerbacher Chief Scientist and Vice President of Products, Cloudera February 1, 2010 Monday, February 1, 2010
  • 3. My Background Thanks for Asking ▪ hammer@cloudera.com ▪ Studied Mathematics at Harvard ▪ Worked as a Quant on Wall Street ▪ Conceived, built, and led Data team at Facebook ▪ Nearly 30 amazing engineers and data scientists ▪ Several open source projects and research papers ▪ Founder of Cloudera ▪ Vice President of Products and Chief Scientist ▪ Also, check out the book “Beautiful Data” Monday, February 1, 2010
  • 4. Presentation Outline ▪ What is Hadoop? ▪ HDFS and MapReduce ▪ Hive, Pig, Avro, Zookeeper, HBase ▪ My time at Facebook ▪ The problem we were trying to solve ▪ Why we chose Hadoop ▪ What we’re building at Cloudera ▪ What we build and sell right now ▪ Some plans for the future ▪ Questions and Discussion Monday, February 1, 2010
  • 5. What is Hadoop? ▪ Apache Software Foundation project, mostly written in Java ▪ Inspired by Google infrastructure ▪ Software for programming warehouse-scale computers (WSCs) ▪ Hundreds of production deployments ▪ Project structure ▪ Hadoop Distributed File System (HDFS) ▪ Hadoop MapReduce ▪ Hadoop Common ▪ Other subprojects ▪ Avro, HBase, Hive, Pig, Zookeeper Monday, February 1, 2010
  • 6. Anatomy of a Hadoop Cluster ▪ Commodity servers ▪ 1 RU, 2 x 4 core CPU, 8 GB RAM, 4 x 1 TB SATA, 2 x 1 gE NIC ▪ Or: 2 RU, 2 x 8 core CPU, 32 GB RAM, 12 x 1 TB SATA ▪ Typically arranged in 2 level architecture Commodity Hardware Cluster ▪ Inexpensive to acquire and maintain •! Typically in 2 level architecture –! Nodes are commodity Linux PCs Monday, February 1, 2010 –! 40 nodes/rack
  • 7. HDFS ▪ Pool commodity servers into a single hierarchical namespace ▪ Break files into 128 MB blocks and replicate blocks ▪ Designed for large files written once but read many times ▪ Files are append-only via a single writer ▪ Two major daemons: NameNode and DataNode ▪ NameNode manages file system metadata ▪ DataNode manages data using local filesystem ▪ HDFS manages checksumming, replication, and compression ▪ Throughput scales nearly linearly with node cluster size Monday, February 1, 2010
  • 8. '$*31%10$13+3&'1%)#$#I% #79:"5$)$3-.".0&2$3-"&)"06-"*+,.0-2"84"82-$?()3"()*&5()3" /(+-."()0&"'(-*-.;"*$++-%"C8+&*?.;D"$)%".0&2()3"-$*6"&/"06-"8+&*?." HDFS 2-%,)%$)0+4"$*2&.."06-"'&&+"&/".-2=-2.<""B)"06-"*&55&)"*$.-;" #79:".0&2-."062--"*&5'+-0-"*&'(-."&/"-$*6"/(+-"84"*&'4()3"-$*6" '(-*-"0&"062--"%(//-2-)0".-2=-2.E" HDFS distributes file blocks among servers " " !" " F" I" !" " H" H" F" !" " F" G" #79:" G" I" I" H" " !" " F" G" G" I" H" " !"#$%&'()'*+!,'-"./%"0$/&.'1"2&'02345.'6738#'.&%9&%.' " Monday, February 1, 2010
  • 9. Hadoop MapReduce ▪ Fault tolerant execution layer and API for parallel data processing ▪ Can target multiple storage systems ▪ Key/value data model ▪ Two major daemons: JobTracker and TaskTracker ▪ Many client interfaces ▪ Java ▪ C++ ▪ Streaming ▪ Pig ▪ SQL (Hive) Monday, February 1, 2010
  • 10. MapReduce MapReduce pushes work out to the data (#)**+%$#41'% Q" K" #)5#0$#.1%*6%(/789% )#$#%)&'$3&:;$&*0% !" Q" '$3#$1.<%$*%+;'"%=*34% N" N" *;$%$*%>#0<%0*)1'%&0%#% ?@;'$13A%B"&'%#@@*='% #0#@<'1'%$*%3;0%&0% K" +#3#@@1@%#0)%1@&>&0#$1'% $"1%:*$$@101?4'% P" &>+*'1)%:<%>*0*@&$"&?% !" '$*3#.1%'<'$1>'A% Q" K" P" P" !" N" " !"#$%&'()'*+,--.'.$/0&/'1-%2'-$3'3-'30&',+3+' Monday, February 1, 2010 "
  • 11. Hadoop Subprojects ▪ Avro ▪ Cross-language framework for RPC and serialization ▪ HBase ▪ Table storage on top of HDFS, modeled after Google’s BigTable ▪ Hive ▪ SQL interface to structured data stored in HDFS ▪ Pig ▪ Language for data flow programming; also Owl, Zebra, SQL ▪ Zookeeper ▪ Coordination service for distributed systems Monday, February 1, 2010
  • 12. Hadoop Community Support ▪ 185+ contributors to the open source code base ▪ ~60 engineers at Yahoo!, ~15 at Facebook, ~15 at Cloudera ▪ Over 500 (paid!) attendees at Hadoop World NYC ▪ Regular user group meetups in many cities ▪ Bay Area Meetup group has 534 members ▪ Three books (O’Reilly, Apress, Manning) ▪ Training videos free online ▪ University courses across the world ▪ Growing consultant and systems integrator expertise ▪ Training, certification, support, and services from Cloudera Monday, February 1, 2010
  • 13. Hadoop Project Mechanics ▪ Trademark owned by ASF; Apache 2.0 license for code ▪ Rigorous unit, smoke, performance, and system tests ▪ Release cycle of 9 months ▪ Last major release: 0.20.0 on April 22, 2009 ▪ 0.21.0 will be last release before 1.0; nearly complete ▪ Subprojects on different release cycles ▪ Releases put to a vote according to Apache guidelines ▪ Releases made available as tarballs on Apache and mirrors ▪ Cloudera packages a distribution for many platforms ▪ RPM and Debian packages; AMI for Amazon’s EC2 Monday, February 1, 2010
  • 14. Hadoop at Facebook Early 2006: The First Research Scientist ▪ Source data living on horizontally partitioned MySQL tier ▪ Intensive historical analysis difficult ▪ No way to assess impact of changes to the site ▪ First try: Python scripts pull data into MySQL ▪ Second try: Python scripts pull data into Oracle ▪ ...and then we turned on impression logging Monday, February 1, 2010
  • 15. Facebook Data Infrastructure 2007 Scribe Tier MySQL Tier Data Collection Server Oracle Database Server Monday, February 1, 2010
  • 16. Facebook Data Infrastructure 2008 Scribe Tier MySQL Tier Hadoop Tier Oracle RAC Servers Monday, February 1, 2010
  • 17. Major Data Team Workloads ▪ Data collection ▪ server logs ▪ application databases ▪ web crawls ▪ Thousands of multi-stage processing pipelines ▪ Summaries consumed by external users ▪ Summaries for internal reporting ▪ Ad optimization pipeline ▪ Experimentation platform pipeline ▪ Ad hoc analyses Monday, February 1, 2010
  • 18. Workload Statistics Facebook 2010 ▪ Largest cluster running Hive: 8,400 cores, 12.5 PB of storage ▪ 12 TB of compressed new data added per day ▪ 135TB of compressed data scanned per day ▪ 7,500+ Hive jobs on per day ▪ 80K compute hours per day ▪ Around 200 people per month run Hive jobs (data from Ashish Thusoo’s Bay Area ACM DM SIG presentation) Monday, February 1, 2010
  • 19. Why Did Facebook Choose Hadoop? 1. Demonstrated effectiveness for primary workload 2. Proven ability to scale past any commercial vendor 3. Easy provisioning and capacity planning with commodity nodes 4. Data access for all: engineers, business analysts, sales managers 5. Single system to manage XML/JSON, text, and relational data 6. No schemas enabled data collection without involving Data team 7. Simple, modular architecture 8. Easy to build, deploy, and monitor 9. Apache-licensed open source code granted to ASF Monday, February 1, 2010
  • 20. Why Did Facebook Choose Hadoop? ▪ Most importantly: the community ▪ Broad and deep commitment to future development from multiple organizations ▪ Interaction with a community often useful for recruiting ▪ Growing body of users and operators with prior expertise meant lower cost of training new users ▪ Learn about best practices from other organizations ▪ Widely available public materials for improving skills ▪ Not then, but now ▪ Commercial training, certification, support, and services ▪ Growing body of complementary software Monday, February 1, 2010
  • 21. Hadoop at Cloudera Cloudera’s Distribution for Hadoop ▪ Open source distribution of Apache Hadoop for enterprise use ▪ Includes HDFS, MapReduce, Pig, Hive, HBase, and ZooKeeper ▪ Ensures cross-subproject compatibility ▪ Adds backported patches and customer-specific patches ▪ Adds Cloudera utilities like MRUnit and Sqoop ▪ Better integration with daemon administration utilities ▪ Follows the Filesystem Hierarchy Standard (FHS) for file layout ▪ Tools for automatically generating a configuration ▪ Packaged as RPM, DEB, AMI, or tarball Monday, February 1, 2010
  • 22. Hadoop at Cloudera Training and Certification ▪ Free online training ▪ Basic, Intermediate (including Hive and Pig), and Advanced ▪ Includes a virtual machine with software and exercises ▪ Live training sessions ▪ One live session per month somewhere in the world ▪ If you have a large group, we may come to you ▪ Certification ▪ Exams for Developers, Administrators, and Managers ▪ Administered online or in person Monday, February 1, 2010
  • 23. Hadoop at Cloudera Services and Support ▪ Professional Services ▪ Get Hadoop up and running in your environment ▪ Optimize an existing Hadoop infrastructure ▪ Design new algorithms to make the most of your data ▪ Support ▪ Unlimited questions for Cloudera’s technical team ▪ Access to our Knowledge Base ▪ Help prioritize feature development for CDH ▪ Early access to upcoming Cloudera software products Monday, February 1, 2010
  • 24. Hadoop at Cloudera Upcoming Work: HDFS ▪ Symlinks ▪ Security ▪ Native client ▪ Refactoring of read and write path ▪ Fast upgrade and recovery; later, high availability ▪ Integration of Avro ▪ Integration with existing monitoring tools ▪ Better stress testing at scale Monday, February 1, 2010
  • 25. Hadoop at Cloudera Upcoming Work: MapReduce ▪ Avro end-to-end ▪ Avro in the shuffle ▪ Avro input and output formats ▪ Security ▪ Continued API evolution; better support for non-Java languages ▪ System counters ▪ Integration with a resource manager: Nexus? ▪ Potential rewrite of master process, the JobTracker ▪ Potential integration of MOP Monday, February 1, 2010
  • 26. Hadoop at Cloudera Upcoming Work: Avro ▪ Complete the RPC spec: SASL over TCP sockets, HTTP ▪ Also: counters for debugging ▪ Improved language support ▪ Currently: C, Java, C++, Python, Ruby ▪ Define “levels” of implementation ▪ Better command line utilities and tools for authoring schemas ▪ Additional compression codecs ▪ Additional benchmarks ▪ Integration with other projects (HDFS, MapReduce, Hive, HBase) Monday, February 1, 2010
  • 27. Hadoop at Cloudera Commercial Software ▪ General thesis: build commercially-licensed software products which complement CDH for data management and analysis ▪ Current products ▪ Cloudera Desktop ▪ Extensible interface for users of Cloudera software ▪ Upcoming products ▪ Nothing in writing Monday, February 1, 2010
  • 28. Cloudera Desktop Big Data can be Beautiful Monday, February 1, 2010
  • 29. (c) 2009 Cloudera, Inc. or its licensors.  "Cloudera" is a registered trademark of Cloudera, Inc.. All rights reserved. 1.0 Monday, February 1, 2010