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.
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
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,
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,
2010-09-20
ke.yuan.whu
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
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
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
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
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
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
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
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
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
15 matches
Mail list logo