You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jason Brown (JIRA)" <ji...@apache.org> on 2013/01/14 14:36:12 UTC

[jira] [Comment Edited] (CASSANDRA-5155) Make Ec2Region's datacenter name configurable

    [ https://issues.apache.org/jira/browse/CASSANDRA-5155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13552651#comment-13552651 ] 

Jason Brown edited comment on CASSANDRA-5155 at 1/14/13 1:35 PM:
-----------------------------------------------------------------

This change simply appends a string to the end of the EC2 region name. It piggybacks off the conf/cassandra-rackdc.properties file (I didn't think this required a new config file).

This patch only appends to create a unique datacenter name, however, I"m not sure how extensible function needs to be.
                
      was (Author: jasobrown):
    This is a simple change that simply appends a string to the end of the EC2 region name. It piggybacks off the conf/cassandra-rackdc.properties file (I didn't think this required a new config file).

This patch only appends to create a unique datacenter name, however, I"m not sure how extensible function needs to be.
                  
> Make Ec2Region's datacenter name configurable
> ---------------------------------------------
>
>                 Key: CASSANDRA-5155
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5155
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.1.8, 1.2.0
>            Reporter: Jason Brown
>            Assignee: Jason Brown
>            Priority: Minor
>         Attachments: 0001-allow-Ec2Region-s-datacenter-name-to-be-configurable.patch
>
>
> Ec2Region sets a one-to-one mapping between the EC2 region name and the datacenter name. I'd like to be able to make the DC name configurable.
> The use case here is running DataStax Enterprise in EC2 and the need to have a plain c* datacenter and a c*/solr cluster datacenter running within the same region (for the same cluster). Can't make the two (or more) datacenters in the region with the one-to-one mapping of EC2 region to c* DC.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira