incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Binary Loading Question
Date Wed, 30 Sep 2009 19:22:32 GMT
So it looks like it takes multiple rows, one per "column" in the rowmutation.

Which is confusing and weird if you ask me.

On Wed, Sep 30, 2009 at 1:57 PM, Jonathan Ellis <jbellis@gmail.com> wrote:
> Yeah, just eyeballing it
>
>                ColumnFamilyStore cfStore =
> columnFamilyStores_.get(columnFamily.name());
>
> would make more sense to me.
>
> Got any insight for us, Chris? :)
>
> -Jonathan
>
> On Wed, Sep 30, 2009 at 1:47 PM, Dan Di Spaltro <dan.dispaltro@gmail.com> wrote:
>> I was trying to binary load some data into an instance and ran into a
>> null exception in the process.  So I began looking at the code, and it
>> looks like around Table.java:653 of trunk, that piece of code doesn't
>> really make sense.  I don't understand the internals of Cassandra all
>> that well, but this doesn't seem right.  The null exception came from
>> null cfStore.
>>
>> Either way I am just trying to use the binarymemtable option to load
>> values into cassandra, since I have about 240 million rows to load.
>>
>> {
>>                ColumnFamilyStore cfStore =
>> columnFamilyStores_.get(new String(column.name(), "UTF-8"));
>>                cfStore.applyBinary(key, column.value());
>> }
>>
>> --
>> Dan Di Spaltro
>>
>

Mime
View raw message