Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-4026

EC2 snitch incorrectly reports regions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.0.9, 1.1.0
    • None
    • None
    • Ubuntu 10.10 64 bit Oracle Java 6

    • Normal

    Description

      Currently the org.apache.cassandra.locator.Ec2Snitch reports "us-west" in both the oregon and the california data centers. This is incorrect, since they are different regions.

      California => us-west-1
      Oregon => us-west-2

      wget http://169.254.169.254/latest/meta-data/placement/availability-zone returns the value "us-west-2a"

      After parsing this returns

      DC = us-west Rack = 2a

      What it should return

      DC = us-west-2 Rack = a

      This makes it possible to use multi region when both regions are in the west coast.

      Attachments

        Issue Links

          Activity

            People

              vijay2win@yahoo.com Vijay
              tnine Todd Nine
              Vijay
              Brandon Williams
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: