You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 32 Next »

Quickly Launch A Hama Cluster In Cloud Using Whirr

% export AWS_ACCESS_KEY_ID=YOUR_ID
% export AWS_SECRET_ACCESS_KEY=YOUR_SECKEY
% ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa_whirr
// Launch a Hama cluster on EC2
% bin/whirr launch-cluster --config recipes/hama-ec2.properties --private -key-file ~/.ssh/id_rsa_whirr

...
Namenode web UI available at http://ec2-184-73-29-237.compute-1.amazonaws.com:50070
Jobtracker web UI available at http://ec2-184-73-29-237.compute-1.amazonaws.com:50030
Wrote Hadoop site file /home/edward/.whirr/hama/hadoop-site.xml
Wrote Hadoop proxy script /home/edward/.whirr/hama/hadoop-proxy.sh
Completed configuration of hama
BSPMaster web UI available at http://ec2-184-73-29-237.compute-1.amazonaws.com:40013
Wrote Hama site file /home/edward/.whirr/hama/hama-site.xml
Wrote Hama proxy script /home/edward/.whirr/hama/hama-proxy.sh
Wrote instances file /home/edward/.whirr/hama/instances
Started cluster of 6 instances
...

// Destroy
% bin/whirr destroy-cluster --config recipes/hama-ec2.properties
  • No labels