whirr devdown
DESCRIPTION
CHaTRANSCRIPT
![Page 1: Whirr devdown](https://reader033.vdocuments.us/reader033/viewer/2022052820/54813af1b4af9fea158b5ea2/html5/thumbnails/1.jpg)
Clustered Services with Apache Whirr: From Ops Down
Chad Metcalf@metcalfcCloudera
![Page 2: Whirr devdown](https://reader033.vdocuments.us/reader033/viewer/2022052820/54813af1b4af9fea158b5ea2/html5/thumbnails/2.jpg)
The Big Picture
![Page 3: Whirr devdown](https://reader033.vdocuments.us/reader033/viewer/2022052820/54813af1b4af9fea158b5ea2/html5/thumbnails/3.jpg)
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](https://reader033.vdocuments.us/reader033/viewer/2022052820/54813af1b4af9fea158b5ea2/html5/thumbnails/4.jpg)
What Does It Do?
![Page 5: Whirr devdown](https://reader033.vdocuments.us/reader033/viewer/2022052820/54813af1b4af9fea158b5ea2/html5/thumbnails/5.jpg)
How?
![Page 6: Whirr devdown](https://reader033.vdocuments.us/reader033/viewer/2022052820/54813af1b4af9fea158b5ea2/html5/thumbnails/6.jpg)
Why Use It?
![Page 7: Whirr devdown](https://reader033.vdocuments.us/reader033/viewer/2022052820/54813af1b4af9fea158b5ea2/html5/thumbnails/7.jpg)
Developer Way
![Page 8: Whirr devdown](https://reader033.vdocuments.us/reader033/viewer/2022052820/54813af1b4af9fea158b5ea2/html5/thumbnails/8.jpg)
Operator Way
![Page 9: Whirr devdown](https://reader033.vdocuments.us/reader033/viewer/2022052820/54813af1b4af9fea158b5ea2/html5/thumbnails/9.jpg)
Fortify with Puppet
+puppet:ntp+puppet:pig+puppet:hive+puppet:demo::users
![Page 10: Whirr devdown](https://reader033.vdocuments.us/reader033/viewer/2022052820/54813af1b4af9fea158b5ea2/html5/thumbnails/10.jpg)
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](https://reader033.vdocuments.us/reader033/viewer/2022052820/54813af1b4af9fea158b5ea2/html5/thumbnails/11.jpg)
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](https://reader033.vdocuments.us/reader033/viewer/2022052820/54813af1b4af9fea158b5ea2/html5/thumbnails/12.jpg)
puppet apply
node default {
class {'ntp': servers => [ '0.pool.ntp.org' ], autoupdate => true, } class { 'pig': } class { 'hive': } class { 'demo::users': }}
![Page 13: Whirr devdown](https://reader033.vdocuments.us/reader033/viewer/2022052820/54813af1b4af9fea158b5ea2/html5/thumbnails/13.jpg)
Masterless
![Page 14: Whirr devdown](https://reader033.vdocuments.us/reader033/viewer/2022052820/54813af1b4af9fea158b5ea2/html5/thumbnails/14.jpg)
One Shot
![Page 15: Whirr devdown](https://reader033.vdocuments.us/reader033/viewer/2022052820/54813af1b4af9fea158b5ea2/html5/thumbnails/15.jpg)
Test Locally
![Page 16: Whirr devdown](https://reader033.vdocuments.us/reader033/viewer/2022052820/54813af1b4af9fea158b5ea2/html5/thumbnails/16.jpg)
Demo
![Page 17: Whirr devdown](https://reader033.vdocuments.us/reader033/viewer/2022052820/54813af1b4af9fea158b5ea2/html5/thumbnails/17.jpg)
Whats Next?
![Page 18: Whirr devdown](https://reader033.vdocuments.us/reader033/viewer/2022052820/54813af1b4af9fea158b5ea2/html5/thumbnails/18.jpg)
Questions?