cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Capriolo (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-12627) Provide new seed providers
Date Sat, 05 Nov 2016 00:35:58 GMT


Edward Capriolo commented on CASSANDRA-12627:

I am a bit confused. I am looking at the code you are sending me here:
 String priamSeeds = DataFetcher.fetchData("");
            for (String seed : priamSeeds.split(","))

With the feature I am proposing you can replace that with:

CASSANDRA_SEED_LIST=`wget` bin/cassandra

You could also do

CASSANDRA_SEED_LIST=`dig -t txt` bin/cassandra

Doesn't this seem extremely useful and straight forward?

> Provide new seed providers
> --------------------------
>                 Key: CASSANDRA-12627
>                 URL:
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Edward Capriolo
>            Assignee: Edward Capriolo
> SeedProvider is plugable, however only one implementation exists.
> Changes:
> * Create a SeedProvider that reads properties from System properties or env
> * Provide a SeedProvider that scans ranges of IP addresses to find peers.
> * Refactor interface to abstract class because all seed providers must provide a constructor
that accepts Map<String,String> 
> * correct error messages
> * Do not catch Exception use MultiCatch and catch typed exceptions

This message was sent by Atlassian JIRA

View raw message