Re: Row with many columns

2010-02-18 Thread ruslan usifov
But how can i do range query?, for example get all objects of wolrd? 2010/2/19 Wojciech Kaczmarek > Hi Ruslan, > > I'd model your objects as rows. You can have a concatenation of worldId & > objectId as a key, or just objectId alone. > > > On Thu, Feb 18, 2010

Re: Row with many columns

2010-02-18 Thread ruslan usifov
For example i have worlds with objects in it (stones, trees and so on). In my case worldid is key, objects are supercollums(some extra info or draw) 2010/2/18 Ted Zlatanov > On Thu, 18 Feb 2010 18:05:50 +0300 ruslan usifov > wrote: > > ru> 2010/2/18 Ted Zlatanov > &

Re: Row with many columns

2010-02-18 Thread ruslan usifov
Friends relations, for statistic 2010/2/18 Ted Zlatanov > On Thu, 18 Feb 2010 00:44:17 +0300 ruslan usifov > wrote: > > ru> I have Table where 10 rows have 10 columns about 200 bytes in each > ru> column, So if read only this 10 records only nodes that have this r

Re: Row with many columns

2010-02-17 Thread ruslan usifov
Hm. Pity I have Table where 10 rows have 10 columns about 200 bytes in each column, So if read only this 10 records only nodes that have this rows does work, another nodes are idle. This bad, and cassandra doesn't provide any solution to solve this

Row with many columns

2010-02-17 Thread ruslan usifov
Hello For example if we have table, which have rows with many columns (1 or more) how this data will by partitioned?? I expect that one row may by slit on some nodes. But look at source of cassandra i think that one row store on one node, and never slits, or i be mistaken??

Re: StackOverflowError on high load

2010-02-17 Thread ruslan usifov
I think that you have not enough room for your data. run df -h to see that one of your discs is full 2010/2/17 Ran Tavory > I'm running some high load writes on a pair of cassandra hosts using an > OrderPresenrvingPartitioner and ran into the following error after which one > of the hosts killed

How to increase replications count

2010-02-17 Thread ruslan usifov
Hello If i have worked cluster with replication count 2, how can i increase replication factor to 3, without loss of data??

Re: Bootstrap hung

2010-02-15 Thread ruslan usifov
Yes, for test case 2010/2/15 Jonathan Ellis > are you mixing windows and unix machines in the same cluster? > > On Fri, Feb 12, 2010 at 2:38 PM, ruslan usifov > wrote: > > Also i have problem with StreamInitiateVerbHandler, the problem in > > PendingFile.getTargetFi

Re: Bootstrap hung

2010-02-14 Thread ruslan usifov
org.apache.cassandra.net.FileStreamTask.runMayThrow(FileStreamTask.java:63) at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30) ... 3 more 2010/2/12 Jonathan Ellis > Care to include a stack trace? Those are useful when reporting problems. > > On Fri, Feb 12, 2010 at 2:31 PM, ruslan usifov

Re: Bootstrap hung

2010-02-12 Thread ruslan usifov
Also i have problem with StreamInitiateVerbHandler, the problem in PendingFile.getTargetFile, namely difference in slashes on win and unix, so i change PendingFile.java like this: public PendingFile(String targetFile, long expectedBytes, String table) { targetFile_ = targetFile.rep

Re: Bootstrap hung

2010-02-12 Thread ruslan usifov
Yes

Re: Bootstrap hung

2010-02-12 Thread ruslan usifov
My first node is ander win32, and there is problem in FileStreamTask.java here: public static final int CHUNK_SIZE = 64*1024*1024; On windows this buffer is very big so stream method of class FileStreamTask always fail, i reduce buffer to 32MB, and this works in my case. 2010/2/12 ruslan

Bootstrap hung

2010-02-12 Thread ruslan usifov
Hello I have two nodes. First i on only one node and populate it with records. Then i start second node in bootstrap mode. And it hung. I run ./nodetool many times but it allways print identical results (67108864/240394603) Nothing to grows. And CPU on bootstrap node on 100% freebsd# ./nodetool -

Re: Casandra insert very slow if i use connection pool

2009-11-27 Thread ruslan usifov
My cassandra thrift interface was configured on that port, on one of nodes

Casandra insert very slow if i use connection pool

2009-11-27 Thread ruslan usifov
Hello I use follow python program to insert records into cassandra cluster (i my test case this is two computers). And i have very very slow inserts (1.4 sec per 100 records). lazyboy python lib use round robin to chose which connection need use to insert. from lazyboy import * from lazyboy.key

Re: Why cassandra single node so slow?

2009-11-15 Thread ruslan usifov
Thanks for your answer. I read that doc. But i misunderstand what is 50Gb of Database??? How much records in it? lazyboy use ONE consistency level, and that is good. I don't use multi_gets because they don't need for me and not usefull in my case. I don't think that cassandra has very fast writes

Re: Why cassandra single node so slow?

2009-11-14 Thread ruslan usifov
> and > http://wiki.apache.org/cassandra/FAQ#what_kind_of_hardware_should_i_use > ? > > Cheers > TuxRacer > > > ruslan usifov wrote: > >> Hello! >> >> I'm new in cassandra son i can misunderstand some things. >> >> In follow "benchmar

Why cassandra single node so slow?

2009-11-14 Thread ruslan usifov
Hello! I'm new in cassandra son i can misunderstand some things. In follow "benchmark". I have insert 400 records like this {"value": str(i), "text": "some small text"} I use lazyboy lib (http://github.com/digg/lazyboy) to simplify work with cassandra thrift interface. So my insert python