You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Gary Dusbabek (JIRA)" <ji...@apache.org> on 2010/10/29 15:04:20 UTC

[jira] Commented: (CASSANDRA-1669) Pluggable SeedProvider

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

Gary Dusbabek commented on CASSANDRA-1669:
------------------------------------------

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.