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

Gary Dusbabek edited comment on CASSANDRA-1669 at 10/29/10 9:03 AM:
--------------------------------------------------------------------

seed providers would be configured like this in the yaml:
{code}
seed_provider:
    - class_name: org.apache.cassandra.locator.SimpleSeedProvider
      parameters:
          - seeds: "127.0.0.1"
{code}

All you need to do is change the classname and parameters.  Impls must 
implement a constructor that accepts Map<String, String>.

      was (Author: gdusbabek):
    seed providers would be configured like this in the yaml:

seed_provider:
    - class_name: org.apache.cassandra.locator.SimpleSeedProvider
      parameters:
          - seeds: "127.0.0.1"

All you need to do is change the classname and parameters.  Impls must 
implement a constructor that accepts Map<String, String>.
  
> Pluggable SeedProvider
> ----------------------
>
>                 Key: CASSANDRA-1669
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1669
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Gary Dusbabek
>             Fix For: 0.7.1
>
>         Attachments: v1-0001-introduce-seed_provider-in-config.txt, 
> v1-0002-SeedProvider-interface-and-implementation-replaces-see.txt, 
> v1-0003-update-sample-config-for-SeedProvider.txt
>
>
> Currently Cassandra is hardcoded to read the seeds from the configuration 
> file.  We should make this pluggable via an interface (similar to how the 
> Snitch is) for environments where getting these from a web service (for 
> instance) is more natural.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to