Re: Binary Loading Question

2009-10-04 Thread Dan Di Spaltro
Chris, Sorry for the delay. Jbellis figured it out, I am using the OPP and during serialization the Token was null and throwing. I will say after looking through the contrib code, the BMT is pretty odd and especially the way it gets serialized with indexes; then the payload dropped into the valu

Re: Binary Loading Question

2009-09-30 Thread Chris Goffinet
It would be helpful if you could attach your example. Also did you look at the example in contrib by chance? On Sep 30, 2009, at 2:05 PM, Dan Di Spaltro wrote: Okay i get what its doing now... its pretty confusing until I saw jbellis' comments. now when i flush binary it is throwing on the

Re: Binary Loading Question

2009-09-30 Thread Dan Di Spaltro
Okay i get what its doing now... its pretty confusing until I saw jbellis' comments. now when i flush binary it is throwing on the key.toString line because the token is null. When i setup the rowmutation on the client i used StringToken as opposed to big integer but thats because i am not sure w

Re: Binary Loading Question

2009-09-30 Thread Chris Goffinet
It's very jank. I kinda understand where they were coming from on that. Let me think through it some more and open a ticket to improve some of that code. On Wed, Sep 30, 2009 at 12:22 PM, Jonathan Ellis wrote: > So it looks like it takes multiple rows, one per "column" in the > rowmutation. >

Re: Binary Loading Question

2009-09-30 Thread Jonathan Ellis
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 wrote: > Yeah, just eyeballing it > >                ColumnFamilyStore cfStore = > columnFamilyStores_.get(columnFamily.name()

Re: Binary Loading Question

2009-09-30 Thread Jonathan Ellis
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 wrote: > I was trying to binary load some data into an in

Binary Loading Question

2009-09-30 Thread Dan Di Spaltro
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 thi