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

Hudson commented on CASSANDRA-2911:
-----------------------------------

Integrated in Cassandra-0.8 #223 (See 
[https://builds.apache.org/job/Cassandra-0.8/223/])
    Add simplified interfaces to write sstables (for bulk loading)
patch by slebresne; reviewed by jbellis for CASSANDRA-2911

slebresne : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1148267
Files : 
* /cassandra/branches/cassandra-0.8/CHANGES.txt
* 
/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/io/sstable/SSTableSimpleUnsortedWriter.java
* 
/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/io/sstable/SSTableSimpleWriter.java
* 
/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/io/sstable/AbstractSSTableSimpleWriter.java


> Simplified classes to write SSTables (for bulk loading usage)
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-2911
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2911
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>              Labels: bulkloader
>         Attachments: 0001-Add-new-simple-sstable-writer.patch
>
>
> sstableloader only stream existing sstables. If you need to load data 
> existing in another form (json, csv, whatnot), you need to first write the 
> sstable(s) to load. The recommended way to do this is either to use 
> json2sstable or to modify it if your input is not json. Modifying 
> json2sstable is however more involved than it needs to be, you'll need at 
> least some basic understanding of a bunch of internal classes (DecoratedKey, 
> ColumnFamily, SuperColumn, ...). Even for json input, you can use 
> json2sstable only if your json actually conform to what is expected and even 
> then, good luck to someone that want to add counters.
> This ticket proposes to add a simple interface to write sstables. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to