Re: Connection issue with trunk using .net

2010-09-19 Thread Morten Wegelbye Nissen
On 19-09-2010 23:50, Michael Greene wrote: Trunk (and 0.7) use Thrift's framed transport, so you should wrap your TSocket in a TFramedTransport. On 0.6 and earlier you should have been wrapping with a TBufferedTransport for better performance but the framed transport is inherently buffered.

Re: Connection issue with trunk using .net

2010-09-19 Thread Lucas Nodine
try this bit... TTransport transport = new TFramedTransport(new TSocket(Settings.Instance.Host.Address.ToString(), Settings.Instance.Host.Port)); TProtocol protocol = new TBinaryProtocol(transport); Cassandra.Client cassandra = new Cassandra.Client(protocol); HTH, - Lucas On Sun, Sep 19, 2010

Re: Cassandra Cache Mbean values; bytes or number of elements ? and row count

2010-09-19 Thread Aaron Morton
Will take a stab at the answers...1) No, all updates to  the same key are consider the same row. 2) Use the get_count Thrift API function, or 'count; in the cassandra-cli The counts is *not* accurate, as that would require locking the db to prevent updates while the pixies counted the rows. 3) Yes,

Re: 0.7 memory usage problem

2010-09-19 Thread Aaron Morton
Thread pools are part of the architecture, take a look at the SEDA paper referenced at the bottom of this page http://wiki.apache.org/cassandra/ArchitectureInternalsThe number of threads in the pool are used to govern the resources available to that part of the processing pipeline. AaronOn 19 Sep,

unsubscribe

2010-09-19 Thread ke.yuan.whu
2010-09-20 ke.yuan.whu

Re: Connection issue with trunk using .net

2010-09-19 Thread Jonathan Ellis
it doesn't look like you're enabling framed mode. trunk changes framed to default on. On Sun, Sep 19, 2010 at 4:31 PM, Morten Wegelbye Nissen wrote: >  Hello List, > > Knowing this question might be more in the area of thrift then cassandra, > here goes: > > I have been trying to do some researc

Re: Connection issue with trunk using .net

2010-09-19 Thread Michael Greene
Trunk (and 0.7) use Thrift's framed transport, so you should wrap your TSocket in a TFramedTransport. On 0.6 and earlier you should have been wrapping with a TBufferedTransport for better performance but the framed transport is inherently buffered. On Sep 19, 2010, at 4:31 PM, Morten Wegelbye

Connection issue with trunk using .net

2010-09-19 Thread Morten Wegelbye Nissen
Hello List, Knowing this question might be more in the area of thrift then cassandra, here goes: I have been trying to do some research in using cassandra as backend for a system build for .net, but for some reason my client seams to terminat no matter what I do. I am using latest from tr

Re: Bootstrapping stays stuck

2010-09-19 Thread Brandon Williams
On Thu, Sep 16, 2010 at 4:59 PM, Gurpreet Singh wrote: > Thanks to driftx from cassandra IRC channel for helping out. > That's me. :) > This was resolved by increasing the rpc timeout for the bootstrap process. > I suspect that this is a bug, because changing the rpctimeout to bootstrap should

Re: a few generic questions

2010-09-19 Thread Scott Mann
On Sun, Sep 19, 2010 at 11:53 AM, Scott Mann wrote: > Hi Mario, > > I'll take a shot at answering a few of these, but mostly at this > point, I'd recommend looking at the available documentation. Start at > http://wiki.apache.org/cassandra/FrontPage. > > More comments below. > >> >> Removal of dat

unsubscribe

2010-09-19 Thread Kevin Cox

Re: a few generic questions

2010-09-19 Thread Scott Mann
Hi Mario, I'll take a shot at answering a few of these, but mostly at this point, I'd recommend looking at the available documentation. Start at http://wiki.apache.org/cassandra/FrontPage. More comments below. > > Removal of data: > If I delete delete data from my cluster will there over time be

Re: Cassandra Cache Mbean values; bytes or number of elements ? and row count

2010-09-19 Thread kannan chandrasekaran
Thanks again for the replies Jonathan Couple more clarifications 1) Since the sstables are write-once only (append only), does cassandra count the updates to the same key as a separate row ...i.e does the row count include even the old/deleted data ? 2) If I need the count of the rows

complexity of get(key) and get(key, column) operations #2

2010-09-19 Thread Claudio Martella
Hello list, sorry, i forgot a verb... what i meant is "the complexity of the lookup of a row or a row+columns". so: get(key) and get(key, column). Thanks -- Claudio Martella Digital Technologies Unit Research & Development - Analyst TIS innovation park Via Siemens 19 | Siemensstr. 19 39100

complexity of get(key) and get(key, column) operations

2010-09-19 Thread Claudio Martella
Hello list, what is the complexity of specific row and specific row/column with sstable files? Is it O(1)? i'm considering the idea of putting a graph in cassandra's datamodel and i'd like to follow n-length paths in n*O(1). the idea is to create a column family where i store vertices with thei