Upload
maxime-lanciaux
View
281
Download
3
Embed Size (px)
Citation preview
1 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
Hadoop & DevOps : better togetherMaxime LanciauxDevOps System ArchitectFebruary 2017
2 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
3 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
AgendaAutomate & Speed up deployment
4 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
Automate & Speed up deployment
Continuous integration workflow
Dev + OpsSet of practices that emphasize the collaboration
and communication of both software developers and information technology professionals
while automating the process of software delivery and infrastructure changes.
Automate deployment with tools to ensure quality
5 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
Automate & Speed up deployment
Continuous integration + Build machine– Jenkins + Maven
Configuration management tool (Hadoop + non Hadoop tools)– Ambari + Ansible
Configuration management (configuration, projects, Jenkins pipeline)– Git
Big Data Platform + Database + reporting– HDP + PostgreSQL + Grafana + Zeppelin
Others– Custom log4J config, bash template, custom python scripts
Typical set of tool
You may want to use virtualization, containerization, continuous inspection, code collaboration tool as well
6 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
Automate & Speed up deploymentTypical Architecture
DN
DN
DN
MN
MN
Database
Reporting
Edge Node
Edge Node
Configuration Management
(Tag / Branches)
BuildAutomation
Continuous integration
(Parameter, template)
Configuration and Management platform
+
data
Configuration / workflow / tests
7 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
Automate & Speed up deploymentTypical Architecture
Database
ReportingConfiguration Management
BuildAutomation
Continuous integration
Configuration and Management platform
Dev + DR
Prod + Validation
+
8 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
Automate & Speed up deployment
Typical Organization HDFS directory for Dev, Validation, Production, Backup Hive databases and Kafka topics with naming convention HBase dedicated namespace YARN Capacity Scheduler with corresponding queue (Dev, Validation, Production) Ranger rules (Project, team, environment with groups)
All automatically created during init of project (On Dev by user, on Prod by admin)
9 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
Automate & Speed up deployment
On the Git side Codify everything Version everything Organize infrastructure as code
10 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
AgendaAutomate & Speed up deployment
Enforce testing and quality
11 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
Enforce testing and quality
Use of multi-tenant (1+n) Hadoop clusters– Which means naming convention and parameter / security
Environments / Context
12 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
Enforce testing and quality
Use of multi-tenant Hadoop cluster– Which means naming convention and parameter / security
Environments / Context
Dev Prex Prod Dev Dev
13 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
Enforce testing and quality
Use of multi-tenant Hadoop cluster– Which means naming convention and parameter / security
Environments / Context
14 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
Enforce testing and quality
Use of multi-tenant Hadoop cluster– Which means naming convention and parameter / security
Environments / Context
15 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
Enforce testing and quality
Hadoop logs Monitoring of full stacks component Application logs Evolution of performance Code review with or without tools Test are include in the bundle (for non-reg)
Massive use of Pareto
16 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
AgendaAutomate & Speed up deployment
Enforce testing and quality
Protect your enterprise asset
17 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
Environments Configuration management Automation Impact analysis 5W
Protect your enterprise asset
Protect your enterprise asset Your company
TMA #1 TMA #2 TMA #n
DevOps
18 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
AgendaAutomate & Speed up deployment
Enforce testing and quality
Protect your enterprise asset
Ease Hadoop migration
19 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
Install, configure and deploy All test to be schedule / run Follow performance evolution Can be as easy as configuring access to a new edge node + configuration / password /
SSH / certificates / security Multi-component environments
Ease Hadoop migration
A lovely hand
20 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
AgendaAutomate & Speed up deployment
Enforce testing and quality
Protect your enterprise asset
Ease Hadoop migration
Empower Administrator and Developer
21 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
Developer to get a better feedback on their application Administrator to check / push back best practices Numerous action to be completely automated (ssh) Focus more high level task, with direct access to information Get directly access to template (no need to reinvent the wheels)
Empower Administrator and Developer
Same tools, same discussion
22 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
AgendaAutomate & Speed up deployment
Enforce testing and quality
Protect your enterprise asset
Ease Hadoop migration
Empower Administrator and Developer
With full monitoring for Human
23 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
With full monitoring for human
Per project, per environment, per Hadoop cluster or on all of them
24 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
With full monitoring for human
Per project, per environment, per Hadoop cluster or on all of them
25 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
With full monitoring for human
Per project, per environment, per Hadoop cluster or on all of them
26 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
AgendaAutomate & Speed up deployment
Enforce testing and quality
Protect your enterprise asset
Ease Hadoop migration
Empower Administrator and Developer
With full monitoring for Human
Demo
27 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
We are Recruiting !Email me :[email protected]
28 © Hortonworks Inc. 2011 – 2016. All Rights Reserved
Thank You