cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stu Hood (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1000) Create migratory script to generate new YAML config from cassandra.xml
Date Mon, 19 Apr 2010 15:52:50 GMT

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

Stu Hood commented on CASSANDRA-1000:
-------------------------------------

I don't think we should add a dependency on Perl... would it be too much of a pain to whip
this up in Java?

> Create migratory script to generate new YAML config from cassandra.xml
> ----------------------------------------------------------------------
>
>                 Key: CASSANDRA-1000
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1000
>             Project: Cassandra
>          Issue Type: Task
>          Components: Core
>            Reporter: Todd Blose
>            Assignee: Todd Blose
>
> This is to ensure existing users will have no issues making the transition to YAML (CASSANDRA-990).
> The easiest way of accomplishing this to me would involve a single perl script that takes
as input the original XML config. The config would then be handled by an XML parser to extract
the values contained in it. After that phase, the data would then be serialized to YAML and
dumped into the new document, according to the schema outlined in CASSANDRA-990. Therefore,
migrating to the new configuration would involve nothing more than calling the script with
the original configuration file as input.

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


Mime
View raw message