...
- follow instruction http://archive.cloudera.com/docs/ec2.html
- Item 2.1 . I uploaded 3 tar files: 'client script', 'boto', and 'simplejson'.
- Un-tarred all 3: tar vzxf ....
- execute twice , in 'boto' , and 'simplejson' directories
Code Block sudo python setup.py install
- exported by hand environment variables
AWS_ACCESS_KEY_ID - Your AWS Access Key ID
AWS_SECRET_ACCESS_KEY - Your AWS Secret Access Key - create a directory called .hadoop-ec2 w/ file ec2-clusters.cfg with content:
Code Block [my-hadoop-cluster] ami=ami-6159bf08 instance_type=c1.medium key_name=janAmazonKey availability_zone=us-east-1c private_key=/home/training/ ssh_options=-i %(private_key)s -o StrictHostKeyChecking=no
- filer a cluster of 1 server+2 nodes
cd ~/Desktop/cloudera-for-hadoop-on-ec2-py-0.3.0-beta
./hadoop-ec2 launch-cluster my-hadoop-cluster 2
- Item 2.1 . I uploaded 3 tar files: 'client script', 'boto', and 'simplejson'.
...