cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albert P Tobey (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-8873) Add PropertySeedProvider
Date Thu, 26 Feb 2015 23:39:05 GMT
Albert P Tobey created CASSANDRA-8873:
-----------------------------------------

             Summary: Add PropertySeedProvider
                 Key: CASSANDRA-8873
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8873
             Project: Cassandra
          Issue Type: New Feature
          Components: Core
            Reporter: Albert P Tobey
            Priority: Minor
         Attachments: PropertySeedProvider.java

Add a PropertySeedProvider that allows administrators to set a seed on the command line with
-Dcassandra.seeds=127.0.0.1,127.0.0.2 instead of rewriting cassandra.yaml.

It looks like the yaml parser expects there to always be a parameters: option on seeds, so
unless we change it to be optional, there needs to be a dummy map or the yaml will not parse,
e.g.

seed_provider:
    - class_name: org.apache.cassandra.locator.PropertySeedProvider
      parameters:
          - stub: "this is required for the yaml parser and is ignored"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message