Fix trivial typeos in EC2 scripts
---------------------------------
Key: HADOOP-2709
URL: https://issues.apache.org/jira/browse/HADOOP-2709
Project: Hadoop Core
Issue Type: Bug
Components: contrib/ec2
Affects Versions: 0.15.2
Reporter: Jason
Fix For: 0.15.3
The ec2-run-instances needs a capital K not a lower case k flag.
Index: src/contrib/ec2/bin/create-hadoop-image
===================================================================
--- src/contrib/ec2/bin/create-hadoop-image (revision 608611)
+++ src/contrib/ec2/bin/create-hadoop-image (working copy)
@@ -11,7 +11,7 @@
AMI_IMAGE=`ec2-describe-images -a | grep fedora-core4-base | awk '{print $2}'`
echo "Starting a fedora core base AMI with ID $AMI_IMAGE."
-OUTPUT=`ec2-run-instances $AMI_IMAGE -k $KEY_NAME`
+OUTPUT=`ec2-run-instances $AMI_IMAGE -K $KEY_NAME`
BOOTING_INSTANCE=`echo $OUTPUT | awk '{print $6}'`
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.