[ 
https://issues.apache.org/jira/browse/CASSANDRA-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sylvain Lebresne updated CASSANDRA-5894:
----------------------------------------

    Attachment: 5894-v2.txt

I had meant to test this autonomously just after having attached the initial 
patch but got distracted.

Anyway, attaching v2 that fix it working outside of a unit test. I'll note that 
one of the problem for that (not the one that was triggering the first 
exception but a problem nonetheless) is that post-CASSANDRA-5515, 
SSTableWriter.closeAndOpenReader() requires reading the system tables which is 
breaking the AbstractSSTableSimpleWriter (even the existing ones that is).  
Attached v2 fixes this (by adding a SSTableWriter.close() that don't try to 
open the reader and using that in AbstractSSTableSimpleWriter), but if we're 
not confident about commit this patch to 2.0.2 then we'd probably still need to 
extract that part of the patch.


> CQL-aware SSTableWriter
> -----------------------
>
>                 Key: CASSANDRA-5894
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5894
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Tools
>            Reporter: Jonathan Ellis
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 2.0.2
>
>         Attachments: 5894.txt, 5894-v2.txt
>
>
> SSTableSimple[Un]SortedWriter requires defining raw comparators and inserting 
> raw data cells.  We should create a CQL-aware alternative.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to