Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1635

Keypair Name Hardcoded

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.13.0, 0.13.1, 0.14.0, 0.15.0
    • 0.14.0
    • contrib/cloud
    • 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 '

      {print $2}'`
      """
      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.

      Attachments

        1. hadoop-1635.patch
          2 kB
          Stu Hood

        Activity

          People

            Unassigned Unassigned
            stuhood Stu Hood
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: