Re: Cassandra + Pig + PHP

2010-10-06 Thread Jeff Zhang
rib/hadoop . >> What role did you want PHP to fill? >> Aaron >> >> >> On 06 Oct, 2010,at 06:05 AM, Petr Odut wrote: >> >> Is there any example / tutorial combining these technologies? >> Thanks >> >> -- >> Petr Odut [petr.o...@gmail.com] > > > > -- > Petr Odut [petr.o...@gmail.com] > -- Best Regards Jeff Zhang

Re: Why Cassandra is "space inefficient" compared to MySQL?

2010-05-24 Thread Jeff Zhang
gt; Could you please tell me why? > And please Give me the complete documentation for running Thrift API with > Java to talk to Cassandra in "Red Hat Linux". > > > > > > Thanks, > Sharan > > > -- Best Regards Jeff Zhang

Re: Hector vs cassandra-java-client

2010-05-24 Thread Jeff Zhang
s the better Java client to use?  Hector or > cassandra-java-client or neither? > > it seems Hector is more fully featured and more active as a project in > general. > > What are user experiences with either library?  Any advice? > > Thanks, > Peter -- Best Regards Jeff Zhang

Re: mapreduce from cassandra to cassandra

2010-05-18 Thread Jeff Zhang
BTW, maybe we should create an issue on jira for this problem if the Cassandra committee think it is necessary. On Tue, May 18, 2010 at 5:30 PM, Jeff Zhang wrote: > reuse is not possible, but I think it won't hard for cassandra to > implement a ColumnFamilyOutputFormat. In my o

Re: mapreduce from cassandra to cassandra

2010-05-18 Thread Jeff Zhang
t. On Tue, May 18, 2010 at 5:22 PM, Ran Tavory wrote: > hbase - yes. But is that reusable for cassandra? > > On Tue, May 18, 2010 at 12:17 PM, Jeff Zhang wrote: >> >> I believe it is possible to write result back to cassandra. If I >> remember correctly, HBase has

Re: mapreduce from cassandra to cassandra

2010-05-18 Thread Jeff Zhang
s/asf/cassandra/trunk/src/java/org/apache/cassandra/hadoop/) > My knowledge about hadoop and mr is pretty basic so maybe I'm missing > something simple, lmk, thanks! -- Best Regards Jeff Zhang

Re: how to store file in the cassandra?

2010-04-27 Thread Jeff Zhang
ilability. > However, as others have discussed, they should be split across multiple > columns, or if very big, multiple rows. > I prefer to split by row because this scales better to very large files. > During compaction, as is well noted, Cassandra needs the entire row in > memory, which will cause a FAIL  once you have files more than a few gigs. > Mark -- Best Regards Jeff Zhang

Re: How to permanently delete one key ?

2010-04-27 Thread Jeff Zhang
Thanks Lu, it's helpful. On Wed, Apr 28, 2010 at 11:42 AM, Greg Lu wrote: > Hey Jeff, > I think this article addresses your > question: http://spyced.blogspot.com/2010/02/distributed-deletes-in-cassandra.html > -Greg > > On Tue, Apr 27, 2010 at 10:14 PM, Jeff Zhang wrote

Re: Is Hector a wrapper around thrift?

2010-04-27 Thread Jeff Zhang
ere > anything similiar in python or?) -- Best Regards Jeff Zhang

How to permanently delete one key ?

2010-04-27 Thread Jeff Zhang
delete one key permanently, my guess is that cassandra won't delete the key at once just mark the deleted keys. So when will cassandra do the real deletion operation? -- Best Regards Jeff Zhang

Re: Will cassandra block client ?

2010-04-22 Thread Jeff Zhang
E_WAIT > > On Thu, Apr 22, 2010 at 10:52 AM, Jeff Zhang wrote: >> >> Hi all, >> >> I made too many requests to cassandra , and then after a while, I can >> not connect to it. But I can still connect it from another machine ? >> So does it me

Does anybody work about transaction on cassandra ?

2010-04-22 Thread Jeff Zhang
Hi all, I need transaction support on cassandra, so wondering is anybody work on it ? -- Best Regards Jeff Zhang

Will cassandra block client ?

2010-04-22 Thread Jeff Zhang
Hi all, I made too many requests to cassandra , and then after a while, I can not connect to it. But I can still connect it from another machine ? So does it mean cassandra will block client in some situation ? -- Best Regards Jeff Zhang

TimeoutException when I put very large value

2010-04-20 Thread Jeff Zhang
any way I can use to resolve this problem, what parameter I can use to tune the program ? Thanks -- Best Regards Jeff Zhang

Re: Is that possible to write a file system over Cassandra?

2010-04-16 Thread Jeff Zhang
Yes, we are in a rush at the beginning of this prototype. Now the code structure looks better. On Fri, Apr 16, 2010 at 5:46 AM, Jonathan Ellis wrote: > The strange part is copying the entire cassandra source tree. > > On Thu, Apr 15, 2010 at 8:35 PM, Jeff Zhang wrote: >

Re: Is that possible to write a file system over Cassandra?

2010-04-15 Thread Jeff Zhang
n 0.5, but that is changing in the next > couple of days to match the 0.6 release. > > -Nate > > > > > On Thu, Apr 15, 2010 at 6:35 PM, Jeff Zhang wrote: > > Jonathan, > > > > Previously we use the cassandra-0.6, but we'd like to leverage the hecto

Re: Is that possible to write a file system over Cassandra?

2010-04-15 Thread Jeff Zhang
a-0.5 ? The migration to cassandra-0.6 will cost much ? On Thu, Apr 15, 2010 at 11:50 AM, Jonathan Ellis wrote: > You forked Cassandra 0.5 for that? > > That's... a strange way to do it. > > On Wed, Apr 14, 2010 at 9:36 PM, Jeff Zhang wrote: > > We are currently doing su

Re: Is that possible to write a file system over Cassandra?

2010-04-14 Thread Jeff Zhang
a root row hotspot (at least in the schema which > comes to mind). > -- Best Regards Jeff Zhang

Re: Cassandra cluster can not been installed in different subnet ?

2010-03-28 Thread Jeff Zhang
logs on one of the machines that isn't in the ring? > > On Fri, Mar 26, 2010 at 4:17 AM, Jeff Zhang wrote: > > Hi all, > > > > I have 6 different machines, 4 are in one subnet and the other two are in > > another subnet. The following is the ip addre

What is the limitation of row_count in get_range_slice ?

2010-03-27 Thread Jeff Zhang
. -- Best Regards Jeff Zhang

Re: How to get all the columns under one column family ?

2010-03-26 Thread Jeff Zhang
I have found the api. On Sat, Mar 27, 2010 at 10:13 AM, Jeff Zhang wrote: > Hi all, > > It seems the api of cassandra is a little different from hbase, I am > looking for the api for list all the columns under one column family ? Is > there any way to do this ? Thanks. &g

How to get all the columns under one column family ?

2010-03-26 Thread Jeff Zhang
Hi all, It seems the api of cassandra is a little different from hbase, I am looking for the api for list all the columns under one column family ? Is there any way to do this ? Thanks. -- Best Regards Jeff Zhang

Does Cassandra has size limitation on value ?

2010-03-26 Thread Jeff Zhang
Hi all, I'd like to use Cassandra to store small files, so I wonder whether Cassandra has size limitation on value ? -- Best Regards Jeff Zhang

How to check whether one key exist ?

2010-03-26 Thread Jeff Zhang
Hi all, I'd like to check whether one key exist, currently my solution is to let the cassandra use the OrderPreservingPartitioner, and facilitate the get_key_range() API to check key's existence. I wonder whether there's other ways to do this ? Thanks. -- Best Regards Jeff Zhang

Cassandra cluster can not been installed in different subnet ?

2010-03-26 Thread Jeff Zhang
found that only the first 4 machines are in the ring by using command *bin/nodeprobe -host 10.148.219.12 ring* It looks like the other two machines in different subnet can not been gossiped. Anyone has ideas? How can I solve this problem ? -- Best Regards Jeff Zhang