You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2010/10/27 23:13:19 UTC

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

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
             Fix For: 0.7.1


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.


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

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12933798#action_12933798 ] 

Hudson commented on CASSANDRA-1669:
-----------------------------------

Integrated in Cassandra #601 (See [https://hudson.apache.org/hudson/job/Cassandra/601/])
    update sample config for SeedProvider. patch by gdusbabek, reviewed by jbellis. CASSANDRA-1669
SeedProvider interface and implementation replaces seeds in DD. patch by gdusbabek, reviewed by jbellis. CASSANDRA-1669
introduce seed_provider in config. patch by gdusbabek, reviewed by jbellis. CASSANDRA-1669


> 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.8
>
>         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.


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

Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926293#action_12926293 ] 

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

I'm fine with waiting.  I'd rather see the converter go away first.

> 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.


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

Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Issue Comment Edited: (CASSANDRA-1669) Pluggable SeedProvider

Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926285#action_12926285 ] 

Jonathan Ellis commented on CASSANDRA-1669:
-------------------------------------------

Default needs a comment that "seeds" is a comma-delimited list.

We should either update converter to generate SimpleSeedProvider lines or commit this to trunk only for now and backport to 0.7.1 after 0.7.0.

> 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.


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

Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Dusbabek reassigned CASSANDRA-1669:
----------------------------------------

    Assignee: Gary Dusbabek

> 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
>
>
> 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.


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

Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Dusbabek updated CASSANDRA-1669:
-------------------------------------

    Attachment: v1-0003-update-sample-config-for-SeedProvider.txt
                v1-0002-SeedProvider-interface-and-implementation-replaces-see.txt
                v1-0001-introduce-seed_provider-in-config.txt

> 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.


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

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-1669:
--------------------------------------

    Fix Version/s:     (was: 0.7.1)
                   0.8

let's commit to trunk for the next major release and ignore 0.7 until/unless someone is motivated enough to backport it and update converter.

> 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.8
>
>         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.