HBASE-1961 EC2 scripts; feedback from Seth Ladd

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@887619 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Kyle Purtell 2009-12-06 00:31:36 +00:00
parent 2c913363ac
commit b571ae532d
2 changed files with 4 additions and 2 deletions

View File

@ -42,7 +42,9 @@ Quick Start:
with 'cert' and end with '.pem'.
Make sure the private part of your AWS SSH keypair exists in the same
directory as EC2_PRIVATE_KEY with the name id_rsa_root.
directory as EC2_PRIVATE_KEY with the name id_rsa_root. Also, insure that
the permissions on the private key file are 600 (ONLY owner readable/
writable).
4) ./bin/hbase-ec2 launch-cluster <name> <nr-zoos> <nr-slaves>, e.g

View File

@ -88,7 +88,7 @@ while true; do
sleep 5
done
scp $SSH_OPTS $PRIVATE_KEY_PATH "root@$MASTER_EC2_HOST:/root/.ssh/id_rsa"
scp $SSH_OPTS $EC2_ROOT_SSH_KEY "root@$MASTER_EC2_HOST:/root/.ssh/id_rsa"
ssh $SSH_OPTS "root@$MASTER_EC2_HOST" "chmod 600 /root/.ssh/id_rsa"
MASTER_IP=`dig +short $MASTER_EC2_HOST`