[ https://issues.apache.org/jira/browse/CASSANDRA-7147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14049166#comment-14049166 ]
Michael Shuler commented on CASSANDRA-7147: ------------------------------------------- A test build of the cassandra-1.2 branch on Oracle JDK 1.6.0_45, after a quick {{$ rm src/java/org/apache/cassandra/locator/CloudstackSnitch.java test/unit/org/apache/cassandra/locator/CloudstackSnitchTest.java}} is successful. We'll set up the 1.2 branch to build on JDK 1.6 in jenkins shortly. > Add a new snitch for Apache Cloudstack platforms > ------------------------------------------------ > > Key: CASSANDRA-7147 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7147 > Project: Cassandra > Issue Type: Improvement > Components: Core > Environment: Virtual machine on Apache Cloudstack environments > Reporter: Pierre-Yves Ritschard > Assignee: Pierre-Yves Ritschard > Priority: Minor > Fix For: 1.2.17, 2.0.8, 2.1 rc1 > > Attachments: 0001-initial-work-on-a-cloudstack-snitch.patch > > > The attached patch adds a new Snitch that queries meta data for a host on > Apache Cloudstack environments. Since the metadata service is colocated with > the DHCP service in Cloudstack, common lease file locations are looked up to > retrieve. > Since zone naming is freeform in Apache Cloudstack, the widely used > <country>-<location>-<az> notation is assumed. > The patch includes a simple unit test and has been tested on exoscale.ch, a > public cloud based on Apache Cloudstack -- This message was sent by Atlassian JIRA (v6.2#6252)