[
https://issues.apache.org/jira/browse/HADOOP-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472903
]
James P. White commented on HADOOP-952:
---------------------------------------
I've applied the v3 patch and tried out the new AMI which successfully ran the
"pi" example.
Had some trouble getting the SSH settings right again. I need env.sh to look
like this:
# Location of EC2 keys.
# The default setting is probably OK if you set up EC2 following the Amazon
Getting Started guide.
EC2_KEYDIR=`dirname "$EC2_PRIVATE_KEY"`
# The EC2 key name used to launch instances.
# The default is the value used in the Amazon Getting Started guide.
KEY_NAME=gsg-keypair
# Where your EC2 private key is stored (created when following the Amazon
Getting Started guide).
PRIVATE_KEY_PATH=`echo "$EC2_KEYDIR"/"id_rsa-$KEY_NAME"`
# SSH options used when connecting to EC2 instances.
SSH_OPTS=`echo -i "$PRIVATE_KEY_PATH" -o StrictHostKeyChecking=no`
The reason for the 'echo ...` business is that I need paths with embedded
spaces to work.
Also I really think 'run-hadoop-cluster' should be split in two. The part
where it waits for DynDNS to be set up should simply end and have the second
part be a seperate script. A user with a new set up would also be advised to
run "login-hadoop-cluster" before running the second part to verify the
settings.
> Create a public (shared) Hadoop EC2 AMI
> ---------------------------------------
>
> Key: HADOOP-952
> URL: https://issues.apache.org/jira/browse/HADOOP-952
> Project: Hadoop
> Issue Type: Improvement
> Components: scripts
> Affects Versions: 0.11.0
> Reporter: Tom White
> Assigned To: Tom White
> Attachments: hadoop-952-v2.patch, hadoop-952-v3.patch,
> hadoop-952.patch
>
>
> HADOOP-884 makes it easy to run Hadoop on an EC2 cluster, but building an AMI
> (Abstract Machine Image) can take a little while. Amazon EC2 supports shared
> AMIs
> (http://developer.amazonwebservices.com/connect/entry.jspa?entryID=530&ref=featured),
> so we could provide publically available AMIs for each Hadoop release.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.