Hadoop: Distributed Data Processing. Amr Awadallah Founder/CTO, Cloudera, Inc. ACM Data Mining SIG Thursday, January 25 th, 2010



Similar documents
Big Data Big Data/Data Analytics & Software Development

Apache Hadoop: Past, Present, and Future

Hadoop implementation of MapReduce computational model. Ján Vaňo

Hadoop Distributed File System. Dhruba Borthakur Apache Hadoop Project Management Committee

Hadoop IST 734 SS CHUNG

Large scale processing using Hadoop. Ján Vaňo

MapReduce with Apache Hadoop Analysing Big Data

DATA MINING WITH HADOOP AND HIVE Introduction to Architecture

Hadoop and its Usage at Facebook. Dhruba Borthakur June 22 rd, 2009

Jeffrey D. Ullman slides. MapReduce for data intensive computing

Application Development. A Paradigm Shift

Hadoop & its Usage at Facebook

Prepared By : Manoj Kumar Joshi & Vikas Sawhney

Hadoop Distributed File System. Dhruba Borthakur Apache Hadoop Project Management Committee June 3 rd, 2008

Open source Google-style large scale data analysis with Hadoop

CSE-E5430 Scalable Cloud Computing Lecture 2

Hadoop & its Usage at Facebook

BIG DATA TECHNOLOGY. Hadoop Ecosystem

Hadoop. Sunday, November 25, 12

The Future of Data Management

Cost-Effective Business Intelligence with Red Hat and Open Source

Open source software framework designed for storage and processing of large scale data on clusters of commodity hardware

Introduction to Hadoop HDFS and Ecosystems. Slides credits: Cloudera Academic Partners Program & Prof. De Liu, MSBA 6330 Harvesting Big Data

Hadoop at Yahoo! Owen O Malley Yahoo!, Grid Team owen@yahoo-inc.com

BIG DATA What it is and how to use?

Apache Hadoop in the Enterprise. Dr. Amr Awadallah,

Hadoop and Map-Reduce. Swati Gore

Apache Hadoop FileSystem and its Usage in Facebook

Apache Hadoop: The Pla/orm for Big Data. Amr Awadallah CTO, Founder, Cloudera, Inc.

Big Data & QlikView. Democratizing Big Data Analytics. David Freriks Principal Solution Architect

Big Data and Apache Hadoop s MapReduce

Session: Big Data get familiar with Hadoop to use your unstructured data Udo Brede Dell Software. 22 nd October :00 Sesión B - DB2 LUW

How To Scale Out Of A Nosql Database

Introduction to Big data. Why Big data? Case Studies. Introduction to Hadoop. Understanding Features of Hadoop. Hadoop Architecture.

Department of Computer Science University of Cyprus EPL646 Advanced Topics in Databases. Lecture 14

Department of Computer Science University of Cyprus EPL646 Advanced Topics in Databases. Lecture 15

SOLVING REAL AND BIG (DATA) PROBLEMS USING HADOOP. Eva Andreasson Cloudera

A very short Intro to Hadoop

The Future of Data Management with Hadoop and the Enterprise Data Hub

Hadoop for MySQL DBAs. Copyright 2011 Cloudera. All rights reserved. Not to be reproduced without prior written consent.

BIG DATA TRENDS AND TECHNOLOGIES

Introduction to Analytics and Big Data - Hadoop. Rob Peglar EMC Isilon

Big Data Course Highlights

L1: Introduction to Hadoop

Oracle s Big Data solutions. Roger Wullschleger. <Insert Picture Here>

Hadoop Distributed File System. Jordan Prosch, Matt Kipps

Chukwa, Hadoop subproject, 37, 131 Cloud enabled big data, 4 Codd s 12 rules, 1 Column-oriented databases, 18, 52 Compression pattern, 83 84

Hadoop Ecosystem Overview. CMSC 491 Hadoop-Based Distributed Computing Spring 2015 Adam Shook

Constructing a Data Lake: Hadoop and Oracle Database United!

The Enterprise Data Hub and The Modern Information Architecture

Big Data and Industrial Internet

Hadoop Distributed File System. T Seminar On Multimedia Eero Kurkela

Big Data Technology ดร.ช ชาต หฤไชยะศ กด. Choochart Haruechaiyasak, Ph.D.

Open source large scale distributed data management with Google s MapReduce and Bigtable

Overview. Big Data in Apache Hadoop. - HDFS - MapReduce in Hadoop - YARN. Big Data Management and Analytics

Introduction to Big Data! with Apache Spark" UC#BERKELEY#

Accelerating and Simplifying Apache

CS54100: Database Systems

A Brief Outline on Bigdata Hadoop

ITG Software Engineering

Chapter 11 Map-Reduce, Hadoop, HDFS, Hbase, MongoDB, Apache HIVE, and Related

Using Hadoop for Webscale Computing. Ajay Anand Yahoo! Usenix 2008

Introduction to Hadoop. New York Oracle User Group Vikas Sawhney

Data Mining in the Swamp

Hadoop Ecosystem B Y R A H I M A.

Data-Intensive Programming. Timo Aaltonen Department of Pervasive Computing

Hadoop Evolution In Organizations. Mark Vervuurt Cluster Data Science & Analytics

Hadoop: A Framework for Data- Intensive Distributed Computing. CS561-Spring 2012 WPI, Mohamed Y. Eltabakh

Application and practice of parallel cloud computing in ISP. Guangzhou Institute of China Telecom Zhilan Huang

Chase Wu New Jersey Ins0tute of Technology

An Industrial Perspective on the Hadoop Ecosystem. Eldar Khalilov Pavel Valov

INTRODUCTION TO APACHE HADOOP MATTHIAS BRÄGER CERN GS-ASE

Hadoop Trends and Practical Use Cases. April 2014

BITKOM& NIK - Big Data Wo liegen die Chancen für den Mittelstand?

NoSQL and Hadoop Technologies On Oracle Cloud

White Paper: What You Need To Know About Hadoop

Certified Big Data and Apache Hadoop Developer VS-1221

Big Data on Microsoft Platform

Role of Cloud Computing in Big Data Analytics Using MapReduce Component of Hadoop

WHITE PAPER USING CLOUDERA TO IMPROVE DATA PROCESSING

A Tour of the Zoo the Hadoop Ecosystem Prafulla Wani

HDP Hadoop From concept to deployment.

Architecting for Big Data Analytics and Beyond: A New Framework for Business Intelligence and Data Warehousing

Lecture 32 Big Data. 1. Big Data problem 2. Why the excitement about big data 3. What is MapReduce 4. What is Hadoop 5. Get started with Hadoop

Yahoo! Grid Services Where Grid Computing at Yahoo! is Today

Programming Hadoop 5-day, instructor-led BD-106. MapReduce Overview. Hadoop Overview

Testing Big data is one of the biggest

MySQL and Hadoop. Percona Live 2014 Chris Schneider

Extending the Enterprise Data Warehouse with Hadoop Robert Lancaster. Nov 7, 2012

Big Data and Market Surveillance. April 28, 2014

Hadoop and ecosystem * 本 文 中 的 言 论 仅 代 表 作 者 个 人 观 点 * 本 文 中 的 一 些 图 例 来 自 于 互 联 网. Information Management. Information Management IBM CDL Lab

Big Data and Advanced Analytics Applications and Capabilities Steven Hagan, Vice President, Server Technologies

Big Data Storage Options for Hadoop Sam Fineberg, HP Storage

Transcription:

Hadoop: Distributed Data Processing Amr Awadallah Founder/CTO, Cloudera, Inc. ACM Data Mining SIG Thursday, January 25 th, 2010

Outline Scaling for Large Data Processing What is Hadoop? HDFS and MapReduce Hadoop Ecosystem Hadoop vs RDBMSes Conclusion Amr Awadallah, Cloudera Inc 2

Current Storage Systems Can t Compute Amr Awadallah, Cloudera Inc 3

Current Storage Systems Can t Compute Collection Instrumentation Amr Awadallah, Cloudera Inc 3

Current Storage Systems Can t Compute Storage Farm for Unstructured Data (20TB/day) Mostly Append Collection Instrumentation Amr Awadallah, Cloudera Inc 3

Current Storage Systems Can t Compute Interactive Apps RDBMS (200GB/day) ETL Grid Storage Farm for Unstructured Data (20TB/day) Mostly Append Collection Instrumentation Amr Awadallah, Cloudera Inc 3

Current Storage Systems Can t Compute Interactive Apps RDBMS (200GB/day) ETL Grid Filer heads are a bottleneck Storage Farm for Unstructured Data (20TB/day) Mostly Append Collection Instrumentation Amr Awadallah, Cloudera Inc 3

Current Storage Systems Can t Compute Interactive Apps RDBMS (200GB/day) ETL Grid Filer heads are a bottleneck Storage Farm for Unstructured Data (20TB/day) Collection Instrumentation Ad hoc Queries & Data Mining Mostly Append Non-Consumption Amr Awadallah, Cloudera Inc 3

The Solution: A Store-Compute Grid Amr Awadallah, Cloudera Inc 4

The Solution: A Store-Compute Grid Storage + Computation Mostly Append Collection Instrumentation Amr Awadallah, Cloudera Inc 4

The Solution: A Store-Compute Grid Interactive Apps ETL and Aggregations RDBMS Storage + Computation Mostly Append Collection Instrumentation Amr Awadallah, Cloudera Inc 4

The Solution: A Store-Compute Grid Interactive Apps ETL and Aggregations RDBMS Batch Apps Ad hoc Queries & Data Mining Storage + Computation Mostly Append Collection Instrumentation Amr Awadallah, Cloudera Inc 4

What is Hadoop? Amr Awadallah, Cloudera Inc 5

What is Hadoop? A scalable fault-tolerant grid operating system for data storage and processing Amr Awadallah, Cloudera Inc 5

What is Hadoop? A scalable fault-tolerant grid operating system for data storage and processing Its scalability comes from the marriage of: HDFS: Self-Healing High-Bandwidth Clustered Storage MapReduce: Fault-Tolerant Distributed Processing Amr Awadallah, Cloudera Inc 5

What is Hadoop? A scalable fault-tolerant grid operating system for data storage and processing Its scalability comes from the marriage of: HDFS: Self-Healing High-Bandwidth Clustered Storage MapReduce: Fault-Tolerant Distributed Processing Operates on unstructured and structured data Amr Awadallah, Cloudera Inc 5

What is Hadoop? A scalable fault-tolerant grid operating system for data storage and processing Its scalability comes from the marriage of: HDFS: Self-Healing High-Bandwidth Clustered Storage MapReduce: Fault-Tolerant Distributed Processing Operates on unstructured and structured data A large and active ecosystem (many developers and additions like HBase, Hive, Pig, ) Amr Awadallah, Cloudera Inc 5

What is Hadoop? A scalable fault-tolerant grid operating system for data storage and processing Its scalability comes from the marriage of: HDFS: Self-Healing High-Bandwidth Clustered Storage MapReduce: Fault-Tolerant Distributed Processing Operates on unstructured and structured data A large and active ecosystem (many developers and additions like HBase, Hive, Pig, ) Open source under the friendly Apache License Amr Awadallah, Cloudera Inc 5

What is Hadoop? A scalable fault-tolerant grid operating system for data storage and processing Its scalability comes from the marriage of: HDFS: Self-Healing High-Bandwidth Clustered Storage MapReduce: Fault-Tolerant Distributed Processing Operates on unstructured and structured data A large and active ecosystem (many developers and additions like HBase, Hive, Pig, ) Open source under the friendly Apache License http://wiki.apache.org/hadoop/ Amr Awadallah, Cloudera Inc 5

Hadoop History Amr Awadallah, Cloudera Inc 6

Hadoop History 2002-2004: Doug Cutting and Mike Cafarella started working on Nutch Amr Awadallah, Cloudera Inc 6

Hadoop History 2002-2004: Doug Cutting and Mike Cafarella started working on Nutch 2003-2004: Google publishes GFS and MapReduce papers Amr Awadallah, Cloudera Inc 6

Hadoop History 2002-2004: Doug Cutting and Mike Cafarella started working on Nutch 2003-2004: Google publishes GFS and MapReduce papers 2004: Cutting adds DFS & MapReduce support to Nutch Amr Awadallah, Cloudera Inc 6

Hadoop History 2002-2004: Doug Cutting and Mike Cafarella started working on Nutch 2003-2004: Google publishes GFS and MapReduce papers 2004: Cutting adds DFS & MapReduce support to Nutch 2006: Yahoo! hires Cutting, Hadoop spins out of Nutch Amr Awadallah, Cloudera Inc 6

Hadoop History 2002-2004: Doug Cutting and Mike Cafarella started working on Nutch 2003-2004: Google publishes GFS and MapReduce papers 2004: Cutting adds DFS & MapReduce support to Nutch 2006: Yahoo! hires Cutting, Hadoop spins out of Nutch 2007: NY Times converts 4TB of archives over 100 EC2s Amr Awadallah, Cloudera Inc 6

Hadoop History 2002-2004: Doug Cutting and Mike Cafarella started working on Nutch 2003-2004: Google publishes GFS and MapReduce papers 2004: Cutting adds DFS & MapReduce support to Nutch 2006: Yahoo! hires Cutting, Hadoop spins out of Nutch 2007: NY Times converts 4TB of archives over 100 EC2s 2008: Web-scale deployments at Y!, Facebook, Last.fm Amr Awadallah, Cloudera Inc 6

Hadoop History 2002-2004: Doug Cutting and Mike Cafarella started working on Nutch 2003-2004: Google publishes GFS and MapReduce papers 2004: Cutting adds DFS & MapReduce support to Nutch 2006: Yahoo! hires Cutting, Hadoop spins out of Nutch 2007: NY Times converts 4TB of archives over 100 EC2s 2008: Web-scale deployments at Y!, Facebook, Last.fm April 2008: Yahoo does fastest sort of a TB, 3.5mins over 910 nodes Amr Awadallah, Cloudera Inc 6

Hadoop History 2002-2004: Doug Cutting and Mike Cafarella started working on Nutch 2003-2004: Google publishes GFS and MapReduce papers 2004: Cutting adds DFS & MapReduce support to Nutch 2006: Yahoo! hires Cutting, Hadoop spins out of Nutch 2007: NY Times converts 4TB of archives over 100 EC2s 2008: Web-scale deployments at Y!, Facebook, Last.fm April 2008: Yahoo does fastest sort of a TB, 3.5mins over 910 nodes May 2009: Yahoo does fastest sort of a TB, 62secs over 1460 nodes Yahoo sorts a PB in 16.25hours over 3658 nodes Amr Awadallah, Cloudera Inc 6

Hadoop History 2002-2004: Doug Cutting and Mike Cafarella started working on Nutch 2003-2004: Google publishes GFS and MapReduce papers 2004: Cutting adds DFS & MapReduce support to Nutch 2006: Yahoo! hires Cutting, Hadoop spins out of Nutch 2007: NY Times converts 4TB of archives over 100 EC2s 2008: Web-scale deployments at Y!, Facebook, Last.fm April 2008: Yahoo does fastest sort of a TB, 3.5mins over 910 nodes May 2009: Yahoo does fastest sort of a TB, 62secs over 1460 nodes Yahoo sorts a PB in 16.25hours over 3658 nodes June 2009, Oct 2009: Hadoop Summit (750), Hadoop World (500) Amr Awadallah, Cloudera Inc 6

Hadoop History 2002-2004: Doug Cutting and Mike Cafarella started working on Nutch 2003-2004: Google publishes GFS and MapReduce papers 2004: Cutting adds DFS & MapReduce support to Nutch 2006: Yahoo! hires Cutting, Hadoop spins out of Nutch 2007: NY Times converts 4TB of archives over 100 EC2s 2008: Web-scale deployments at Y!, Facebook, Last.fm April 2008: Yahoo does fastest sort of a TB, 3.5mins over 910 nodes May 2009: Yahoo does fastest sort of a TB, 62secs over 1460 nodes Yahoo sorts a PB in 16.25hours over 3658 nodes June 2009, Oct 2009: Hadoop Summit (750), Hadoop World (500) Amr Awadallah, Cloudera Inc 6 September 2009: Doug Cutting joins Cloudera

Hadoop Design Axioms Amr Awadallah, Cloudera Inc 7

Hadoop Design Axioms 1. System Shall Manage and Heal Itself Amr Awadallah, Cloudera Inc 7

Hadoop Design Axioms 1. System Shall Manage and Heal Itself 2. Performance Shall Scale Linearly Amr Awadallah, Cloudera Inc 7

Hadoop Design Axioms 1. System Shall Manage and Heal Itself 2. Performance Shall Scale Linearly 3. Compute Should Move to Data Amr Awadallah, Cloudera Inc 7

Hadoop Design Axioms 1. System Shall Manage and Heal Itself 2. Performance Shall Scale Linearly 3. Compute Should Move to Data 4. Simple Core, Modular and Extensible Amr Awadallah, Cloudera Inc 7

HDFS: Hadoop Distributed File System Block Size = 64MB Replication Factor = 3 Cost/GB is a few /month vs $/month Amr Awadallah, Cloudera Inc 8

HDFS: Hadoop Distributed File System Block Size = 64MB Replication Factor = 3 Cost/GB is a few /month vs $/month Amr Awadallah, Cloudera Inc 8

MapReduce: Distributed Processing Amr Awadallah, Cloudera Inc 9

MapReduce: Distributed Processing Amr Awadallah, Cloudera Inc 9

MapReduce Example for Word Count SELECT word, COUNT(1) FROM docs GROUP BY word; cat *.txt mapper.pl sort reducer.pl > out.txt Split 1 Split i Split N Amr Awadallah, Cloudera Inc 10

MapReduce Example for Word Count SELECT word, COUNT(1) FROM docs GROUP BY word; cat *.txt mapper.pl sort reducer.pl > out.txt Split 1 (docid, text) To Be Or Not To Be? Map 1 (words, counts) Be, 12 Be, 5 Split i (docid, text) Map i Be, 7 Be, 6 Split N (docid, text) Map M (words, counts) Amr Awadallah, Cloudera Inc 10

MapReduce Example for Word Count SELECT word, COUNT(1) FROM docs GROUP BY word; cat *.txt mapper.pl sort reducer.pl > out.txt Split 1 (docid, text) To Be Or Not To Be? Map 1 (words, counts) Be, 12 Be, 5 (sorted words, counts) Reduce 1 Split i (docid, text) Map i Reduce i Split N (docid, text) Map M Be, 7 Be, 6 (words, counts) Shuffle (sorted words, counts) Reduce R Amr Awadallah, Cloudera Inc 10

MapReduce Example for Word Count SELECT word, COUNT(1) FROM docs GROUP BY word; cat *.txt mapper.pl sort reducer.pl > out.txt Split 1 Split i (docid, text) To Be Or Not To Be? (docid, text) Map 1 Map i (words, counts) Be, 12 Be, 5 (sorted words, counts) Reduce 1 Reduce i (sorted words, sum of counts) Be, 30 (sorted words, sum of counts) Output File 1 Output File i Split N (docid, text) Map M Be, 7 Be, 6 (words, counts) Shuffle (sorted words, counts) Reduce R (sorted words, sum of counts) Output File R Amr Awadallah, Cloudera Inc 10

Hadoop High-Level Architecture Hadoop Client Contacts Name Node for data or Job Tracker to submit jobs Name Node Maintains mapping of file blocks to data node slaves Job Tracker Schedules jobs across task tracker slaves Data Node Stores and serves blocks of data Share Physical Node Task Tracker Runs tasks (work units) within a job Amr Awadallah, Cloudera Inc 11

Apache Hadoop Ecosystem MapReduce (Job Scheduling/Execution System) HDFS (Hadoop Distributed File System) Amr Awadallah, Cloudera Inc 12

Apache Hadoop Ecosystem Zookeepr (Coordination) MapReduce (Job Scheduling/Execution System) HDFS (Hadoop Distributed File System) Avro (Serialization) Amr Awadallah, Cloudera Inc 12

Apache Hadoop Ecosystem Zookeepr (Coordination) MapReduce (Job Scheduling/Execution System) HBase (key-value store) HDFS (Hadoop Distributed File System) Avro (Serialization) Amr Awadallah, Cloudera Inc 12

Apache Hadoop Ecosystem ETL Tools BI Reporting RDBMS Zookeepr (Coordination) Pig (Data Flow) MapReduce (Job Scheduling/Execution System) HBase (key-value store) Hive (SQL) HDFS (Hadoop Distributed File System) Sqoop (Streaming/Pipes APIs) Avro (Serialization) Amr Awadallah, Cloudera Inc 12

Use The Right Tool For The Right Job Hadoop: Relational Databases: Amr Awadallah, Cloudera Inc 13

Use The Right Tool For The Right Job Hadoop: Relational Databases: Amr Awadallah, Cloudera Inc 13

Use The Right Tool For The Right Job Hadoop: Relational Databases: When to use? Affordable Storage/ Compute Structured or Not (Agility) When to use? Interactive Reporting (<1sec) Multistep Transactions Resilient Auto Scalability Interoperability Amr Awadallah, Cloudera Inc 13

Economics of Hadoop Amr Awadallah, Cloudera Inc 14

Economics of Hadoop Typical Hardware: Two Quad Core Nehalems 24GB RAM 12 * 1TB SATA disks (JBOD mode, no need for RAID) 1 Gigabit Ethernet card Amr Awadallah, Cloudera Inc 14

Economics of Hadoop Typical Hardware: Two Quad Core Nehalems 24GB RAM 12 * 1TB SATA disks (JBOD mode, no need for RAID) 1 Gigabit Ethernet card Cost/node: $5K/node Amr Awadallah, Cloudera Inc 14

Economics of Hadoop Typical Hardware: Two Quad Core Nehalems 24GB RAM 12 * 1TB SATA disks (JBOD mode, no need for RAID) 1 Gigabit Ethernet card Cost/node: $5K/node Effective HDFS Space: ¼ reserved for temp shuffle space, which leaves 9TB/node 3 way replication leads to 3TB effective HDFS space/node But assuming 7x compression that becomes ~ 20TB/node Amr Awadallah, Cloudera Inc 14

Economics of Hadoop Typical Hardware: Two Quad Core Nehalems 24GB RAM 12 * 1TB SATA disks (JBOD mode, no need for RAID) 1 Gigabit Ethernet card Cost/node: $5K/node Effective HDFS Space: ¼ reserved for temp shuffle space, which leaves 9TB/node 3 way replication leads to 3TB effective HDFS space/node But assuming 7x compression that becomes ~ 20TB/node Effective Cost per user TB: $250/TB Amr Awadallah, Cloudera Inc 14

Economics of Hadoop Typical Hardware: Two Quad Core Nehalems 24GB RAM 12 * 1TB SATA disks (JBOD mode, no need for RAID) 1 Gigabit Ethernet card Cost/node: $5K/node Effective HDFS Space: ¼ reserved for temp shuffle space, which leaves 9TB/node 3 way replication leads to 3TB effective HDFS space/node But assuming 7x compression that becomes ~ 20TB/node Effective Cost per user TB: $250/TB Other solutions cost in the range of $5K to $100K per user TB Amr Awadallah, Cloudera Inc 14

Sample Talks from Hadoop World 09 VISA: Large Scale Transaction Analysis JP Morgan Chase: Data Processing for Financial Services China Mobile: Data Mining Platform for Telecom Industry Rackspace: Cross Data Center Log Processing Booz Allen Hamilton: Protein Alignment using Hadoop eharmony: Matchmaking in the Hadoop Cloud General Sentiment: Understanding Natural Language Yahoo!: Social Graph Analysis Visible Technologies: Real-Time Business Intelligence Facebook: Rethinking the Data Warehouse with Hadoop and Hive Slides and Videos at http://www.cloudera.com/hadoopworld-nyc Amr Awadallah, Cloudera Inc 15

Cloudera Desktop Amr Awadallah, Cloudera Inc 16

Conclusion Amr Awadallah, Cloudera Inc 17

Conclusion Hadoop is a data grid operating system which provides an economically scalable solution for storing and processing large amounts of unstructured or structured data over long periods of time. Amr Awadallah, Cloudera Inc 17

Contact Information Amr Awadallah CTO, Cloudera Inc. aaa@cloudera.com http://twitter.com/awadallah Online Training Videos and Info: http://cloudera.com/hadooptraining http://cloudera.com/blog http://twitter.com/cloudera Amr Awadallah, Cloudera Inc 18

(c) 2008 Cloudera, Inc. or its licensors. "Cloudera" is a registered trademark of Cloudera, Inc.. All rights reserved. 1.0