there is, I
can't find it, but I can't imagine why it isn't implemented that way, I
feel I am missing something. Please explain!
Alexander Altanis
I am developing a new API call which will read results from multiple
nodes. I am first sending a message to each node and maintain a list of
handlers, one for each message.
However, after all requests are sent, I can only call the handlers' get()
function sequentially, wait for each to finish and
index data?
Thanks in a advance,
Alexander Altanis
Any help on this?
Alexander
> I am trying to retrieve the Row objects for a List of keys, in
> StorageProxy. I accomplish this in two phases: at first I make a List of
> ReadCommands, one for each key, and then I give this list to
> readProtocol().
>
> My problem is that the List returned by read
I am trying to retrieve the Row objects for a List of keys, in
StorageProxy. I accomplish this in two phases: at first I make a List of
ReadCommands, one for each key, and then I give this list to
readProtocol().
My problem is that the List returned by readProtocol() has many Rows in
different ind
I found the solution to this problem. I was sending the same message to
all nodes, with the same ID, and that was apparently causing problems
somehow. It is solved anyway.
Alexander
> Thank you for your answer, however I am pretty sure that's not it. I have
> a small-two node cluster for developm
Thank you for your answer, however I am pretty sure that's not it. I have
a small-two node cluster for development testing, and I have loaded it
with data in a way that responses to my queries usually have about 5
short rows (which I think is not very much).
First of all, if I do it like this,
Hello,
I am reading through getRangeSlice() in StorageProxy, and I am trying to
do roughly the same thing for a join operation I am trying to implement in
Cassandra.
I see that getRangeSlice() loops through all available ranges, and for
each range, it sends a request to the applicable nodes and t
Thank you, I used TFramedTransport as per your suggestion and it works now!
Maybe I should write this up in the wiki? Could you suggest a suitable page?
Alexander
> On Wed, Oct 13, 2010 at 08:21, wrote:
>> I want to create a thrift call and would like to know how to go about
>> it.
>>
>> I thi
I want to create a thrift call and would like to know how to go about it.
I think what I should do is this:
- add my call to cassandra.thrift (eg. string test(1:required string arg),
within 'service Cassandra')
- run thrift -gen java cassandra.thrift
- write a corresponding function in service/
short human-readable
description, as the source is confusing me), and
2) how I can go about implementing support for creating indices on a live
cluster (if it can be done)
Alexander Altanis
ld have Cassandra build a DatabaseDescriptor instance at startup,
> > which could be a class variable of some basic class, and then replace all
> > instances of DatabaseDescriptor.someFunction() with method calls on the
> > object. Will that be enough or are there many more sing
of some basic class, and then replace all
instances of DatabaseDescriptor.someFunction() with method calls on the
object. Will that be enough or are there many more singletons in the code?
Any different suggestions?
Alexander Altanis
> The resource file (cassandra.yaml) is statically defi
puter, as I want the second node to have access to information
from the first node, such as node load for the first cluster and such
(plus even running two separate cassandra instances on the same node seems
to require workarounds and hacks).
Alexander Altanis
-DC rack awareness because Zookeeper is a bit heavy
>> on the bandwidth.
>>
>> Anyway, just to sum it up, my question is this: please explain in brief
>> the reasons why Cassandra is well suited for multi-DC environments.
>>
>> Alexander Altanis
>>
>
>
ra is well suited for multi-DC environments.
Alexander Altanis
16 matches
Mail list logo