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

Fix trivial typeos in EC2 scripts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 0.15.3
    • None
    • contrib/cloud
    • None

    Description

      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}

      '`

      Attachments

        Activity

          People

            Unassigned Unassigned
            jason_attributor Jason
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified