Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 43675 invoked from network); 3 Jan 2011 21:10:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Jan 2011 21:10:11 -0000 Received: (qmail 82635 invoked by uid 500); 3 Jan 2011 21:10:11 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 82610 invoked by uid 500); 3 Jan 2011 21:10:11 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 82602 invoked by uid 99); 3 Jan 2011 21:10:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jan 2011 21:10:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jan 2011 21:10:09 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p03L9luM019852 for ; Mon, 3 Jan 2011 21:09:48 GMT Message-ID: <25121526.118251294088987606.JavaMail.jira@thor> Date: Mon, 3 Jan 2011 16:09:47 -0500 (EST) From: "Brandon Williams (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Updated: (CASSANDRA-1654) EC2Snitch In-Reply-To: <16530588.38831287809961488.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-1654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brandon Williams updated CASSANDRA-1654: ---------------------------------------- Attachment: 1654-v4.txt v4 fixes the NPE caused by the node asking the snitch for its own dc/rack info, which of course is not in gossip. > EC2Snitch > --------- > > Key: CASSANDRA-1654 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1654 > Project: Cassandra > Issue Type: New Feature > Components: Core > Reporter: Jonathan Ellis > Assignee: Brandon Williams > Fix For: 0.7.1 > > Attachments: 1654-cassandra-0.7-v3.txt, 1654-incomplete.txt, 1654-v2.txt, 1654-v4.txt, 1654.txt > > > This will be a snitch extending AbstractNetworkTopologySnitch that pulls DC from instance metadata placement_availability_zone. > I don't think we can get rack information so the choice is between picking something unique-per-machine to be the rack or assigning everything in the DC the same rack. Second seems easier, so let's use placement_availability_zone for rack, too. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.