Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] !...

37
1 © Copyright 2013 Pivotal. All rights reserved. 1 © Copyright 2013 Pivotal. All rights reserved. Hadoop: A View from the Trenches Milind Bhandarkar Chief Scientist, Pivotal Twitter: @techmilind

Transcript of Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] !...

Page 1: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

1 © Copyright 2013 Pivotal. All rights reserved. 1 © Copyright 2013 Pivotal. All rights reserved.

Hadoop: A View from the Trenches Milind Bhandarkar Chief Scientist, Pivotal Twitter: @techmilind

Page 2: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

2 © Copyright 2013 Pivotal. All rights reserved.

About Me �  http://www.linkedin.com/in/milindb

�  Founding member of Hadoop team at Yahoo! [2005-2010]

�  Contributor to Apache Hadoop since v0.1

�  Built and led Grid Solutions Team at Yahoo! [2007-2010]

�  Parallel Programming Paradigms [1989-today] (PhD cs.illinois.edu)

�  Center for Development of Advanced Computing (C-DAC), National Center for Supercomputing Applications (NCSA), Center for Simulation of Advanced Rockets, Siebel Systems, Pathscale Inc. (acquired by QLogic), Yahoo!, LinkedIn, and Pivotal (formerly EMC-Greenplum)

Page 3: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

3 © Copyright 2013 Pivotal. All rights reserved.

First, technology is good. Then it gets bad. Then it gets stable. - Alistair Croll (http://strata.oreilly.com/2013/01/data-warefare.html)

Page 4: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

4 © Copyright 2013 Pivotal. All rights reserved.

History (2003-2010)

Page 5: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

5 © Copyright 2013 Pivotal. All rights reserved.

Google Papers

Page 6: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

6 © Copyright 2013 Pivotal. All rights reserved.

Yahoo! Search

+

=

Page 7: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

7 © Copyright 2013 Pivotal. All rights reserved.

W-1-W

� WebMap : Graph processing for WWW

� Dreadnaught: Infrastructure for WebMap

�  Juggernaut: Infrastructure for W-1-W

�  JFS, JMR, Condor: Abandoned for Hadoop

Page 8: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

8 © Copyright 2013 Pivotal. All rights reserved.

Lucene, Nutch

Page 9: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

9 © Copyright 2013 Pivotal. All rights reserved.

Kryptonite

Page 10: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

10 © Copyright 2013 Pivotal. All rights reserved.

Lessons Learned

� Multi-Tenancy from ground-up

� Agility in lieu of Performance

� Provisioning vs Procurement

�  “Weird” use cases as learning experience

� Academic collaboration

Page 11: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

11 © Copyright 2013 Pivotal. All rights reserved.

(From Hadoop Summit 2010) Who Uses Hadoop ?

Page 12: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

12 © Copyright 2013 Pivotal. All rights reserved.

http://www.forbes.com/sites/davefeinleib/2012/06/19/the-big-data-landscape/ Big Data Landscape (June 2012)

Page 13: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

13 © Copyright 2013 Pivotal. All rights reserved.

http://www.datameer.com/blog/perspectives/hadoop-ecosystem-as-of-january-2013-now-an-app.html Hadoop Ecosystem (January 2013)

Page 14: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

14 © Copyright 2013 Pivotal. All rights reserved.

Page 15: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

15 © Copyright 2013 Pivotal. All rights reserved.

Page 16: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

16 © Copyright 2013 Pivotal. All rights reserved.

Page 17: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

17 © Copyright 2013 Pivotal. All rights reserved.

Hadoop Economics is Game Changer

$-

$20,000

$40,000

$60,000

$80,000

2008 2009 2010 2011 2012 2013

Big Data Platform Price/TB

Big Data DB Hadoop

Page 18: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

18 © Copyright 2013 Pivotal. All rights reserved.

“Typical” Hadoop Use-Case

�  “User” Modeling

� Objective: Determine User-Interests by mining user-activities

� Large dimensionality of possible user activities

� Typical user has sparse activity vector

� Event attributes change over time

Page 19: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

19 © Copyright 2013 Pivotal. All rights reserved.

Domain: Retail

� User = Customer

� Activities –  Online: Purchase, Ad click, FB Likes –  Offline : Brick-and-mortar purchases, returns, coupon clipping,

gift cards

� Personalized Product Recommendation

Page 20: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

20 © Copyright 2013 Pivotal. All rights reserved.

Domain: IT Infrastructure

�  “User” = HW & SW Components

� Activities –  Log messages, Metrics, connectivity, communication events

� Goal: Proactive alerting of imminent failures

Page 21: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

21 © Copyright 2013 Pivotal. All rights reserved.

Domain: Healthcare

� User = Patient

� Activities –  Doctor Visits, Medicine refills, Medical History –  3G/WiFi-enabled Pillbox...

� Goal: Prevent Hospital Readmissions

Page 22: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

22 © Copyright 2013 Pivotal. All rights reserved.

Domain: Telecom

� User: Subscriber

� Activities –  Calls made, duration, calls dropped, locations, ... –  “social” graph, status updates

� Goal: Reduce customer churn

Page 23: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

23 © Copyright 2013 Pivotal. All rights reserved.

Domain: Ad-Supported Web

� User = User :-)

� Activities –  Clicks on content, Likes, Repost –  Search Queries, Comments, Participation

� Goal: Increase Engagement, Increase Clicks on revenue-generating content (ads/premium content)

Page 24: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

24 © Copyright 2013 Pivotal. All rights reserved.

User-Modeling Pipeline

� Sessionization

� Feature and Target Generation

� Model Training

� Offline Scoring & Evaluation

� Batch Scoring & Upload to serving

Page 25: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

25 © Copyright 2013 Pivotal. All rights reserved.

What’s Next ?

Page 26: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

26 © Copyright 2013 Pivotal. All rights reserved.

Trough of Disillusionment ?

Page 27: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

27 © Copyright 2013 Pivotal. All rights reserved.

Or, Hadoop Everywhere ?

Page 28: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

28 © Copyright 2013 Pivotal. All rights reserved.

Storage Wars

� HDFS

� KosmosFS, LocalFS, Quantcast FS, S3

� MapR

� GPFS, Isilon, Atmos, Swift, NetApp

� Lustre, Gluster, Ceph, PanFS, PVFS

� EMC ViPR

Page 29: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

29 © Copyright 2013 Pivotal. All rights reserved.

NoSQL = Not Yet SQL ?

� Pivotal HAWQ

� Cloudera Impala

� Apache Drill, Spire (Drawn to Scale)

� Cascading Lingual, Optiq

� Hortonworks Stinger

� More to come....

Page 30: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

30 © Copyright 2013 Pivotal. All rights reserved.

Prepare for Convergence

� HPC: Cache Coherence, Prefetching, Zero-copy, Low-contention locks

�  “Big Data”: Caching, Mirroring, Sharding (various flavors), relaxed consistency

� Databases: Indexing, MVCC, Columnar storage/processing, Cost-based optimization

Page 31: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

31 © Copyright 2013 Pivotal. All rights reserved.

Convergence

� Resource Allocation, Scheduling, Lifecycle Management

� Compute, Storage, and Communication isolation, Multi-tenancy, Performance SLAs

� Auth & Auth, Data/System Provisioning and Management, Monitoring, Metadata Management, Metering

Page 32: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

32 © Copyright 2013 Pivotal. All rights reserved.

Hadoop As A Service

� Hadoop Platform-As-A-Service –  EMR competitor proliferation –  OpenStack, CloudStack, Joyent...

� Application-As-A-Service (Hadoop Inside) –  Cetas, Continuuity, Causata, Claritics, Tresata, Wibidata,…

� Pivotal One –  CloudFoundry, Hadoop, HAWQ, Analytics –  Spring, Redis, RabbitMQ

Page 33: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

33 © Copyright 2013 Pivotal. All rights reserved.

New Hardware Platforms

� Mellanox - Hadoop Acceleration through Network Levitated Merge

� RoCE - Brocade, Cisco, Extreme, Arista...

� ARM - Low power Hadoop servers

� SSD - Velobit, Violin, FusionIO, Samsung..

� Niche - Compression, Encryption…

Page 34: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

34 © Copyright 2013 Pivotal. All rights reserved.

IAAS as the new Hardware

� AWS, GCE, Azure

�  vSphere, OpenStack

� Easy Provisioning

� Scalable

� Elastic

� Ubiquitous

� Needs bundling with Data & Analytics as Services

Page 35: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

35 © Copyright 2013 Pivotal. All rights reserved.

Big Data Platform of Future ?

depl

oy

Public Cloud

Private Cloud

On Premise

Page 36: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

36 © Copyright 2013 Pivotal. All rights reserved.

Questions ?

Page 37: Hadoop: A View from the Trenches...Founding member of Hadoop team at Yahoo! [2005-2010] ! Contributor to Apache Hadoop since v0.1 ! Built and led Grid Solutions Team at Yahoo! [2007-2010]

A NEW PLATFORM FOR A NEW ERA