Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.1.0
    • Fix Version/s: 0.2.0
    • Component/s: core
    • Labels:
      None

      Description

      There are reported problems with Lucid on EC2 (see https://bugs.launchpad.net/ubuntu-on-ec2/+bug/574910). We should change the default, perhaps to an Amazon Linux AMI (http://aws.amazon.com/amazon-linux-ami/).

      1. WHIRR-97.patch
        4 kB
        Tom White
      2. WHIRR-97.patch
        27 kB
        Tom White
      3. WHIRR-97.patch
        25 kB
        Tom White

        Issue Links

          Activity

          Hide
          Tom White added a comment -

          An initial patch for the scripts to run on Centos (or an Amazon Linux AMI). Still need to select the relevant AMI, but probably need WHIRR-66 first.

          Show
          Tom White added a comment - An initial patch for the scripts to run on Centos (or an Amazon Linux AMI). Still need to select the relevant AMI, but probably need WHIRR-66 first.
          Hide
          Tom White added a comment -

          How to use additional yum repos (needed for thttpd service in Hadoop): http://developer.amazonwebservices.com/connect/thread.jspa?threadID=51574&tstart=0

          Show
          Tom White added a comment - How to use additional yum repos (needed for thttpd service in Hadoop): http://developer.amazonwebservices.com/connect/thread.jspa?threadID=51574&tstart=0
          Hide
          Tom White added a comment -

          This patch changes to use the Amazon Linux AMI on EC2. All integration tests pass, with Cassandra and ZooKeeper using micro instances, and Hadoop using small instances (there was not enough memory on micro). I also incorporated the changes from WHIRR-69, since they are very closely related to this change.

          Show
          Tom White added a comment - This patch changes to use the Amazon Linux AMI on EC2. All integration tests pass, with Cassandra and ZooKeeper using micro instances, and Hadoop using small instances (there was not enough memory on micro). I also incorporated the changes from WHIRR-69 , since they are very closely related to this change.
          Hide
          Adrian Cole added a comment -

          I'd leave out the following in TemplateBuilderStrategy:

          + if ("ec2".equals(clusterSpec.getProvider()))

          { + templateBuilder.osFamily(AMZN_LINUX); + }

          else

          { + // fall back to a recent Ubuntu image + templateBuilder.osFamily(UBUNTU); + }

          AMZN_LINUX is already the default in ec2, and UBUNTU is not universally available (ex. gogrid). I'd recommend just leaving things default if the user didn't specify an ami.

          Besides this, the tests work fine!

          Show
          Adrian Cole added a comment - I'd leave out the following in TemplateBuilderStrategy: + if ("ec2".equals(clusterSpec.getProvider())) { + templateBuilder.osFamily(AMZN_LINUX); + } else { + // fall back to a recent Ubuntu image + templateBuilder.osFamily(UBUNTU); + } AMZN_LINUX is already the default in ec2, and UBUNTU is not universally available (ex. gogrid). I'd recommend just leaving things default if the user didn't specify an ami. Besides this, the tests work fine!
          Hide
          Tom White added a comment -

          Good point - here's a new patch with those lines removed. Tests pass.

          Show
          Tom White added a comment - Good point - here's a new patch with those lines removed. Tests pass.
          Hide
          Tom White added a comment -

          I've just committed this.

          Show
          Tom White added a comment - I've just committed this.

            People

            • Assignee:
              Tom White
              Reporter:
              Tom White
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development