You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2009/12/06 01:31:37 UTC
svn commit: r887619 - in /hadoop/hbase/trunk/src/contrib/ec2: README.txt
bin/launch-hbase-master
Author: apurtell
Date: Sun Dec 6 00:31:36 2009
New Revision: 887619
URL: http://svn.apache.org/viewvc?rev=887619&view=rev
Log:
HBASE-1961 EC2 scripts; feedback from Seth Ladd
Modified:
hadoop/hbase/trunk/src/contrib/ec2/README.txt
hadoop/hbase/trunk/src/contrib/ec2/bin/launch-hbase-master
Modified: hadoop/hbase/trunk/src/contrib/ec2/README.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/contrib/ec2/README.txt?rev=887619&r1=887618&r2=887619&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/contrib/ec2/README.txt (original)
+++ hadoop/hbase/trunk/src/contrib/ec2/README.txt Sun Dec 6 00:31:36 2009
@@ -42,7 +42,9 @@
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
Modified: hadoop/hbase/trunk/src/contrib/ec2/bin/launch-hbase-master
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/contrib/ec2/bin/launch-hbase-master?rev=887619&r1=887618&r2=887619&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/contrib/ec2/bin/launch-hbase-master (original)
+++ hadoop/hbase/trunk/src/contrib/ec2/bin/launch-hbase-master Sun Dec 6 00:31:36 2009
@@ -88,7 +88,7 @@
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`