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

Yuki Morishita updated CASSANDRA-5542:
--------------------------------------

    Attachment: 5542.txt

There are two classes that need to change:

* DatabaseDescriptor
  We need to set memoryAllocator in order to create IndexSummary.

* SSTableLoader
  Create dummy CFMetadata and pass it to SSTableReader.open, so it can use 
default values for bf_fp_chance and index_interval.

I'm not sure if that the best approach for second one though.
                
> BulkLoader is broken in trunk
> -----------------------------
>
>                 Key: CASSANDRA-5542
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5542
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Yuki Morishita
>         Attachments: 5542.txt
>
>
> After CASSANDRA-5015 and CASSANDRA-5521, we need CFMetaData to open 
> SSTable(Reader), especially to get bloom_filter_fp_chance and index_interval.
> When using bulkloader, CFMetaData is not available, so we cannot open SSTable 
> to be streamed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to