Created
June 27, 2013 17:23
-
-
Save mmm/5878432 to your computer and use it in GitHub Desktop.
some simple juju commands to deploy hadoop and ganglia
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# hadoop | |
juju deploy hadoop hadoop-master | |
juju deploy hadoop hadoop-slave -n12 | |
juju add-relation hadoop-master:namenode hadoop-slave:datanode | |
juju add-relation hadoop-master:jobtracker hadoop-slave:tasktracker | |
# instrument hadoop-slave | |
juju deploy ganglia-node | |
juju add-relation hadoop-slave ganglia-node | |
# ganglia | |
juju deploy ganglia | |
juju add-relation ganglia ganglia-node | |
# watch it happen | |
juju expose ganglia | |
juju expose hadoop-master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment