Top Banner
Resource Sharing Beyond Boundaries Mohit Soni Santosh Marella
43

Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo

Jul 09, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo

Resource Sharing Beyond Boundaries   Mohit Soni Santosh Marella

Page 2: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo
Page 3: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo
Page 4: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo

Adam Bordelon Anoop Dawar Ben HindmanBrandon Gulla Danese Cooper Darin JohnsonJim Klucar Kannan Rajah Ken SipeLuciano Resende Meghdoot Bhattacharya Paul ReedRenan DelValle Ruth Harris Shingo OmuraSwapnil Daingade Ted Dunning Will OchandarenaYuliya Feldman Zhongyue Luo

Page 5: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo

AgendaWhat's up with Datacenters these days?Apache Mesos vs. Apache Hadoop/YARN?Why would you want/need both?Resource Sharing with Apache Myriad

Page 6: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo

What's running on your datacenter?Tier 1 servicesTier 2 servicesHigh Priority BatchBest Effort, backfill

Page 7: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo

RequirementsProgramming models based on resources, not machinesCustom resource typesCustom scheduling algorithms:Fast vs. careful/slowLightweight executors, fast task launch timeMulti-tenancy, utilization, strong isolation

Page 8: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo

Hadoop and MoreSupport Hadoop/BigData ecosystemSupport arbitrary (legacy) processes/containersConnect Big Data to non-Hadoop apps, share data, resources

Page 9: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo

Mesos from 10,000 feetOpen Source Apache project Cluster Resource Manager Scalable to 10,000s of nodes Fault-tolerant, no SPOF Multi-tenancy, Resource Isolation Improved resource utilization

Page 10: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo

Mesos is more thanYet Another Resource Negotiator

Long-running services; real-time jobs Native Docker; cgroups for years;

Isolate cpu/mem/disk/net/other Distributed systems SDK;

~200 loc for a new app Core written in C++ for performance,

Apps in any language

Page 11: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo
Page 12: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo
Page 13: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo
Page 14: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo

Why two resource managers?

Page 15: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo
Page 16: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo

Static Partitioning sucksHadoop teams fine with isolated clusters, but Ops team unhappy; slow to provisionResource silos, no elasticityWant to run Hadoop on the same infrastructure, without interrupting Tier-1 servicesWant multi-tenancy, resource sharing/isolation

Page 17: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo
Page 18: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo

Introducing Myriad

Page 19: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo

Myriad OverviewMesos Framework for Apache YARNMesos manages DC, YARN manages HadoopCoarse and fine grained resource sharing

Page 20: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo

Resource Sharing

Page 21: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo
Page 22: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo
Page 23: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo
Page 24: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo
Page 25: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo
Page 26: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo
Page 27: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo
Page 28: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo
Page 29: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo
Page 30: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo
Page 31: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo
Page 32: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo
Page 33: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo
Page 34: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo
Page 35: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo
Page 36: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo
Page 37: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo
Page 38: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo
Page 39: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo

Demo

Page 40: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo

Myriad improves Mesos Tighter integration with Hadoop frameworks

like HBase, Hive, PigBorrow resources from Hadoop when traffic spikes for tier-1 servicesBackfill unused resource capacity with best-effort Hadoop jobs

No Mesos code changes necessary

Page 41: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo

Myriad improves Hadoop Elastic scaling Fault-tolerant: Maintain NM capacity Share resources with other workloads,

improve resource utilization High SLA hadoop jobs unaffected No YARN/Hadoop code changes

Page 42: Mohit Soni Santosh Marella...Brandon Gulla Danese Cooper Darin Johnson Jim Klucar Kannan Rajah Ken Sipe Luciano ResendeMeghdoot BhattacharyaPaul Reed Renan DelValle Ruth Harris Shingo

Other FeaturesRM failover/discovery using Marathon/Mesos-DNSDistribution of hadoop binariesWeb InterfaceMyriad scheduler HA, task reconciliation(in progress)Ability to launch Job History Server(in progress)Your favorite feature here!