SlideShare a Scribd company logo
Cloud Services for Big Data Analytics
June 27 2014
Second International Workshop on Service and Cloud Based Data
Integration (SCDI 2014)
Anchorage AK
Geoffrey Fox
gcf@indiana.edu
http://www.infomall.org
School of Informatics and Computing
Digital Science Center
Indiana University Bloomington
Abstract
• We present a software model built on the Apache software
stack (ABDS) that is well used in modern cloud computing,
which we enhance with HPC concepts to derive HPC-ABDS.
– We discuss layers in this stack
– We give examples of integrating ABDS with HPC
• We discuss how to implement this in a world of multiple
infrastructures and evolving software environments for
users, developers and administrators
• We present Cloudmesh as supporting Software-Defined
Distributed System as a Service or SDDSaaS with multiple
services on multiple clouds/HPC systems.
– We explain the functionality of Cloudmesh as well as the 3
administrator and 3 user modes supported
http://www.kpcb.com/internet-trends
Note largest science ~100 petabytes = 0.000025 total
HPC-ABDS
Integrating High Performance Computing with
Apache Big Data Stack
Shantenu Jha, Judy Qiu, Andre Luckow
Cloud Services for Big Data Analytics
• HPC-ABDS
• ~120 Capabilities
• >40 Apache
• Green layers have strong HPC Integration opportunities
• Goal
• Functionality of ABDS
• Performance of HPC
Broad Layers in HPC-ABDS
• Workflow-Orchestration
• Application and Analytics: Mahout, MLlib, R…
• High level Programming
• Basic Programming model and runtime
– SPMD, Streaming, MapReduce, MPI
• Inter process communication
– Collectives, point-to-point, publish-subscribe
• In-memory databases/caches
• Object-relational mapping
• SQL and NoSQL, File management
• Data Transport
• Cluster Resource Management (Yarn, Slurm, SGE)
• File systems(HDFS, Lustre …)
• DevOps (Puppet, Chef …)
• IaaS Management from HPC to hypervisors (OpenStack)
• Cross Cutting
– Message Protocols
– Distributed Coordination
– Security & Privacy
– Monitoring
Useful Set of Analytics Architectures
• Pleasingly Parallel: including local machine learning as in
parallel over images and apply image processing to each image
- Hadoop could be used but many other HTC, Many task tools
• Search: including collaborative filtering and motif finding
implemented using classic MapReduce (Hadoop)
• Map-Collective or Iterative MapReduce using Collective
Communication (clustering) – Hadoop with Harp, Spark …..
• Map-Communication or Iterative Giraph: (MapReduce) with
point-to-point communication (most graph algorithms such as
maximum clique, connected component, finding diameter,
community detection)
– Vary in difficulty of finding partitioning (classic parallel load balancing)
• Shared memory: thread-based (event driven) graph algorithms
(shortest path, Betweenness centrality)
Ideas like workflow are “orthogonal” to this
Getting High Performance on Data Analytics
(e.g. Mahout, R…)
• On the systems side, we have two principles:
– The Apache Big Data Stack with ~120 projects has important broad
functionality with a vital large support organization
– HPC including MPI has striking success in delivering high performance,
however with a fragile sustainability model
• There are key systems abstractions which are levels in HPC-ABDS software stack
where Apache approach needs careful integration with HPC
– Resource management
– Storage
– Programming model -- horizontal scaling parallelism
– Collective and Point-to-Point communication
– Support of iteration
– Data interface (not just key-value)
• In application areas, we define application abstractions to support:
– Graphs/network
– Geospatial
– Genes
– Images, etc.
HPC-ABDS Hourglass
HPC ABDS
System (Middleware)
High performance
Applications
• HPC Yarn for Resource management
• Horizontally scalable parallel programming model
• Collective and Point-to-Point communication
• Support of iteration (in memory databases)
System Abstractions/standards
• Data format
• Storage
120 Software Projects
Application Abstractions/standards
Graphs, Networks, Images, Geospatial ….
SPIDAL (Scalable Parallel
Interoperable Data Analytics Library)
or High performance Mahout, R,
Matlab…
Parallel Global Machine Learning
Examples
Mahout and Hadoop MR – Slow due to MapReduce
Python slow as Scripting
Spark Iterative MapReduce, non optimal communication
Harp Hadoop plug in with ~MPI collectives
MPI fastest as C not Java
Increasing Communication Identical Computation
Clustering and MDS Large Scale O(N2) GML
WDA SMACOF MDS (Multidimensional
Scaling) using Harp on Big Red 2
Parallel Efficiency: on 100-300K sequences
Conjugate Gradient (dominant time) and Matrix Multiplication
0.00
0.20
0.40
0.60
0.80
1.00
1.20
0 20 40 60 80 100 120 140
ParallelEfficiency
Number of Nodes
100K points 200K points 300K points
Features of Harp Hadoop Plugin
• Hadoop Plugin (on Hadoop 1.2.1 and Hadoop 2.2.0)
• Hierarchical data abstraction on arrays, key-values and
graphs for easy programming expressiveness.
• Collective communication model to support various
communication operations on the data abstractions
• Caching with buffer management for memory allocation
required from computation and communication
• BSP style parallelism
• Fault tolerance with checkpointing
Building a Big Data Ecosystem that
is broadly deployable
Using Lots of Services
• To enable Big data processing, we need to support those
processing data, those developing new tools and those managing
big data infrastructure
• Need Software, CPU’s, Storage, Networks delivered as Software-
Defined Distributed System as a Service or SDDSaaS
– SDDSaaS integrates component services from lower levels of
Kaleidoscope up to different Mahout or R components and the
workflow services that integrate them
• Given richness and rapid evolution of field, we need to enable easy
use of the Kaleidoscope (and other) software.
• Make a list of basic software services needed
• Then define them as Puppet/Chef Puppies/recipes
• Compose them with SDDSL Language (later)
• Specify infrastructures
• Administrators, developers run Cloudmesh to deploy on demand
• Application users directly access Data Analytics as Software as a
Service created by Cloudmesh
Infra
structure
IaaS
 Software Defined
Computing (virtual Clusters)
 Hypervisor, Bare Metal
 Operating System
Platform
PaaS
 Cloud e.g. MapReduce
 HPC e.g. PETSc, SAGA
 Computer Science e.g.
Compiler tools, Sensor
nets, Monitors
Software-Defined Distributed
System (SDDS) as a Service
Network
NaaS
 Software Defined
Networks
 OpenFlow GENI
Software
(Application
Or Usage)
SaaS
 CS Research Use e.g.
test new compiler or
storage model
 Class Usages e.g. run
GPU & multicore
 Applications
FutureGrid uses
SDDS-aaS Tools
 Provisioning
 Image Management
 IaaS Interoperability
 NaaS, IaaS tools
 Expt management
 Dynamic IaaS NaaS
 DevOps
CloudMesh is a
SDDSaaS tool that uses
Dynamic Provisioning and
Image Management to
provide custom
environments for general
target systems
Involves (1) creating,
(2) deploying, and
(3) provisioning
of one or more images in
a set of machines on
demand
http://cloudmesh.futuregrid.org/18
Maybe a Big Data Initiative would include
• OpenStack
• Slurm
• Yarn
• Hbase
• MySQL
• iRods
• Memcached
• Kafka
• Harp
• Hadoop, Giraph, Spark
• Storm
• Hive
• Pig
• Mahout – lots of different
analytics
• R -– lots of different
analytics
• Kepler, Pegasus, Airavata
• Zookeeper
• Ganglia, Nagios, Inca
CloudMesh Architecture
• Cloudmesh is a SDDSaaS toolkit to support
– A software-defined distributed system encompassing virtualized and
bare-metal infrastructure, networks, application, systems and platform
software with a unifying goal of providing Computing as a Service.
– The creation of a tightly integrated mesh of services targeting multiple
IaaS frameworks
– The ability to federate a number of resources from academia and
industry. This includes existing FutureGrid infrastructure, Amazon Web
Services, Azure, HP Cloud, Karlsruhe using several IaaS frameworks
– The creation of an environment in which it becomes easier to
experiment with platforms and software services while assisting with
their deployment.
– The exposure of information to guide the efficient utilization of
resources. (Monitoring)
– Support reproducible computing environments
– IPython-based workflow as an interoperable onramp
• Cloudmesh exposes both hypervisor-based and bare-metal
provisioning to users and administrators
• Access through command line, API, and Web interfaces.
Cloudmesh Architecture
• Cloudmesh
Management
Framework for
monitoring and
operations, user and
project management,
experiment planning
and deployment of
services needed by an
experiment
• Provisioning and
execution
environments to be
deployed on resources
to (or interfaced with)
enable experiment
management.
• Resources.
FutureGrid, SDSC Comet, IU Juliet
Cloudmesh Functionality
Building Blocks of Cloudmesh
• Uses internally Libcloud and Cobbler
• Celery Task/Query manager (AMQP - RabbitMQ)
• MongoDB
• Accesses via abstractions external systems/standards
• OpenPBS, Chef
• Openstack (including tools like Heat), AWS EC2, Eucalyptus,
Azure
• Xsede user management (Amie) via Futuregrid
• Implementing Slurm, OCCI, Ansible, Puppet
• Evaluating Razor, Juju, Xcat (Original Rain used this), Foreman
Cloudmesh User Interface
24
25
Cloudmesh Shell & bash & IPython
26
SDDS Software Defined Distributed Systems
• Cloudmesh builds infrastructure as SDDS consisting of one or more virtual clusters or slices
with extensive built-in monitoring
• These slices are instantiated on infrastructures with various owners
• Controlled by roles/rules of Project, User, infrastructure
Python or
REST API
User in
Project
CMPlan
CMProv
CMMon
Infrastructure
(Cluster,
Storage,
Network, CPS)
 Instance Type
 Current State
 Management
Structure
 Provisioning
Rules
 Usage Rules
(depends on
user roles)
Results
CMExecUser
Roles
User role and infrastructure
rule dependent security
checks
Request
Execution in Project
Request
SDDS
Select
Plan
Requested SDDS as
federated Virtual
Infrastructures
#1Virtual
infra.
Linux #2 Virtual
infra.
Windows#3Virtual
infra.
Linux #4 Virtual
infra.
Mac OS X
Repository
Image and
Template
Library
SDDSL
 One needs general
hypervisor and
bare-metal slices to
support FG
research
 The experiment
management
system is intended
to integrates ISI
Precip, FG
Cloudmesh and
tools latter invokes
 Enables
reproducibility in
experiments.
What is SDDSL?
• There is an OASIS standard activity TOSCA (Topology
and Orchestration Specification for Cloud
Applications)
• But this is similar to mash-ups or workflow (Taverna,
Kepler, Pegasus, Swift ..) and we know that workflow
itself is very successful but workflow standards are
not
– OASIS WS-BPEL (Business Process Execution Language)
didn’t catch on
• As basic tools (Cloudmesh) use Python and Python is
a popular scripting language for workflow, we
suggest that Python is SDDSL
– IPython Notebooks are natural log of execution
provenance
Cloudmesh as an On-Ramp
• As an On-Ramp, CloudMesh deploys recipes on
multiple platforms so you can test in one place and
do production on others
• Its multi-host support implies it is effective at
distributed systems
• It will support traditional workflow functions such as
– Specification of an execution dataflow
– Customization of Recipe
– Specification of program parameters
• Workflow quite well explored in Python
https://wiki.openstack.org/wiki/NovaOrchestration/
WorkflowEngines
• IPython notebook preserves provenance of activity
CloudMesh Administrative View of SDDS aaS
• CM-BMPaaS (Bare Metal Provisioning aaS) is a systems view and allows
Cloudmesh to dynamically generate anything and assign it as permitted by
user role and resource policy
– FutureGrid machines India, Bravo, Delta, Sierra, Foxtrot are like this
– Note this only implies user level bare metal access if given user is authorized
and this is done on a per machine basis
– It does imply dynamic retargeting of nodes to typically safe modes of
operation (approved machine images) such as switching back and forth
between OpenStack, OpenNebula, HPC on Bare metal, Hadoop etc.
• CM-HPaaS (Hypervisor based Provisioning aaS) allows Cloudmesh to
generate "anything" on the hypervisor allowed for a particular user
– Platform determined by images available to user
– Amazon, Azure, HPCloud, Google Compute Engine
• CM-PaaS (Platform as a Service) makes available an essentially fixed
Platform with configuration differences
– XSEDE with MPI HPC nodes could be like this as is Google App Engine and
Amazon HPC Cluster. Echo at IU (ScaleMP) is like this
– In such a case a system administrator can statically change base system but
the dynamic provisioner cannot
CloudMesh User View of SDDS aaS
• Note we always consider virtual clusters or slices with
nodes that may or may not have hypervisors
• BM-IaaS: Bare Metal (root access) Infrastructure as a
service with variants e.g. can change firmware or not
• H-IaaS: Hypervisor based Infrastructure (Machine) as a
Service. User provided a collection of hypervisors to build
system on.
– Classic Commercial cloud view
• PSaaS Physical or Platformed System as a Service where
user provided a configured image on either Bare Metal or
a Hypervisor
– User could request a deployment of Apache Storm and Kafka
to control a set of devices (e.g. smartphones)
Cloudmesh Infrastructure Types
• Nucleus Infrastructure:
– Persistent Cloudmesh Infrastructure with defined provisioning
rules and characteristics and managed by CloudMesh
• Federated Infrastructure:
– Outside infrastructure that can be used by special arrangement
such as commercial clouds or XSEDE
– Typically persistent and often batch scheduled
– CloudMesh can use within prescribed provisioning rules and users
restricted to those with permitted access; interoperable templates
allow common images to nucleus
• Contributed Infrastructure
– Outside contributions to a particular Cloudmesh project managed
by Cloudmesh in this project
– Typically strong user role restrictions – users must belong to a
particular project
– Can implement a Planetlab like environment by contributing
hardware that can be generally used with bare-metal provisioning
Lessons / Insights
• Integrate (don’t compete) HPC with “Commodity Big data”
(Google to Amazon to Enterprise Data Analytics)
– i.e. improve Mahout; don’t compete with it
– Use Hadoop plug-ins rather than replacing Hadoop
• Enhanced Apache Big Data Stack HPC-ABDS has ~120
members
• Opportunities at Resource management, Data/File,
Streaming, Programming, monitoring, workflow layers for
HPC and ABDS integration
• Need to capture as services – developing a HPC-Cloud
interoperability environment
• Data intensive algorithms do not have the well developed
high performance libraries familiar from HPC
– Need to develop needed services at all levels of stack from users
of Mahout to those developing better run time and programming
environments

More Related Content

PPTX
Big data architecture on cloud computing infrastructure
PDF
Simple, Modular and Extensible Big Data Platform Concept
PPTX
Hadoop white papers
PDF
Learning How to Learn Hadoop
PDF
Hadoop ecosystem
PPTX
Big dataarchitecturesandecosystem+nosql
PPTX
Big data vahidamiri-datastack.ir
PPTX
Big data hadoop ecosystem and nosql
Big data architecture on cloud computing infrastructure
Simple, Modular and Extensible Big Data Platform Concept
Hadoop white papers
Learning How to Learn Hadoop
Hadoop ecosystem
Big dataarchitecturesandecosystem+nosql
Big data vahidamiri-datastack.ir
Big data hadoop ecosystem and nosql

What's hot (20)

PPT
Hadoop distributions - ecosystem
PPTX
Hadoop And Their Ecosystem
PDF
Hadoop: The Default Machine Learning Platform ?
PDF
Introduction to Hadoop
PDF
Summary machine learning and model deployment
PPTX
Hadoop_arunam_ppt
PPTX
Cassandra-Based Image Processing: Two Case Studies (Kerry Koitzsch, Kildane) ...
DOCX
Rameez Rangrez(3)
PPTX
Introduction to Hadoop
PDF
Apache Spark & Hadoop
PPTX
Apache Hadoop YARN: Present and Future
PPTX
Hadoop World 2011: Hadoop and RDBMS with Sqoop and Other Tools - Guy Harrison...
PDF
Hadoop Ecosystem Architecture Overview
PPTX
Cassandra EU 2012 - Overview of Case Studies and State of the Market by 451 R...
PPTX
Capacity Management and BigData/Hadoop - Hitchhiker's guide for the Capacity ...
PDF
Extending Hadoop for Fun & Profit
PPT
Scaling hadoopapplications
PDF
The Zoo Expands: Labrador *Loves* Elephant, Thanks to Hamster
PPTX
Real time hadoop + mapreduce intro
PPTX
The Hadoop Path by Subash DSouza of Archangel Technology Consultants, LLC.
Hadoop distributions - ecosystem
Hadoop And Their Ecosystem
Hadoop: The Default Machine Learning Platform ?
Introduction to Hadoop
Summary machine learning and model deployment
Hadoop_arunam_ppt
Cassandra-Based Image Processing: Two Case Studies (Kerry Koitzsch, Kildane) ...
Rameez Rangrez(3)
Introduction to Hadoop
Apache Spark & Hadoop
Apache Hadoop YARN: Present and Future
Hadoop World 2011: Hadoop and RDBMS with Sqoop and Other Tools - Guy Harrison...
Hadoop Ecosystem Architecture Overview
Cassandra EU 2012 - Overview of Case Studies and State of the Market by 451 R...
Capacity Management and BigData/Hadoop - Hitchhiker's guide for the Capacity ...
Extending Hadoop for Fun & Profit
Scaling hadoopapplications
The Zoo Expands: Labrador *Loves* Elephant, Thanks to Hamster
Real time hadoop + mapreduce intro
The Hadoop Path by Subash DSouza of Archangel Technology Consultants, LLC.
Ad

Viewers also liked (6)

PPTX
Matching Data Intensive Applications and Hardware/Software Architectures
PPTX
Big Data Applications & Analytics Motivation: Big Data and the Cloud; Center...
PDF
Experience with Online Teaching with Open Source MOOC Technology
PPTX
What is the "Big Data" version of the Linpack Benchmark? ; What is “Big Data...
PDF
The Six Highest Performing B2B Blog Post Formats
PDF
The Outcome Economy
Matching Data Intensive Applications and Hardware/Software Architectures
Big Data Applications & Analytics Motivation: Big Data and the Cloud; Center...
Experience with Online Teaching with Open Source MOOC Technology
What is the "Big Data" version of the Linpack Benchmark? ; What is “Big Data...
The Six Highest Performing B2B Blog Post Formats
The Outcome Economy
Ad

Similar to Cloud Services for Big Data Analytics (20)

PPTX
Matching Data Intensive Applications and Hardware/Software Architectures
PPTX
Dibbs spidal april6-2016
PPTX
Big Data and Cloud Computing
PDF
Big Data/Hadoop Infrastructure Considerations
PPTX
HPC-ABDS High Performance Computing Enhanced Apache Big Data Stack (with a ...
PPTX
Next Generation Grid: Integrating Parallel and Distributed Computing Runtimes...
PDF
PDF
Hadoop - Architectural road map for Hadoop Ecosystem
PDF
Hadoop on Azure, Blue elephants
PDF
Architecting Virtualized Infrastructure for Big Data
PDF
Managing Big Data (Chapter 2, SC 11 Tutorial)
PDF
Software Architecture for Big Data and the Cloud 1st Edition Ivan Mistrik
PPTX
Slide 1
PPTX
Slide 1
PPTX
Big Data/Hadoop Option Analysis
PPT
Big Data As a service - Sethuonline.com | Sathyabama University Chennai
PPTX
Qiu bosc2010
PDF
Big Data , Big Problem?
PDF
Big Data Beyond Hadoop*: Research Directions for the Future
Matching Data Intensive Applications and Hardware/Software Architectures
Dibbs spidal april6-2016
Big Data and Cloud Computing
Big Data/Hadoop Infrastructure Considerations
HPC-ABDS High Performance Computing Enhanced Apache Big Data Stack (with a ...
Next Generation Grid: Integrating Parallel and Distributed Computing Runtimes...
Hadoop - Architectural road map for Hadoop Ecosystem
Hadoop on Azure, Blue elephants
Architecting Virtualized Infrastructure for Big Data
Managing Big Data (Chapter 2, SC 11 Tutorial)
Software Architecture for Big Data and the Cloud 1st Edition Ivan Mistrik
Slide 1
Slide 1
Big Data/Hadoop Option Analysis
Big Data As a service - Sethuonline.com | Sathyabama University Chennai
Qiu bosc2010
Big Data , Big Problem?
Big Data Beyond Hadoop*: Research Directions for the Future

Recently uploaded (20)

PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Electronic commerce courselecture one. Pdf
PDF
KodekX | Application Modernization Development
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PDF
Unlocking AI with Model Context Protocol (MCP)
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Cloud computing and distributed systems.
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Electronic commerce courselecture one. Pdf
KodekX | Application Modernization Development
Diabetes mellitus diagnosis method based random forest with bat algorithm
Dropbox Q2 2025 Financial Results & Investor Presentation
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
Machine learning based COVID-19 study performance prediction
Chapter 3 Spatial Domain Image Processing.pdf
NewMind AI Monthly Chronicles - July 2025
Reach Out and Touch Someone: Haptics and Empathic Computing
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
GamePlan Trading System Review: Professional Trader's Honest Take
Unlocking AI with Model Context Protocol (MCP)
“AI and Expert System Decision Support & Business Intelligence Systems”
Cloud computing and distributed systems.

Cloud Services for Big Data Analytics

  • 1. Cloud Services for Big Data Analytics June 27 2014 Second International Workshop on Service and Cloud Based Data Integration (SCDI 2014) Anchorage AK Geoffrey Fox gcf@indiana.edu http://www.infomall.org School of Informatics and Computing Digital Science Center Indiana University Bloomington
  • 2. Abstract • We present a software model built on the Apache software stack (ABDS) that is well used in modern cloud computing, which we enhance with HPC concepts to derive HPC-ABDS. – We discuss layers in this stack – We give examples of integrating ABDS with HPC • We discuss how to implement this in a world of multiple infrastructures and evolving software environments for users, developers and administrators • We present Cloudmesh as supporting Software-Defined Distributed System as a Service or SDDSaaS with multiple services on multiple clouds/HPC systems. – We explain the functionality of Cloudmesh as well as the 3 administrator and 3 user modes supported
  • 4. HPC-ABDS Integrating High Performance Computing with Apache Big Data Stack Shantenu Jha, Judy Qiu, Andre Luckow
  • 6. • HPC-ABDS • ~120 Capabilities • >40 Apache • Green layers have strong HPC Integration opportunities • Goal • Functionality of ABDS • Performance of HPC
  • 7. Broad Layers in HPC-ABDS • Workflow-Orchestration • Application and Analytics: Mahout, MLlib, R… • High level Programming • Basic Programming model and runtime – SPMD, Streaming, MapReduce, MPI • Inter process communication – Collectives, point-to-point, publish-subscribe • In-memory databases/caches • Object-relational mapping • SQL and NoSQL, File management • Data Transport • Cluster Resource Management (Yarn, Slurm, SGE) • File systems(HDFS, Lustre …) • DevOps (Puppet, Chef …) • IaaS Management from HPC to hypervisors (OpenStack) • Cross Cutting – Message Protocols – Distributed Coordination – Security & Privacy – Monitoring
  • 8. Useful Set of Analytics Architectures • Pleasingly Parallel: including local machine learning as in parallel over images and apply image processing to each image - Hadoop could be used but many other HTC, Many task tools • Search: including collaborative filtering and motif finding implemented using classic MapReduce (Hadoop) • Map-Collective or Iterative MapReduce using Collective Communication (clustering) – Hadoop with Harp, Spark ….. • Map-Communication or Iterative Giraph: (MapReduce) with point-to-point communication (most graph algorithms such as maximum clique, connected component, finding diameter, community detection) – Vary in difficulty of finding partitioning (classic parallel load balancing) • Shared memory: thread-based (event driven) graph algorithms (shortest path, Betweenness centrality) Ideas like workflow are “orthogonal” to this
  • 9. Getting High Performance on Data Analytics (e.g. Mahout, R…) • On the systems side, we have two principles: – The Apache Big Data Stack with ~120 projects has important broad functionality with a vital large support organization – HPC including MPI has striking success in delivering high performance, however with a fragile sustainability model • There are key systems abstractions which are levels in HPC-ABDS software stack where Apache approach needs careful integration with HPC – Resource management – Storage – Programming model -- horizontal scaling parallelism – Collective and Point-to-Point communication – Support of iteration – Data interface (not just key-value) • In application areas, we define application abstractions to support: – Graphs/network – Geospatial – Genes – Images, etc.
  • 10. HPC-ABDS Hourglass HPC ABDS System (Middleware) High performance Applications • HPC Yarn for Resource management • Horizontally scalable parallel programming model • Collective and Point-to-Point communication • Support of iteration (in memory databases) System Abstractions/standards • Data format • Storage 120 Software Projects Application Abstractions/standards Graphs, Networks, Images, Geospatial …. SPIDAL (Scalable Parallel Interoperable Data Analytics Library) or High performance Mahout, R, Matlab…
  • 11. Parallel Global Machine Learning Examples
  • 12. Mahout and Hadoop MR – Slow due to MapReduce Python slow as Scripting Spark Iterative MapReduce, non optimal communication Harp Hadoop plug in with ~MPI collectives MPI fastest as C not Java Increasing Communication Identical Computation
  • 13. Clustering and MDS Large Scale O(N2) GML
  • 14. WDA SMACOF MDS (Multidimensional Scaling) using Harp on Big Red 2 Parallel Efficiency: on 100-300K sequences Conjugate Gradient (dominant time) and Matrix Multiplication 0.00 0.20 0.40 0.60 0.80 1.00 1.20 0 20 40 60 80 100 120 140 ParallelEfficiency Number of Nodes 100K points 200K points 300K points
  • 15. Features of Harp Hadoop Plugin • Hadoop Plugin (on Hadoop 1.2.1 and Hadoop 2.2.0) • Hierarchical data abstraction on arrays, key-values and graphs for easy programming expressiveness. • Collective communication model to support various communication operations on the data abstractions • Caching with buffer management for memory allocation required from computation and communication • BSP style parallelism • Fault tolerance with checkpointing
  • 16. Building a Big Data Ecosystem that is broadly deployable
  • 17. Using Lots of Services • To enable Big data processing, we need to support those processing data, those developing new tools and those managing big data infrastructure • Need Software, CPU’s, Storage, Networks delivered as Software- Defined Distributed System as a Service or SDDSaaS – SDDSaaS integrates component services from lower levels of Kaleidoscope up to different Mahout or R components and the workflow services that integrate them • Given richness and rapid evolution of field, we need to enable easy use of the Kaleidoscope (and other) software. • Make a list of basic software services needed • Then define them as Puppet/Chef Puppies/recipes • Compose them with SDDSL Language (later) • Specify infrastructures • Administrators, developers run Cloudmesh to deploy on demand • Application users directly access Data Analytics as Software as a Service created by Cloudmesh
  • 18. Infra structure IaaS  Software Defined Computing (virtual Clusters)  Hypervisor, Bare Metal  Operating System Platform PaaS  Cloud e.g. MapReduce  HPC e.g. PETSc, SAGA  Computer Science e.g. Compiler tools, Sensor nets, Monitors Software-Defined Distributed System (SDDS) as a Service Network NaaS  Software Defined Networks  OpenFlow GENI Software (Application Or Usage) SaaS  CS Research Use e.g. test new compiler or storage model  Class Usages e.g. run GPU & multicore  Applications FutureGrid uses SDDS-aaS Tools  Provisioning  Image Management  IaaS Interoperability  NaaS, IaaS tools  Expt management  Dynamic IaaS NaaS  DevOps CloudMesh is a SDDSaaS tool that uses Dynamic Provisioning and Image Management to provide custom environments for general target systems Involves (1) creating, (2) deploying, and (3) provisioning of one or more images in a set of machines on demand http://cloudmesh.futuregrid.org/18
  • 19. Maybe a Big Data Initiative would include • OpenStack • Slurm • Yarn • Hbase • MySQL • iRods • Memcached • Kafka • Harp • Hadoop, Giraph, Spark • Storm • Hive • Pig • Mahout – lots of different analytics • R -– lots of different analytics • Kepler, Pegasus, Airavata • Zookeeper • Ganglia, Nagios, Inca
  • 20. CloudMesh Architecture • Cloudmesh is a SDDSaaS toolkit to support – A software-defined distributed system encompassing virtualized and bare-metal infrastructure, networks, application, systems and platform software with a unifying goal of providing Computing as a Service. – The creation of a tightly integrated mesh of services targeting multiple IaaS frameworks – The ability to federate a number of resources from academia and industry. This includes existing FutureGrid infrastructure, Amazon Web Services, Azure, HP Cloud, Karlsruhe using several IaaS frameworks – The creation of an environment in which it becomes easier to experiment with platforms and software services while assisting with their deployment. – The exposure of information to guide the efficient utilization of resources. (Monitoring) – Support reproducible computing environments – IPython-based workflow as an interoperable onramp • Cloudmesh exposes both hypervisor-based and bare-metal provisioning to users and administrators • Access through command line, API, and Web interfaces.
  • 21. Cloudmesh Architecture • Cloudmesh Management Framework for monitoring and operations, user and project management, experiment planning and deployment of services needed by an experiment • Provisioning and execution environments to be deployed on resources to (or interfaced with) enable experiment management. • Resources. FutureGrid, SDSC Comet, IU Juliet
  • 23. Building Blocks of Cloudmesh • Uses internally Libcloud and Cobbler • Celery Task/Query manager (AMQP - RabbitMQ) • MongoDB • Accesses via abstractions external systems/standards • OpenPBS, Chef • Openstack (including tools like Heat), AWS EC2, Eucalyptus, Azure • Xsede user management (Amie) via Futuregrid • Implementing Slurm, OCCI, Ansible, Puppet • Evaluating Razor, Juju, Xcat (Original Rain used this), Foreman
  • 25. 25
  • 26. Cloudmesh Shell & bash & IPython 26
  • 27. SDDS Software Defined Distributed Systems • Cloudmesh builds infrastructure as SDDS consisting of one or more virtual clusters or slices with extensive built-in monitoring • These slices are instantiated on infrastructures with various owners • Controlled by roles/rules of Project, User, infrastructure Python or REST API User in Project CMPlan CMProv CMMon Infrastructure (Cluster, Storage, Network, CPS)  Instance Type  Current State  Management Structure  Provisioning Rules  Usage Rules (depends on user roles) Results CMExecUser Roles User role and infrastructure rule dependent security checks Request Execution in Project Request SDDS Select Plan Requested SDDS as federated Virtual Infrastructures #1Virtual infra. Linux #2 Virtual infra. Windows#3Virtual infra. Linux #4 Virtual infra. Mac OS X Repository Image and Template Library SDDSL  One needs general hypervisor and bare-metal slices to support FG research  The experiment management system is intended to integrates ISI Precip, FG Cloudmesh and tools latter invokes  Enables reproducibility in experiments.
  • 28. What is SDDSL? • There is an OASIS standard activity TOSCA (Topology and Orchestration Specification for Cloud Applications) • But this is similar to mash-ups or workflow (Taverna, Kepler, Pegasus, Swift ..) and we know that workflow itself is very successful but workflow standards are not – OASIS WS-BPEL (Business Process Execution Language) didn’t catch on • As basic tools (Cloudmesh) use Python and Python is a popular scripting language for workflow, we suggest that Python is SDDSL – IPython Notebooks are natural log of execution provenance
  • 29. Cloudmesh as an On-Ramp • As an On-Ramp, CloudMesh deploys recipes on multiple platforms so you can test in one place and do production on others • Its multi-host support implies it is effective at distributed systems • It will support traditional workflow functions such as – Specification of an execution dataflow – Customization of Recipe – Specification of program parameters • Workflow quite well explored in Python https://wiki.openstack.org/wiki/NovaOrchestration/ WorkflowEngines • IPython notebook preserves provenance of activity
  • 30. CloudMesh Administrative View of SDDS aaS • CM-BMPaaS (Bare Metal Provisioning aaS) is a systems view and allows Cloudmesh to dynamically generate anything and assign it as permitted by user role and resource policy – FutureGrid machines India, Bravo, Delta, Sierra, Foxtrot are like this – Note this only implies user level bare metal access if given user is authorized and this is done on a per machine basis – It does imply dynamic retargeting of nodes to typically safe modes of operation (approved machine images) such as switching back and forth between OpenStack, OpenNebula, HPC on Bare metal, Hadoop etc. • CM-HPaaS (Hypervisor based Provisioning aaS) allows Cloudmesh to generate "anything" on the hypervisor allowed for a particular user – Platform determined by images available to user – Amazon, Azure, HPCloud, Google Compute Engine • CM-PaaS (Platform as a Service) makes available an essentially fixed Platform with configuration differences – XSEDE with MPI HPC nodes could be like this as is Google App Engine and Amazon HPC Cluster. Echo at IU (ScaleMP) is like this – In such a case a system administrator can statically change base system but the dynamic provisioner cannot
  • 31. CloudMesh User View of SDDS aaS • Note we always consider virtual clusters or slices with nodes that may or may not have hypervisors • BM-IaaS: Bare Metal (root access) Infrastructure as a service with variants e.g. can change firmware or not • H-IaaS: Hypervisor based Infrastructure (Machine) as a Service. User provided a collection of hypervisors to build system on. – Classic Commercial cloud view • PSaaS Physical or Platformed System as a Service where user provided a configured image on either Bare Metal or a Hypervisor – User could request a deployment of Apache Storm and Kafka to control a set of devices (e.g. smartphones)
  • 32. Cloudmesh Infrastructure Types • Nucleus Infrastructure: – Persistent Cloudmesh Infrastructure with defined provisioning rules and characteristics and managed by CloudMesh • Federated Infrastructure: – Outside infrastructure that can be used by special arrangement such as commercial clouds or XSEDE – Typically persistent and often batch scheduled – CloudMesh can use within prescribed provisioning rules and users restricted to those with permitted access; interoperable templates allow common images to nucleus • Contributed Infrastructure – Outside contributions to a particular Cloudmesh project managed by Cloudmesh in this project – Typically strong user role restrictions – users must belong to a particular project – Can implement a Planetlab like environment by contributing hardware that can be generally used with bare-metal provisioning
  • 33. Lessons / Insights • Integrate (don’t compete) HPC with “Commodity Big data” (Google to Amazon to Enterprise Data Analytics) – i.e. improve Mahout; don’t compete with it – Use Hadoop plug-ins rather than replacing Hadoop • Enhanced Apache Big Data Stack HPC-ABDS has ~120 members • Opportunities at Resource management, Data/File, Streaming, Programming, monitoring, workflow layers for HPC and ABDS integration • Need to capture as services – developing a HPC-Cloud interoperability environment • Data intensive algorithms do not have the well developed high performance libraries familiar from HPC – Need to develop needed services at all levels of stack from users of Mahout to those developing better run time and programming environments

Editor's Notes

  • #25: A starting window allows to chose from the different functionality
  • #26: Yes Azure is also there, Our gui can easily handle searching for images , we can set defaults for each cloud (images & flavors), pressing the + button will give us a new server with the specified defaults
  • #27: Cloudmesh provides more than shell commands it has an integrated shell