18
Clustered Services with Apache Whirr: From Ops Down Chad Metcalf @metcalfc Cloudera

Whirr devdown

Embed Size (px)

DESCRIPTION

CHa

Citation preview

Page 1: Whirr devdown

Clustered Services with Apache Whirr: From Ops Down

Chad Metcalf@metcalfcCloudera

Page 2: Whirr devdown

The Big Picture

Page 3: Whirr devdown

6 Node Hadoop Cluster

# Change the cluster name herewhirr.cluster-name=hadoop

# Change the number of machines in the cluster herewhirr.instance-templates=1 hadoop-namenode+hadoop-jobtracker,5 hadoop-datanode+hadoop-tasktracker

Page 4: Whirr devdown

What Does It Do?

Page 5: Whirr devdown

How?

Page 6: Whirr devdown

Why Use It?

Page 7: Whirr devdown

Developer Way

Page 8: Whirr devdown

Operator Way

Page 9: Whirr devdown

Fortify with Puppet

+puppet:ntp+puppet:pig+puppet:hive+puppet:demo::users

Page 10: Whirr devdown

Modules

# Gitpuppet.pig.module= git://github.com/metcalfc/puppet-pig.git

# With branchpuppet.ntp.module= git://github.com/metcalfc/puppet-ntp.gitpuppet.ntp.module.branch=puppetconf2011

# Tarballpuppet.demo.module=/tmp/demo.tgz

Page 11: Whirr devdown

Manifests

# Default+puppet:pig

# Specific Class+puppet:demo::users

# Parameterized Class+puppet:ntpntp.servers=[ '0.pool.ntp.org' ]ntp.autoupdate=true

Page 12: Whirr devdown

puppet apply

node default {

class {'ntp': servers => [ '0.pool.ntp.org' ], autoupdate => true, } class { 'pig': } class { 'hive': } class { 'demo::users': }}

Page 13: Whirr devdown

Masterless

Page 14: Whirr devdown

One Shot

Page 15: Whirr devdown

Test Locally

Page 16: Whirr devdown

Demo

Page 17: Whirr devdown

Whats Next?

Page 18: Whirr devdown

Questions?