Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.13.0, 0.13.1, 0.14.0, 0.15.0
-
None
Description
The keypair name is hardcoded as 'gsg-keypair' on the
"""
OUTPUT=`ec2-run-instances $AMI_IMAGE -k gsg-keypair`
"""
line in 'create-hadoop-image'. And again on the
"""
RUN_INSTANCES_OUTPUT=`ec2-run-instances $AMI_IMAGE -n $NO_INSTANCES -g $GROUP -k $KEY_NAME -d "$NO_INSTANCES,$MASTER_HOST" | grep INSTANCE | awk '
"""
line in 'launch-hadoop-cluster'.
The lines should read
"""
OUTPUT=`ec2-run-instances $AMI_IMAGE -k $KEY_NAME`
"""
and
"""
RUN_INSTANCES_OUTPUT=`ec2-run-instances $AMI_IMAGE -n $NO_INSTANCES -g $GROUP -k $KEY_NAME -d "$NO_INSTANCES,$MASTER_HOST" | grep INSTANCE | awk '{print $2}
'`
"""
respectively.