the evolving apache hadoop eco-system - snia evolving apache hadoop eco-system – what it means for...

25
2012 SNIA Analytics & Big Data Summit © Hortonworks Inc. 2012 – All Rights Reserved The Evolving Apache Hadoop Eco-System – What it means for Big Data Analytics and Storage Sanjay Radia Architect/Founder, Hortonworks Inc. Page 1

Upload: trinhliem

Post on 24-May-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The Evolving Apache Hadoop Eco-System - SNIA Evolving Apache Hadoop Eco-System – What it means for Big Data Analytics and Storage Sanjay Radia Architect/Founder, ... – Ride the

2012 SNIA Analytics & Big Data Summit © Hortonworks Inc. 2012 – All Rights Reserved

The Evolving Apache Hadoop Eco-System –

What it means for Big Data Analytics and Storage Sanjay Radia Architect/Founder, Hortonworks Inc.

Page 1

Page 2: The Evolving Apache Hadoop Eco-System - SNIA Evolving Apache Hadoop Eco-System – What it means for Big Data Analytics and Storage Sanjay Radia Architect/Founder, ... – Ride the

2012 SNIA Analytics & Big Data Summit © Hortonworks Inc. 2012

Outline

• Hadoop and Big Data Analytics – Data platform drivers and How Hadoop Changes the Game – Data Refinery – Hadoop in Enterprise Data Architecture

• Hadoop (HDFS) and Storage – RAID disk or not? – HDFS’s Generic storage layer – Archival – Upcoming

Page 2

Page 3: The Evolving Apache Hadoop Eco-System - SNIA Evolving Apache Hadoop Eco-System – What it means for Big Data Analytics and Storage Sanjay Radia Architect/Founder, ... – Ride the

2012 SNIA Analytics & Big Data Summit © Hortonworks Inc. 2012

Next Generation Data Platform Drivers

Business Drivers

Technical Drivers

Financial Drivers

•  Need for new business models & faster growth (20%+)

•  Find insights for competitive advantage & optimal returns

•  Cost of data systems, as % of IT spend, continues to grow

•  Cost advantages of commodity hardware & open source

•  Data continues to grow exponentially •  Data is increasingly everywhere and in many formats •  Legacy solutions unfit for new requirements growth

Page 4: The Evolving Apache Hadoop Eco-System - SNIA Evolving Apache Hadoop Eco-System – What it means for Big Data Analytics and Storage Sanjay Radia Architect/Founder, ... – Ride the

2012 SNIA Analytics & Big Data Summit © Hortonworks Inc. 2012

Big Data Changes the Game

Megabytes

Gigabytes

Terabytes

Petabytes

Purchase detail Purchase record Payment record

ERP

CRM

WEB

BIG DATA

Offer details

Support Contacts

Customer Touches

Segmentation

Web logs

Offer history

A/B testing

Dynamic Pricing

Affiliate Networks

Search Marketing

Behavioral Targeting

Dynamic Funnels

User Generated Content

Mobile Web

SMS/MMS Sentiment

External Demographics

HD Video, Audio, Images

Speech to Text

Product/Service Logs

Social Interactions & Feeds

Business Data Feeds

User Click Stream

Sensors / RFID / Devices

Spatial & GPS Coordinates

Increasing Data Variety and Complexity

Transactions + Interactions + Observations = BIG DATA

Page 5: The Evolving Apache Hadoop Eco-System - SNIA Evolving Apache Hadoop Eco-System – What it means for Big Data Analytics and Storage Sanjay Radia Architect/Founder, ... – Ride the

2012 SNIA Analytics & Big Data Summit © Hortonworks Inc. 2012

How Hadoop Changes the Game

• Cost – Commodity servers, JBod disks – Horizontal scaling – new servers as needed

– Ride the technology curve

• Scale from small to very large – Size of data or size of computation

• The Data-Refinery – Traditional Datamarts optimize for time and space – Don’t need to pre-select the subset of “schema”

– Can experiment to gain insights into your whole data – You insights can change over time

– Don’t need to throw your old data away • Open and Growing Eco-system

– You aren’t locked into a vendor – Ever growing choice of tools

Page 5

Page 6: The Evolving Apache Hadoop Eco-System - SNIA Evolving Apache Hadoop Eco-System – What it means for Big Data Analytics and Storage Sanjay Radia Architect/Founder, ... – Ride the

2012 SNIA Analytics & Big Data Summit © Hortonworks Inc. 2012

Vertical Specific Uses of Hadoop

Vertical Analytical Use Cases Operational Use Cases

Retail & Web •  Social Network Analysis •  Log Analysis/Site Optimization

•  Session & Content Optimization •  Dynamic Pricing

Retail •  Brand and Sentiment Analysis •  Loyalty Program Optimization •  Dynamic Pricing/Targeted Offers

Intelligence •  Person of Interest Discovery •  Threat Identification •  Cross Jurisdiction Queries

Finance •  Risk Modeling & Fraud Identification •  Trade Performance Analytics

•  Surveillance and Fraud Detection •  Customer Risk Analysis

Energy •  Smart Grid: Production Optimization •  Gris Failure Prevention

•  Smart Meters •  Individual Power Grid

Manufacturing •  Customer Churn Analysis •  Supply Chain Optimization

•  Dynamic Delivery •  Replacement parts

Healthcare & Payer •  Electronic Medical Records (EMPI) •  Clinical Trials Analysis •  Insurance Premium Determination

Page 7: The Evolving Apache Hadoop Eco-System - SNIA Evolving Apache Hadoop Eco-System – What it means for Big Data Analytics and Storage Sanjay Radia Architect/Founder, ... – Ride the

2012 SNIA Analytics & Big Data Summit © Hortonworks Inc. 2012

Transaction + Interactions + Observations

Page 7

Audio, Video, Images

Docs, Text, XML

Web Logs, Clicks

Social, Graph, Feeds

Sensors, Devices,

RFID

Spatial, GPS

Events, Other

Big Data Refinery

Store, aggregate, and transform multi-structured data to unlock value

2

Share refined data and runtime models

3

Retain historical data to unlock

additional value 5

Retain runtime models and historical data for ongoing

refinement & analysis 4 Business

Transactions & Interactions

Web, Mobile, CRM, ERP, SCM, …

Business Intelligence & Analytics

Dashboards, Reports, Visualization, …

Classic ETL

processing

1

Page 8: The Evolving Apache Hadoop Eco-System - SNIA Evolving Apache Hadoop Eco-System – What it means for Big Data Analytics and Storage Sanjay Radia Architect/Founder, ... – Ride the

2012 SNIA Analytics & Big Data Summit © Hortonworks Inc. 2012

MPP EDW NewSQL

SQL NoSQL NewSQL

Next-Generation Big Data Architecture

Page 8

Audio, Video, Images

Docs, Text, XML

Web Logs, Clicks

Social, Graph, Feeds

Sensors, Devices,

RFID

Spatial, GPS

Events, Other

Big Data Refinery

Business Transactions & Interactions

Web, Mobile, CRM, ERP, SCM, …

Business Intelligence & Analytics

Dashboards, Reports, Visualization, …

Page 9: The Evolving Apache Hadoop Eco-System - SNIA Evolving Apache Hadoop Eco-System – What it means for Big Data Analytics and Storage Sanjay Radia Architect/Founder, ... – Ride the

2012 SNIA Analytics & Big Data Summit © Hortonworks Inc. 2012

Hadoop in Enterprise Data Architecture

Page 9

EDW

Existing Business Infrastructure

ODS & Datamarts

Applications & Spreadsheets

Visualization & Intelligence

Discovery Tools

IDE & Dev Tools

Low Latency/NoSQL

Web

Web Applications

Operations

Custom Existing

Templeton Sqoop WebHDFS FlumeNG HCatalog

Pig HBase

Hive

Ambari HA Oozie ZooKeeper

MapReduce HDFS

Data Sources (transactions, observations, interactions)

CRM ERP Exhaust

Data logs files financials

Social Media

New Tech

Datameer Tablaeu

Karmasphere Splunk

Page 10: The Evolving Apache Hadoop Eco-System - SNIA Evolving Apache Hadoop Eco-System – What it means for Big Data Analytics and Storage Sanjay Radia Architect/Founder, ... – Ride the

2012 SNIA Analytics & Big Data Summit © Hortonworks Inc. 2012

HCatalog

Table access Aligned metadata REST API

•  Raw Hadoop data •  Inconsistent, unknown •  Tool specific access

Apache HCatalog provides flexible metadata services across tools and external access

Metadata Services

•  Consistency of metadata and data models across tools (MapReduce, Pig, HBase and Hive)

•  Accessibility: share data as tables in and out of HDFS •  Availability: enables flexible, thin-client access via REST API

Shared table and schema management opens the platform

Page 11: The Evolving Apache Hadoop Eco-System - SNIA Evolving Apache Hadoop Eco-System – What it means for Big Data Analytics and Storage Sanjay Radia Architect/Founder, ... – Ride the

2012 SNIA Analytics & Big Data Summit © Hortonworks Inc. 2012

Outline

• Hadoop and Big Data Analytics – Data platform drivers and How Hadoop Changes the Game – Data Refinery – Hadoop in Enterprise Data Architecture

• Hadoop (HDFS) and Storage – RAID disk or not? – HDFS’s Generic storage layer – Archival – Upcoming

Page 11

Page 12: The Evolving Apache Hadoop Eco-System - SNIA Evolving Apache Hadoop Eco-System – What it means for Big Data Analytics and Storage Sanjay Radia Architect/Founder, ... – Ride the

2012 SNIA Analytics & Big Data Summit © Hortonworks Inc. 2012

HDFS: Scalable, Reliable, Manageable

12

`

Switch

Core Switch

Switch

Switch

Scale IO, Storage, CPU •  Add commodity servers & JBODs •  6K nodes in cluster, 120PB

r  Fault Tolerant & Easy management r  Built in redundancy r  Tolerate disk and node failures r  Automatically manage addition/

removal of nodes r  One operator per 3K node!!

r  Storage server used for computation r  Move computation to data

r  Not a SAN r  But high-bandwidth network access

to data via Ethernet

r  Scalable file system r  Read, Write, rename, append

r  No random writes

Simplicity of design why a small team could build such a large system in the first place

Page 13: The Evolving Apache Hadoop Eco-System - SNIA Evolving Apache Hadoop Eco-System – What it means for Big Data Analytics and Storage Sanjay Radia Architect/Founder, ... – Ride the

13

•  Namespace layer ›  Multiple independent namespace

•  Can be mounted using client side mount tables

›  Consists of dirs, files and blocks ›  Operations: create, delete, modify and list dir/files

•  Block Storage layer – Generic Block service ›  DataNode cluster membership ›  Block Pool – set of blocks for a Namespace volume

•  Storage shared across all volumes – no partitioning •  Namespace Volume = Namespace + Block Pool

›  Block operations •  Create/delete/modify/getBlockLocation operations •  Read and write access to blocks

›  Detect and Tolerate faults •  Monitor node/disk health, periodic block verification •  Recover from failures – replication and placement

HDFS Architecture: Two Key Layers B

lock

Sto

rage

Nam

espa

ce

Block Management

NS

Storage

DataNode DataNode …  

NS …  

Page 14: The Evolving Apache Hadoop Eco-System - SNIA Evolving Apache Hadoop Eco-System – What it means for Big Data Analytics and Storage Sanjay Radia Architect/Founder, ... – Ride the

2012 SNIA Analytics & Big Data Summit © Hortonworks Inc. 2012

File systems Background (3): Leading to Google FS and HDFS

> Separation of metadata from data - 1978, 1980

l “Separating Data from Function in a Distributed File System” (1978) l by J E Israel, J G Mitchell, H E Sturgis

l “A universal file server” (1980) by A D Birrell, R M Needham

> Horizontal scaling of storage nodes and io bandwidth (1999-2003) l Several startups building scalable NFS – late 1990s l Luster (1999-2002) l Google FS (2003) l (Hadoop’s HDFS, pNFS)

> Commodity HW with JBODs, Replication, Non-posix semantics l Google FS (2003) - Not using RAID a very important decision

> Computation close to the data l Parallel DBs l Google FS/MapReduce

Page 15: The Evolving Apache Hadoop Eco-System - SNIA Evolving Apache Hadoop Eco-System – What it means for Big Data Analytics and Storage Sanjay Radia Architect/Founder, ... – Ride the

2012 SNIA Analytics & Big Data Summit © Hortonworks Inc. 2012

Significance of not using Disk RAID

• Key new idea was to not use RAID on the local disk and instead replicate the data – Uniformly Deal with device failure, media failures, node failures etc. – Nodes and clusters continue run, with slightly lower capacity

– Nodes and disks can be fixed when convenient – Recover from failures in parallel

– Raid5 disk take over half a day to recover from a 1TB failure – HDFS recovers 12TB in minutes – recover is in parallel

– Faster for larger clusters

– Operational advantage: system recovers automatically from node and disk failures very rapidly

– 1 operator for 4K servers at mature Hadoop installations – Yes there is the storage overhead – File-RAID is available (1.4 -1.6 efficiency)

–  Practical to use for portion of data otherwise node recover takes long

Page 15

Page 16: The Evolving Apache Hadoop Eco-System - SNIA Evolving Apache Hadoop Eco-System – What it means for Big Data Analytics and Storage Sanjay Radia Architect/Founder, ... – Ride the

© Hortonworks Inc. 2012

HDFS’ Generic Storage Service Opportunities for Innovation

•  Federation - Distributed (Partitioned) Namespace –  Simple and Robust due to independent masters

–  Scalability, Isolation, Availability

•  New Services – Independent Block Pools –  New FS - Partial namespace in memory

–  MR Tmp storage, HBase directly on block storage

–  Shadow file system – caches HDFS, NFS, S3

•  Future: move Block Management in DataNodes –  Simplifies namespace/application implementation

–  Distributed namenode becomes significantly simple

Storage Service

HDFS Namespace

Alternate NN Implementation HBase

MR tmp

Page 17: The Evolving Apache Hadoop Eco-System - SNIA Evolving Apache Hadoop Eco-System – What it means for Big Data Analytics and Storage Sanjay Radia Architect/Founder, ... – Ride the

2012 SNIA Analytics & Big Data Summit © Hortonworks Inc. 2012

Archival data – where should it sit?

• Hadoop encourages old data for future analysis – Should it sit in a separate cluster with lower computing power? – Spindles are one of the bottlenecks in Big data system.

– Can’t waste precious spindles to another cluster where they are underutilized

– Better to keep archival data in the main cluster where the spindles can be actively used – As data grows over time, a Big data cluster may have smaller

percentage of hot data – Should we arrange data on the disk platter based on access patterns?

• Challenge – growing data – Do tapes play a role?

Page 17

Page 18: The Evolving Apache Hadoop Eco-System - SNIA Evolving Apache Hadoop Eco-System – What it means for Big Data Analytics and Storage Sanjay Radia Architect/Founder, ... – Ride the

2012 SNIA Analytics & Big Data Summit © Hortonworks Inc. 2012

HDFS in Hadoop 1 and Hadoop 2

Page 18

Hadoop 1 (GA) • Security • Append/Fsync (HBase) • WebHDFS + Spnego • Write pipeline improvements • Local write optimization • Performance improvements • Disk-fail-in-place • HA Namenode • Full Stack HA

Hadoop 2 (alpha) • New Append • Federation • Wire compatibility • Edit logs rewrite • Faster startup • HA NameNode (hot) • Full Stack HA – in progress

Page 19: The Evolving Apache Hadoop Eco-System - SNIA Evolving Apache Hadoop Eco-System – What it means for Big Data Analytics and Storage Sanjay Radia Architect/Founder, ... – Ride the

2012 SNIA Analytics & Big Data Summit © Hortonworks Inc. 2012

Hadoop Full Stack HA Architecture

19

HA Cluster for Master Daemons

Server Server Server

NN JT

Failover

N+K failover

Apps Running Outside

JT into Safemode

NN

job job job job job

Slave Nodes of Hadoop Cluster

Slave Server

Slave Server

Slave Server

Slave Server

Slave Server

Page 20: The Evolving Apache Hadoop Eco-System - SNIA Evolving Apache Hadoop Eco-System – What it means for Big Data Analytics and Storage Sanjay Radia Architect/Founder, ... – Ride the

2012 SNIA Analytics & Big Data Summit © Hortonworks Inc. 2012

Upcoming

• Continue improvements – Performance – Monitoring and Management – Rolling upgrades – Disaster Recovery

• Snapshots (prototype already published) • Support for heterogeneous storage on DataNodes

– Will allow Flash disks to be used for specific use cases • Block grouping - allow large number of smaller blocks • Working-set of namespace in memory – large # of files • Other protocols – NFS • …

Page 20

Page 21: The Evolving Apache Hadoop Eco-System - SNIA Evolving Apache Hadoop Eco-System – What it means for Big Data Analytics and Storage Sanjay Radia Architect/Founder, ... – Ride the

© Hortonworks Inc. 2012

Which Apache Hadoop Distro? •  Stable •  Reliable •  Well supported •  But do not want to lock into a vendor

Page 21

Page 22: The Evolving Apache Hadoop Eco-System - SNIA Evolving Apache Hadoop Eco-System – What it means for Big Data Analytics and Storage Sanjay Radia Architect/Founder, ... – Ride the

2012 SNIA Analytics & Big Data Summit © Hortonworks Inc. 2012

1

•  Simplify deployment to get started quickly and easily

•  Monitor, manage any size cluster with familiar console and tools

•  Only platform to include data integration services to interact with any data source

•  Metadata services opens the platform for integration with existing applications

•  Dependable high availability architecture

Hortonworks Data Platform

Hortonworks Data Platform

Delivers enterprise grade functionality on a proven Apache Hadoop distribution to ease management,

simplify use and ease integration into the enterprise

The only 100% open source data platform for Apache Hadoop

Page 23: The Evolving Apache Hadoop Eco-System - SNIA Evolving Apache Hadoop Eco-System – What it means for Big Data Analytics and Storage Sanjay Radia Architect/Founder, ... – Ride the

2012 SNIA Analytics & Big Data Summit © Hortonworks Inc. 2012

Hortonworks Distribution

Hadoop 1.0.x = stable “kernel” Integrates and tests all necessary Apache component projects Most stable and compatible versions of all components are chosen Closely aligned with each Apache component project code line with closedown process that provides necessary buffer QE/Beta process that produced every single stable Apache Hadoop release •  Apache Hadoop 2 is being

QE’ed and alpha/beta tested through the same process by Hortonworks

Hortonworks Data Platform

Page 23

Had

oop

HC

atal

og

Pig

Hiv

e

HB

ase

Sqo

op

Ooz

ie

Zoo

keep

er

Am

bari

Tal

end

1.0.3

0.4.0

0.9.2

0.9.0+

0.92.1+

0.9.0+

3.1.3

3.3.4

beta

5.1.1

1.0.3 0.4.0 0.9.2 0.9.0+ 0.92.1+ 0.9.0+ 3.1.3 3.3.4 beta 5.1.1

Tested, Hardened & Proven Distribution Reduces Risk

Page 24: The Evolving Apache Hadoop Eco-System - SNIA Evolving Apache Hadoop Eco-System – What it means for Big Data Analytics and Storage Sanjay Radia Architect/Founder, ... – Ride the

2012 SNIA Analytics & Big Data Summit © Hortonworks Inc. 2012

Summary

• Hadoop changes Big Data game in fundamental ways – Cost, storage and compute capacity – Horizontally scale from small to very very large – Data Refinery – keep all your data, new business insights – Hooks to integrate with existing enterprise data architecture – Open, growing eco-system – no lock in

• Hortonworks and HDP Distribution – The team that originally created Apache Hadoop at Yahoo – The team that is driving key developments in Apache Hadoop – QE’ed and alpha/beta tested every stable Hadoop release

including Hadoop 1 and Hadoop 2 (alpha) – HDP is fully open source to apache – nothing held back

–  close/identical to Apache releases

Page 24

Page 25: The Evolving Apache Hadoop Eco-System - SNIA Evolving Apache Hadoop Eco-System – What it means for Big Data Analytics and Storage Sanjay Radia Architect/Founder, ... – Ride the

© Hortonworks Inc. 2012

Thank You! Questions & Answers

Page 25