You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Todd Blose (JIRA)" <ji...@apache.org> on 2010/04/16 07:51:24 UTC

[jira] Created: (CASSANDRA-990) Replace cassandra.xml with cassandra.yaml

Replace cassandra.xml with cassandra.yaml
-----------------------------------------

                 Key: CASSANDRA-990
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-990
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
    Affects Versions: 0.7
            Reporter: Todd Blose
            Assignee: Todd Blose
         Attachments: CASSANDRA-990.patch

This is an entire rewrite of the XML storage configuration to YAML, inspired by the discussion in CASSANDRA-671.

DatabaseDescriptor now parses conf/cassandra.yaml. It behaves the same way as before, but instead of dealing with an XML parse tree, a yaml parser is now created that associates a custom Java class with the entire config (Config). In addition, keyspace and column family YAML entries are deserialized to KSMetaData and CFMetaData instances, respectively.

This was implemented using SnakeYaml (http://code.google.com/p/snakeyaml/).

There are numerous benefits to this new approach: 1) a complete shifting away from an outdated, verbose data format 2) a cleaner, less bulky, human-readable config 3) significantly less code 4) simplicity of obtaining default values

Attached along with the patch are the replacement configurations for conf/cassandra.xml and test/conf/cassandra.xml, to emphasize the benefits of the transition, should the community approve of it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (CASSANDRA-990) Replace cassandra.xml with cassandra.yaml

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

Stu Hood commented on CASSANDRA-990:
------------------------------------

Looks like an interesting approach, thanks!

* We should add the comments that were in cassandra.xml to cassandra.yaml
* The CF/KSMetaData field renames are unnecessary, and sometimes incorrect
* Leave the CF/KSMetaData fields as final, to enforce immutability
* Not all of the fields that were added with config.Config were removed from DatabaseDescriptor
* DatabaseDescriptor still imports org.w3c.dom, org.xml.sax, and javax.xml (which might mean those dependencies weren't fully removed)
* The patch should remove all cassandra.xml copies
* The dependency on snakeyaml needs to be documented in lib/licenses/

I'm a little bit frightened about the migration path for existing users: to make this smooth, I think we might need to provide a way to convert existing xml config files to yaml, probably with a separate migration tool (in a separate ticket?).

> Replace cassandra.xml with cassandra.yaml
> -----------------------------------------
>
>                 Key: CASSANDRA-990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-990
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Todd Blose
>            Assignee: Todd Blose
>         Attachments: CASSANDRA-990.patch, cassandra.yaml, cassandra_yaml_w_comments.txt, test_conf_cassandra.yaml.txt
>
>
> This is an entire rewrite of the XML storage configuration to YAML, inspired by the discussion in CASSANDRA-671.
> DatabaseDescriptor now parses conf/cassandra.yaml. It behaves the same way as before, but instead of dealing with an XML parse tree, a yaml parser is now created that associates a custom Java class with the entire config (Config). In addition, keyspace and column family YAML entries are deserialized to KSMetaData and CFMetaData instances, respectively.
> This was implemented using SnakeYaml (http://code.google.com/p/snakeyaml/).
> There are numerous benefits to this new approach: 1) a complete shifting away from an outdated, verbose data format 2) a cleaner, less bulky, human-readable config 3) significantly less code 4) simplicity of obtaining default values
> Attached along with the patch are the replacement configurations for conf/cassandra.xml and test/conf/cassandra.xml, to emphasize the benefits of the transition, should the community approve of it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CASSANDRA-990) Replace cassandra.xml with cassandra.yaml

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

Todd Blose updated CASSANDRA-990:
---------------------------------

    Attachment: snakeyaml-1.6.jar

> Replace cassandra.xml with cassandra.yaml
> -----------------------------------------
>
>                 Key: CASSANDRA-990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-990
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Todd Blose
>            Assignee: Todd Blose
>         Attachments: CASSANDRA-990.patch, cassandra.yaml, cassandra_yaml_w_comments.txt, snakeyaml-1.6.jar, test_conf_cassandra.yaml.txt
>
>
> This is an entire rewrite of the XML storage configuration to YAML, inspired by the discussion in CASSANDRA-671.
> DatabaseDescriptor now parses conf/cassandra.yaml. It behaves the same way as before, but instead of dealing with an XML parse tree, a yaml parser is now created that associates a custom Java class with the entire config (Config). In addition, keyspace and column family YAML entries are deserialized to KSMetaData and CFMetaData instances, respectively.
> This was implemented using SnakeYaml (http://code.google.com/p/snakeyaml/).
> There are numerous benefits to this new approach: 1) a complete shifting away from an outdated, verbose data format 2) a cleaner, less bulky, human-readable config 3) significantly less code 4) simplicity of obtaining default values
> Attached along with the patch are the replacement configurations for conf/cassandra.xml and test/conf/cassandra.xml, to emphasize the benefits of the transition, should the community approve of it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CASSANDRA-990) Replace cassandra.xml with cassandra.yaml

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

Todd Blose updated CASSANDRA-990:
---------------------------------

    Attachment: cassandra_yaml_w_comments.txt

> Replace cassandra.xml with cassandra.yaml
> -----------------------------------------
>
>                 Key: CASSANDRA-990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-990
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Todd Blose
>            Assignee: Todd Blose
>         Attachments: CASSANDRA-990.patch, cassandra.yaml, cassandra_yaml_w_comments.txt, snakeyaml-1.6.jar, test_conf_cassandra.yaml.txt
>
>
> This is an entire rewrite of the XML storage configuration to YAML, inspired by the discussion in CASSANDRA-671.
> DatabaseDescriptor now parses conf/cassandra.yaml. It behaves the same way as before, but instead of dealing with an XML parse tree, a yaml parser is now created that associates a custom Java class with the entire config (Config). In addition, keyspace and column family YAML entries are deserialized to Keyspace and ColumnFamily instances, respectively.
> This was implemented using SnakeYaml (http://code.google.com/p/snakeyaml/).
> There are numerous benefits to this new approach: 1) a complete shifting away from an outdated, verbose data format 2) a cleaner, less bulky, human-readable config 3) significantly less code 4) simplicity of obtaining default values 5) the config, keyspaces, and column families may be easily loaded as custom Java classes; therefore, modifying their schema would be trivial
> Attached along with the patch are the replacement configurations for conf/cassandra.xml and test/conf/cassandra.xml, to emphasize the benefits of the transition, should the community approve of it. I included one version with comments and one without.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CASSANDRA-990) Replace cassandra.xml with cassandra.yaml

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

Todd Blose updated CASSANDRA-990:
---------------------------------

    Description: 
This is an entire rewrite of the XML storage configuration to YAML, inspired by the discussion in CASSANDRA-671.

DatabaseDescriptor now parses conf/cassandra.yaml. It behaves the same way as before, but instead of dealing with an XML parse tree, a yaml parser is now created that associates a custom Java class (Config) with the entire config. In addition, keyspace and column family YAML entries are deserialized to new Keyspace and ColumnFamily instances, respectively.

This was implemented using SnakeYaml (http://code.google.com/p/snakeyaml/).

There are numerous benefits to this new approach: 1) a complete shifting away from an outdated, verbose data format 2) a cleaner, less bulky, human-readable config 3) significantly less code 4) simplicity of obtaining default values 5) trivial to update the keyspace and column family schemas

Attached along with the patch are the replacement configurations for conf/cassandra.xml and test/conf/cassandra.xml, to emphasize the benefits of the transition, should the community approve of it. I included one version with comments and one without.

  was:
This is an entire rewrite of the XML storage configuration to YAML, inspired by the discussion in CASSANDRA-671.

DatabaseDescriptor now parses conf/cassandra.yaml. It behaves the same way as before, but instead of dealing with an XML parse tree, a yaml parser is now created that associates a custom Java class with the entire config (Config). In addition, keyspace and column family YAML entries are deserialized to Keyspace and ColumnFamily instances, respectively.

This was implemented using SnakeYaml (http://code.google.com/p/snakeyaml/).

There are numerous benefits to this new approach: 1) a complete shifting away from an outdated, verbose data format 2) a cleaner, less bulky, human-readable config 3) significantly less code 4) simplicity of obtaining default values 5) the config, keyspaces, and column families may be easily loaded as custom Java classes; therefore, modifying their schema would be trivial

Attached along with the patch are the replacement configurations for conf/cassandra.xml and test/conf/cassandra.xml, to emphasize the benefits of the transition, should the community approve of it. I included one version with comments and one without.


> Replace cassandra.xml with cassandra.yaml
> -----------------------------------------
>
>                 Key: CASSANDRA-990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-990
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Todd Blose
>            Assignee: Todd Blose
>         Attachments: CASSANDRA-990.patch, cassandra.yaml, cassandra_yaml_w_comments.txt, snakeyaml-1.6.jar, test_conf_cassandra.yaml.txt
>
>
> This is an entire rewrite of the XML storage configuration to YAML, inspired by the discussion in CASSANDRA-671.
> DatabaseDescriptor now parses conf/cassandra.yaml. It behaves the same way as before, but instead of dealing with an XML parse tree, a yaml parser is now created that associates a custom Java class (Config) with the entire config. In addition, keyspace and column family YAML entries are deserialized to new Keyspace and ColumnFamily instances, respectively.
> This was implemented using SnakeYaml (http://code.google.com/p/snakeyaml/).
> There are numerous benefits to this new approach: 1) a complete shifting away from an outdated, verbose data format 2) a cleaner, less bulky, human-readable config 3) significantly less code 4) simplicity of obtaining default values 5) trivial to update the keyspace and column family schemas
> Attached along with the patch are the replacement configurations for conf/cassandra.xml and test/conf/cassandra.xml, to emphasize the benefits of the transition, should the community approve of it. I included one version with comments and one without.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CASSANDRA-990) Replace cassandra.xml with cassandra.yaml

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

Todd Blose updated CASSANDRA-990:
---------------------------------

    Attachment: CASSANDRA-990.patch-2

Updating patch to be compatible with CASSANDRA-986.

> Replace cassandra.xml with cassandra.yaml
> -----------------------------------------
>
>                 Key: CASSANDRA-990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-990
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Todd Blose
>            Assignee: Todd Blose
>         Attachments: CASSANDRA-990.patch, CASSANDRA-990.patch-2, cassandra.yaml, cassandra_yaml_w_comments.txt, snakeyaml-1.6.jar, test_conf_cassandra.yaml.txt
>
>
> This is an entire rewrite of the XML storage configuration to YAML, inspired by the discussion in CASSANDRA-671.
> DatabaseDescriptor now parses conf/cassandra.yaml. It behaves the same way as before, but instead of dealing with an XML parse tree, a yaml parser is now created that associates a custom Java class (Config) with the entire config. In addition, keyspace and column family YAML entries are deserialized to new Keyspace and ColumnFamily instances, respectively.
> This was implemented using SnakeYaml (http://code.google.com/p/snakeyaml/).
> There are numerous benefits to this new approach: 1) a complete shifting away from an outdated, verbose data format 2) a cleaner, less bulky, human-readable config 3) significantly less code 4) simplicity of obtaining default values 5) trivial to update the keyspace and column family schemas
> Attached along with the patch are the replacement configurations for conf/cassandra.xml and test/conf/cassandra.xml, to emphasize the benefits of the transition, should the community approve of it. I included one version with comments and one without.

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


[jira] Updated: (CASSANDRA-990) Replace cassandra.xml with cassandra.yaml

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

Todd Blose updated CASSANDRA-990:
---------------------------------

    Attachment: CASSANDRA-990.patch-2

> Replace cassandra.xml with cassandra.yaml
> -----------------------------------------
>
>                 Key: CASSANDRA-990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-990
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Todd Blose
>            Assignee: Todd Blose
>         Attachments: CASSANDRA-990.patch, CASSANDRA-990.patch-2, cassandra.yaml, cassandra_yaml_w_comments.txt, snakeyaml-1.6.jar, test_conf_cassandra.yaml.txt
>
>
> This is an entire rewrite of the XML storage configuration to YAML, inspired by the discussion in CASSANDRA-671.
> DatabaseDescriptor now parses conf/cassandra.yaml. It behaves the same way as before, but instead of dealing with an XML parse tree, a yaml parser is now created that associates a custom Java class (Config) with the entire config. In addition, keyspace and column family YAML entries are deserialized to new Keyspace and ColumnFamily instances, respectively.
> This was implemented using SnakeYaml (http://code.google.com/p/snakeyaml/).
> There are numerous benefits to this new approach: 1) a complete shifting away from an outdated, verbose data format 2) a cleaner, less bulky, human-readable config 3) significantly less code 4) simplicity of obtaining default values 5) trivial to update the keyspace and column family schemas
> Attached along with the patch are the replacement configurations for conf/cassandra.xml and test/conf/cassandra.xml, to emphasize the benefits of the transition, should the community approve of it. I included one version with comments and one without.

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


[jira] Commented: (CASSANDRA-990) Replace cassandra.xml with cassandra.yaml

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

Todd Blose commented on CASSANDRA-990:
--------------------------------------

Thanks, Stu. Updated patch per your suggestions.

> Replace cassandra.xml with cassandra.yaml
> -----------------------------------------
>
>                 Key: CASSANDRA-990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-990
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Todd Blose
>            Assignee: Todd Blose
>         Attachments: CASSANDRA-990.patch, cassandra.yaml, cassandra_yaml_w_comments.txt, snakeyaml-1.6.jar, test_conf_cassandra.yaml.txt
>
>
> This is an entire rewrite of the XML storage configuration to YAML, inspired by the discussion in CASSANDRA-671.
> DatabaseDescriptor now parses conf/cassandra.yaml. It behaves the same way as before, but instead of dealing with an XML parse tree, a yaml parser is now created that associates a custom Java class with the entire config (Config). In addition, keyspace and column family YAML entries are deserialized to KSMetaData and CFMetaData instances, respectively.
> This was implemented using SnakeYaml (http://code.google.com/p/snakeyaml/).
> There are numerous benefits to this new approach: 1) a complete shifting away from an outdated, verbose data format 2) a cleaner, less bulky, human-readable config 3) significantly less code 4) simplicity of obtaining default values
> Attached along with the patch are the replacement configurations for conf/cassandra.xml and test/conf/cassandra.xml, to emphasize the benefits of the transition, should the community approve of it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CASSANDRA-990) Replace cassandra.xml with cassandra.yaml

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

Todd Blose updated CASSANDRA-990:
---------------------------------

    Attachment: test_conf_cassandra.yaml.txt

> Replace cassandra.xml with cassandra.yaml
> -----------------------------------------
>
>                 Key: CASSANDRA-990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-990
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Todd Blose
>            Assignee: Todd Blose
>         Attachments: CASSANDRA-990.patch, cassandra.yaml, test_conf_cassandra.yaml.txt
>
>
> This is an entire rewrite of the XML storage configuration to YAML, inspired by the discussion in CASSANDRA-671.
> DatabaseDescriptor now parses conf/cassandra.yaml. It behaves the same way as before, but instead of dealing with an XML parse tree, a yaml parser is now created that associates a custom Java class with the entire config (Config). In addition, keyspace and column family YAML entries are deserialized to KSMetaData and CFMetaData instances, respectively.
> This was implemented using SnakeYaml (http://code.google.com/p/snakeyaml/).
> There are numerous benefits to this new approach: 1) a complete shifting away from an outdated, verbose data format 2) a cleaner, less bulky, human-readable config 3) significantly less code 4) simplicity of obtaining default values
> Attached along with the patch are the replacement configurations for conf/cassandra.xml and test/conf/cassandra.xml, to emphasize the benefits of the transition, should the community approve of it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CASSANDRA-990) Replace cassandra.xml with cassandra.yaml

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

Todd Blose updated CASSANDRA-990:
---------------------------------

    Attachment: CASSANDRA-990.patch

> Replace cassandra.xml with cassandra.yaml
> -----------------------------------------
>
>                 Key: CASSANDRA-990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-990
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Todd Blose
>            Assignee: Todd Blose
>         Attachments: CASSANDRA-990.patch
>
>
> This is an entire rewrite of the XML storage configuration to YAML, inspired by the discussion in CASSANDRA-671.
> DatabaseDescriptor now parses conf/cassandra.yaml. It behaves the same way as before, but instead of dealing with an XML parse tree, a yaml parser is now created that associates a custom Java class with the entire config (Config). In addition, keyspace and column family YAML entries are deserialized to KSMetaData and CFMetaData instances, respectively.
> This was implemented using SnakeYaml (http://code.google.com/p/snakeyaml/).
> There are numerous benefits to this new approach: 1) a complete shifting away from an outdated, verbose data format 2) a cleaner, less bulky, human-readable config 3) significantly less code 4) simplicity of obtaining default values
> Attached along with the patch are the replacement configurations for conf/cassandra.xml and test/conf/cassandra.xml, to emphasize the benefits of the transition, should the community approve of it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CASSANDRA-990) Replace cassandra.xml with cassandra.yaml

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

Todd Blose updated CASSANDRA-990:
---------------------------------

    Attachment: CASSANDRA-990.patch

> Replace cassandra.xml with cassandra.yaml
> -----------------------------------------
>
>                 Key: CASSANDRA-990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-990
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Todd Blose
>            Assignee: Todd Blose
>         Attachments: CASSANDRA-990.patch, cassandra.yaml, cassandra_yaml_w_comments.txt, snakeyaml-1.6.jar, test_conf_cassandra.yaml.txt
>
>
> This is an entire rewrite of the XML storage configuration to YAML, inspired by the discussion in CASSANDRA-671.
> DatabaseDescriptor now parses conf/cassandra.yaml. It behaves the same way as before, but instead of dealing with an XML parse tree, a yaml parser is now created that associates a custom Java class with the entire config (Config). In addition, keyspace and column family YAML entries are deserialized to KSMetaData and CFMetaData instances, respectively.
> This was implemented using SnakeYaml (http://code.google.com/p/snakeyaml/).
> There are numerous benefits to this new approach: 1) a complete shifting away from an outdated, verbose data format 2) a cleaner, less bulky, human-readable config 3) significantly less code 4) simplicity of obtaining default values
> Attached along with the patch are the replacement configurations for conf/cassandra.xml and test/conf/cassandra.xml, to emphasize the benefits of the transition, should the community approve of it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CASSANDRA-990) Replace cassandra.xml with cassandra.yaml

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

Stu Hood updated CASSANDRA-990:
-------------------------------

    Attachment: 0002-Update-tests-for-Yaml-call.patch
                0003-Adjust-test-config-for-global-endpoint-snitch-change.patch
                0004-Fix-references-to-storage-conf.patch

+1
This looks good to me. I had to make a few more changes to get the tests running: attached as 0002-0004. Also, log4j-server.properties should go back to INFO level by default.

Can a committer double check this and get it in with CASSANDRA-1000?

> Replace cassandra.xml with cassandra.yaml
> -----------------------------------------
>
>                 Key: CASSANDRA-990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-990
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Todd Blose
>            Assignee: Todd Blose
>         Attachments: 0002-Update-tests-for-Yaml-call.patch, 0003-Adjust-test-config-for-global-endpoint-snitch-change.patch, 0004-Fix-references-to-storage-conf.patch, CASSANDRA-990.patch, CASSANDRA-990.patch-2, cassandra.yaml, cassandra_yaml_w_comments.txt, snakeyaml-1.6.jar, test_conf_cassandra.yaml.txt
>
>
> This is an entire rewrite of the XML storage configuration to YAML, inspired by the discussion in CASSANDRA-671.
> DatabaseDescriptor now parses conf/cassandra.yaml. It behaves the same way as before, but instead of dealing with an XML parse tree, a yaml parser is now created that associates a custom Java class (Config) with the entire config. In addition, keyspace and column family YAML entries are deserialized to new Keyspace and ColumnFamily instances, respectively.
> This was implemented using SnakeYaml (http://code.google.com/p/snakeyaml/).
> There are numerous benefits to this new approach: 1) a complete shifting away from an outdated, verbose data format 2) a cleaner, less bulky, human-readable config 3) significantly less code 4) simplicity of obtaining default values 5) trivial to update the keyspace and column family schemas
> Attached along with the patch are the replacement configurations for conf/cassandra.xml and test/conf/cassandra.xml, to emphasize the benefits of the transition, should the community approve of it. I included one version with comments and one without.

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


[jira] Updated: (CASSANDRA-990) Replace cassandra.xml with cassandra.yaml

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

Todd Blose updated CASSANDRA-990:
---------------------------------

    Attachment:     (was: cassandra.yaml)

> Replace cassandra.xml with cassandra.yaml
> -----------------------------------------
>
>                 Key: CASSANDRA-990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-990
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Todd Blose
>            Assignee: Todd Blose
>         Attachments: CASSANDRA-990.patch, cassandra.yaml, test_conf_cassandra.yaml.txt
>
>
> This is an entire rewrite of the XML storage configuration to YAML, inspired by the discussion in CASSANDRA-671.
> DatabaseDescriptor now parses conf/cassandra.yaml. It behaves the same way as before, but instead of dealing with an XML parse tree, a yaml parser is now created that associates a custom Java class with the entire config (Config). In addition, keyspace and column family YAML entries are deserialized to KSMetaData and CFMetaData instances, respectively.
> This was implemented using SnakeYaml (http://code.google.com/p/snakeyaml/).
> There are numerous benefits to this new approach: 1) a complete shifting away from an outdated, verbose data format 2) a cleaner, less bulky, human-readable config 3) significantly less code 4) simplicity of obtaining default values
> Attached along with the patch are the replacement configurations for conf/cassandra.xml and test/conf/cassandra.xml, to emphasize the benefits of the transition, should the community approve of it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CASSANDRA-990) Replace cassandra.xml with cassandra.yaml

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

Todd Blose updated CASSANDRA-990:
---------------------------------

    Description: 
This is an entire rewrite of the XML storage configuration to YAML, inspired by the discussion in CASSANDRA-671.

DatabaseDescriptor now parses conf/cassandra.yaml. It behaves the same way as before, but instead of dealing with an XML parse tree, a yaml parser is now created that associates a custom Java class with the entire config (Config). In addition, keyspace and column family YAML entries are deserialized to Keyspace and ColumnFamily instances, respectively.

This was implemented using SnakeYaml (http://code.google.com/p/snakeyaml/).

There are numerous benefits to this new approach: 1) a complete shifting away from an outdated, verbose data format 2) a cleaner, less bulky, human-readable config 3) significantly less code 4) simplicity of obtaining default values 5) the config, keyspaces, and column families may be easily loaded as custom Java classes; therefore, modifying their schema would be trivial

Attached along with the patch are the replacement configurations for conf/cassandra.xml and test/conf/cassandra.xml, to emphasize the benefits of the transition, should the community approve of it. I included one version with comments and one without.

  was:
This is an entire rewrite of the XML storage configuration to YAML, inspired by the discussion in CASSANDRA-671.

DatabaseDescriptor now parses conf/cassandra.yaml. It behaves the same way as before, but instead of dealing with an XML parse tree, a yaml parser is now created that associates a custom Java class with the entire config (Config). In addition, keyspace and column family YAML entries are deserialized to KSMetaData and CFMetaData instances, respectively.

This was implemented using SnakeYaml (http://code.google.com/p/snakeyaml/).

There are numerous benefits to this new approach: 1) a complete shifting away from an outdated, verbose data format 2) a cleaner, less bulky, human-readable config 3) significantly less code 4) simplicity of obtaining default values

Attached along with the patch are the replacement configurations for conf/cassandra.xml and test/conf/cassandra.xml, to emphasize the benefits of the transition, should the community approve of it.


> Replace cassandra.xml with cassandra.yaml
> -----------------------------------------
>
>                 Key: CASSANDRA-990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-990
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Todd Blose
>            Assignee: Todd Blose
>         Attachments: CASSANDRA-990.patch, cassandra.yaml, cassandra_yaml_w_comments.txt, snakeyaml-1.6.jar, test_conf_cassandra.yaml.txt
>
>
> This is an entire rewrite of the XML storage configuration to YAML, inspired by the discussion in CASSANDRA-671.
> DatabaseDescriptor now parses conf/cassandra.yaml. It behaves the same way as before, but instead of dealing with an XML parse tree, a yaml parser is now created that associates a custom Java class with the entire config (Config). In addition, keyspace and column family YAML entries are deserialized to Keyspace and ColumnFamily instances, respectively.
> This was implemented using SnakeYaml (http://code.google.com/p/snakeyaml/).
> There are numerous benefits to this new approach: 1) a complete shifting away from an outdated, verbose data format 2) a cleaner, less bulky, human-readable config 3) significantly less code 4) simplicity of obtaining default values 5) the config, keyspaces, and column families may be easily loaded as custom Java classes; therefore, modifying their schema would be trivial
> Attached along with the patch are the replacement configurations for conf/cassandra.xml and test/conf/cassandra.xml, to emphasize the benefits of the transition, should the community approve of it. I included one version with comments and one without.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (CASSANDRA-990) Replace cassandra.xml with cassandra.yaml

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

Stu Hood commented on CASSANDRA-990:
------------------------------------

Hey Todd, thanks for the update. I talked with a dev, and he agreed that we need a conversion tool to ensure a smooth transition. Could you open another issue to implement that utility, and link it to this issue? They should probably be merged around the same time.

> Replace cassandra.xml with cassandra.yaml
> -----------------------------------------
>
>                 Key: CASSANDRA-990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-990
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Todd Blose
>            Assignee: Todd Blose
>         Attachments: CASSANDRA-990.patch, cassandra.yaml, cassandra_yaml_w_comments.txt, snakeyaml-1.6.jar, test_conf_cassandra.yaml.txt
>
>
> This is an entire rewrite of the XML storage configuration to YAML, inspired by the discussion in CASSANDRA-671.
> DatabaseDescriptor now parses conf/cassandra.yaml. It behaves the same way as before, but instead of dealing with an XML parse tree, a yaml parser is now created that associates a custom Java class (Config) with the entire config. In addition, keyspace and column family YAML entries are deserialized to new Keyspace and ColumnFamily instances, respectively.
> This was implemented using SnakeYaml (http://code.google.com/p/snakeyaml/).
> There are numerous benefits to this new approach: 1) a complete shifting away from an outdated, verbose data format 2) a cleaner, less bulky, human-readable config 3) significantly less code 4) simplicity of obtaining default values 5) trivial to update the keyspace and column family schemas
> Attached along with the patch are the replacement configurations for conf/cassandra.xml and test/conf/cassandra.xml, to emphasize the benefits of the transition, should the community approve of it. I included one version with comments and one without.

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


[jira] Updated: (CASSANDRA-990) Replace cassandra.xml with cassandra.yaml

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

Todd Blose updated CASSANDRA-990:
---------------------------------

    Attachment:     (was: test_conf_cassandra.yaml.txt)

> Replace cassandra.xml with cassandra.yaml
> -----------------------------------------
>
>                 Key: CASSANDRA-990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-990
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Todd Blose
>            Assignee: Todd Blose
>         Attachments: CASSANDRA-990.patch, cassandra.yaml, test_conf_cassandra.yaml.txt
>
>
> This is an entire rewrite of the XML storage configuration to YAML, inspired by the discussion in CASSANDRA-671.
> DatabaseDescriptor now parses conf/cassandra.yaml. It behaves the same way as before, but instead of dealing with an XML parse tree, a yaml parser is now created that associates a custom Java class with the entire config (Config). In addition, keyspace and column family YAML entries are deserialized to KSMetaData and CFMetaData instances, respectively.
> This was implemented using SnakeYaml (http://code.google.com/p/snakeyaml/).
> There are numerous benefits to this new approach: 1) a complete shifting away from an outdated, verbose data format 2) a cleaner, less bulky, human-readable config 3) significantly less code 4) simplicity of obtaining default values
> Attached along with the patch are the replacement configurations for conf/cassandra.xml and test/conf/cassandra.xml, to emphasize the benefits of the transition, should the community approve of it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CASSANDRA-990) Replace cassandra.xml with cassandra.yaml

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

Todd Blose updated CASSANDRA-990:
---------------------------------

    Attachment:     (was: CASSANDRA-990.patch-2)

> Replace cassandra.xml with cassandra.yaml
> -----------------------------------------
>
>                 Key: CASSANDRA-990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-990
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Todd Blose
>            Assignee: Todd Blose
>         Attachments: CASSANDRA-990.patch, CASSANDRA-990.patch-2, cassandra.yaml, cassandra_yaml_w_comments.txt, snakeyaml-1.6.jar, test_conf_cassandra.yaml.txt
>
>
> This is an entire rewrite of the XML storage configuration to YAML, inspired by the discussion in CASSANDRA-671.
> DatabaseDescriptor now parses conf/cassandra.yaml. It behaves the same way as before, but instead of dealing with an XML parse tree, a yaml parser is now created that associates a custom Java class (Config) with the entire config. In addition, keyspace and column family YAML entries are deserialized to new Keyspace and ColumnFamily instances, respectively.
> This was implemented using SnakeYaml (http://code.google.com/p/snakeyaml/).
> There are numerous benefits to this new approach: 1) a complete shifting away from an outdated, verbose data format 2) a cleaner, less bulky, human-readable config 3) significantly less code 4) simplicity of obtaining default values 5) trivial to update the keyspace and column family schemas
> Attached along with the patch are the replacement configurations for conf/cassandra.xml and test/conf/cassandra.xml, to emphasize the benefits of the transition, should the community approve of it. I included one version with comments and one without.

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


[jira] Updated: (CASSANDRA-990) Replace cassandra.xml with cassandra.yaml

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

Todd Blose updated CASSANDRA-990:
---------------------------------

    Attachment: cassandra_yaml_w_comments.txt

> Replace cassandra.xml with cassandra.yaml
> -----------------------------------------
>
>                 Key: CASSANDRA-990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-990
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Todd Blose
>            Assignee: Todd Blose
>         Attachments: CASSANDRA-990.patch, cassandra.yaml, cassandra_yaml_w_comments.txt, test_conf_cassandra.yaml.txt
>
>
> This is an entire rewrite of the XML storage configuration to YAML, inspired by the discussion in CASSANDRA-671.
> DatabaseDescriptor now parses conf/cassandra.yaml. It behaves the same way as before, but instead of dealing with an XML parse tree, a yaml parser is now created that associates a custom Java class with the entire config (Config). In addition, keyspace and column family YAML entries are deserialized to KSMetaData and CFMetaData instances, respectively.
> This was implemented using SnakeYaml (http://code.google.com/p/snakeyaml/).
> There are numerous benefits to this new approach: 1) a complete shifting away from an outdated, verbose data format 2) a cleaner, less bulky, human-readable config 3) significantly less code 4) simplicity of obtaining default values
> Attached along with the patch are the replacement configurations for conf/cassandra.xml and test/conf/cassandra.xml, to emphasize the benefits of the transition, should the community approve of it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CASSANDRA-990) Replace cassandra.xml with cassandra.yaml

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

Todd Blose updated CASSANDRA-990:
---------------------------------

    Attachment:     (was: cassandra_yaml_w_comments.txt)

> Replace cassandra.xml with cassandra.yaml
> -----------------------------------------
>
>                 Key: CASSANDRA-990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-990
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Todd Blose
>            Assignee: Todd Blose
>         Attachments: CASSANDRA-990.patch, cassandra.yaml, snakeyaml-1.6.jar, test_conf_cassandra.yaml.txt
>
>
> This is an entire rewrite of the XML storage configuration to YAML, inspired by the discussion in CASSANDRA-671.
> DatabaseDescriptor now parses conf/cassandra.yaml. It behaves the same way as before, but instead of dealing with an XML parse tree, a yaml parser is now created that associates a custom Java class with the entire config (Config). In addition, keyspace and column family YAML entries are deserialized to Keyspace and ColumnFamily instances, respectively.
> This was implemented using SnakeYaml (http://code.google.com/p/snakeyaml/).
> There are numerous benefits to this new approach: 1) a complete shifting away from an outdated, verbose data format 2) a cleaner, less bulky, human-readable config 3) significantly less code 4) simplicity of obtaining default values 5) the config, keyspaces, and column families may be easily loaded as custom Java classes; therefore, modifying their schema would be trivial
> Attached along with the patch are the replacement configurations for conf/cassandra.xml and test/conf/cassandra.xml, to emphasize the benefits of the transition, should the community approve of it. I included one version with comments and one without.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CASSANDRA-990) Replace cassandra.xml with cassandra.yaml

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

Todd Blose updated CASSANDRA-990:
---------------------------------

    Attachment: test_conf_cassandra.yaml.txt

> Replace cassandra.xml with cassandra.yaml
> -----------------------------------------
>
>                 Key: CASSANDRA-990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-990
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Todd Blose
>            Assignee: Todd Blose
>         Attachments: CASSANDRA-990.patch, cassandra.yaml, test_conf_cassandra.yaml.txt
>
>
> This is an entire rewrite of the XML storage configuration to YAML, inspired by the discussion in CASSANDRA-671.
> DatabaseDescriptor now parses conf/cassandra.yaml. It behaves the same way as before, but instead of dealing with an XML parse tree, a yaml parser is now created that associates a custom Java class with the entire config (Config). In addition, keyspace and column family YAML entries are deserialized to KSMetaData and CFMetaData instances, respectively.
> This was implemented using SnakeYaml (http://code.google.com/p/snakeyaml/).
> There are numerous benefits to this new approach: 1) a complete shifting away from an outdated, verbose data format 2) a cleaner, less bulky, human-readable config 3) significantly less code 4) simplicity of obtaining default values
> Attached along with the patch are the replacement configurations for conf/cassandra.xml and test/conf/cassandra.xml, to emphasize the benefits of the transition, should the community approve of it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CASSANDRA-990) Replace cassandra.xml with cassandra.yaml

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

Todd Blose updated CASSANDRA-990:
---------------------------------

    Attachment: cassandra.yaml
                cassandra.yaml

> Replace cassandra.xml with cassandra.yaml
> -----------------------------------------
>
>                 Key: CASSANDRA-990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-990
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Todd Blose
>            Assignee: Todd Blose
>         Attachments: CASSANDRA-990.patch, cassandra.yaml, cassandra.yaml
>
>
> This is an entire rewrite of the XML storage configuration to YAML, inspired by the discussion in CASSANDRA-671.
> DatabaseDescriptor now parses conf/cassandra.yaml. It behaves the same way as before, but instead of dealing with an XML parse tree, a yaml parser is now created that associates a custom Java class with the entire config (Config). In addition, keyspace and column family YAML entries are deserialized to KSMetaData and CFMetaData instances, respectively.
> This was implemented using SnakeYaml (http://code.google.com/p/snakeyaml/).
> There are numerous benefits to this new approach: 1) a complete shifting away from an outdated, verbose data format 2) a cleaner, less bulky, human-readable config 3) significantly less code 4) simplicity of obtaining default values
> Attached along with the patch are the replacement configurations for conf/cassandra.xml and test/conf/cassandra.xml, to emphasize the benefits of the transition, should the community approve of it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CASSANDRA-990) Replace cassandra.xml with cassandra.yaml

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

Todd Blose updated CASSANDRA-990:
---------------------------------

    Attachment:     (was: CASSANDRA-990.patch)

> Replace cassandra.xml with cassandra.yaml
> -----------------------------------------
>
>                 Key: CASSANDRA-990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-990
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Todd Blose
>            Assignee: Todd Blose
>         Attachments: CASSANDRA-990.patch, cassandra.yaml, cassandra_yaml_w_comments.txt, snakeyaml-1.6.jar, test_conf_cassandra.yaml.txt
>
>
> This is an entire rewrite of the XML storage configuration to YAML, inspired by the discussion in CASSANDRA-671.
> DatabaseDescriptor now parses conf/cassandra.yaml. It behaves the same way as before, but instead of dealing with an XML parse tree, a yaml parser is now created that associates a custom Java class with the entire config (Config). In addition, keyspace and column family YAML entries are deserialized to KSMetaData and CFMetaData instances, respectively.
> This was implemented using SnakeYaml (http://code.google.com/p/snakeyaml/).
> There are numerous benefits to this new approach: 1) a complete shifting away from an outdated, verbose data format 2) a cleaner, less bulky, human-readable config 3) significantly less code 4) simplicity of obtaining default values
> Attached along with the patch are the replacement configurations for conf/cassandra.xml and test/conf/cassandra.xml, to emphasize the benefits of the transition, should the community approve of it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira