Hello, I'm trying to help on Cassandra

2011-08-30 Thread Jérémy SEVELLEC
Hello everyone,

Let me present me : I'm Jeremy. I'm French and author of cassandra-unit. I
trying to help on Cassandra.


I'm looking at the
CASSANDRA-2961
 which is about gossip and dead states removal. I'm trying to understand how
unit tests are done about gossip. For now, I've just find some unit test
into org.apache.cassandra.gms but there is not a lot of things.

how did you usually make your gossip tests?

Regards,

-- 
Jérémy


Re: Hello, I'm trying to help on Cassandra

2011-08-30 Thread Jérémy SEVELLEC
ok it's a bit surprising but it is also true that doing this kind of gossip
test with unit tests should not be obvious...

CCM is indeed very useful and works well. I wanted to be sure not to
miss anything with unit test :-)


2011/8/30 Jonathan Ellis 

> Unfortunately, Gossip falls into the category of "usually we have to
> test it manually."
>
> You might be able to do something using ccm [1] and the recently added
> JMX hooks for Gossip [2], as in this script: [3].  But again, if you
> decide to test manually you won't be alone. :)
>
> [1] https://github.com/pcmanus/ccm
> [2] https://issues.apache.org/jira/browse/CASSANDRA-2806
> [3]
> https://issues.apache.org/jira/secure/attachment/12488169/reliable_short_read_0.8.sh
>
> 2011/8/30 Jérémy SEVELLEC :
> > Hello everyone,
> >
> > Let me present me : I'm Jeremy. I'm French and author of cassandra-unit.
> I
> > trying to help on Cassandra.
> >
> >
> > I'm looking at the
> > CASSANDRA-2961<https://issues.apache.org/jira/browse/CASSANDRA-2961>
> >  which is about gossip and dead states removal. I'm trying to understand
> how
> > unit tests are done about gossip. For now, I've just find some unit test
> > into org.apache.cassandra.gms but there is not a lot of things.
> >
> > how did you usually make your gossip tests?
> >
> > Regards,
> >
> > --
> > Jérémy
> >
>
>
>
> --
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of DataStax, the source for professional Cassandra support
> http://www.datastax.com
>



-- 
Jérémy


complete the wiki debian packaging

2011-09-13 Thread Jérémy SEVELLEC
Hi everyone,

I followed the wiki debian packaging to try it

When server connects to the Internet through a proxy, It's possible to have
an other error  when adding publickey
(gpg --keyserver pgp.mit.edu --recv-keys F758CE318D77295D)

the error is like that :

gpg: requesting key 8D77295D from hkp server pgp.mit.edu
gpgkeys: HTTP fetch error 7: couldn't connect to host
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

Simply, It's because the proxy is not set, To correct the problem, you
must set the environment variable http_proxy.

It could be interesting to add this on the wiki to help even more users when
installing cassandra through debian packaging.

regards,

Jérémy


Re: Run configuration in Eclipse

2011-09-26 Thread Jérémy SEVELLEC
Hi,

try adding "file:" like that :
-Dcassandra.config=file:${workspace_loc:cassandra}/test/conf/cassandra.yaml

Regards

Jérémy

2011/9/26 Ruby Stevenson 

> hi, all
>
> I am trying to set up run configuration in Eclipse, the VM argument I
> passed in are as the following, I am pretty sure the path shown below
> is valid, yet I am getting the exception - any help is appreciated.
>
> -Dcassandra.config=${workspace_loc:cassandra}/test/conf/cassandra.yaml
> -Dcassandra-foreground
>
> org.apache.cassandra.config.ConfigurationException: Cannot locate
> /Users/rstevenson/cassandra/test/conf/cassandra.yaml
>at
> org.apache.cassandra.config.DatabaseDescriptor.getStorageConfigURL(DatabaseDescriptor.java:101)
>at
> org.apache.cassandra.config.DatabaseDescriptor.(DatabaseDescriptor.java:111)
>at
> org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:125)
>at
> org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:337)
>at
> org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:106)
>
> Thanks
>
> Ruby
>



-- 
Jérémy


European conf in belgium : Devoxx 2011

2011-10-13 Thread Jérémy SEVELLEC
Hi Everyone,

Do some of you go to Devoxx this year? (to speak or not)
http://www.devoxx.com/display/DV11/Home

If so, it might be cool to try to see and talk to cassandra around a
good Belgian beer

Regards,

-- 
Jérémy


Re: Using quorum to read data

2012-01-10 Thread Jérémy SEVELLEC
Hi,

I think it's what you need :

http://rantav.github.com/hector/build/html/content/services.html


Jérémy

2012/1/10 Michael Vaknine 

> Thank you for your reply
> Do you know if there are documentation of hector I can read to understand
> this behavior?
>
> Thanks
> Michael
>
>
> -Original Message-
> From: sc...@scode.org [mailto:sc...@scode.org] On Behalf Of Peter Schuller
> Sent: Monday, January 09, 2012 5:29 PM
> To: dev@cassandra.apache.org
> Subject: Re: Using quorum to read data
>
> > 2012-01-09 11:58:33,325 WARN
> > [me.prettyprint.cassandra.connection.CassandraHostRetryService] -  > 192.168.80.31(192.168.80.31):9160 host still appears to be down: Unable
> to
> > open transport to 192.168.80.31(192.168.80.31):9160 ,
> > java.net.ConnectException: Connection refused: connect>
> >
> > What am I missing?
>
> That's not a timeout, but a failure to connect. Did you give Hector
> all of the nodes in the cluster or enable auto-discovery? If the above
> is the only error you see, it seems likely that you just need to
> configure your client to talk to the entire cluster.
>
> (I don't remember off hand how to tell hector to use auto-discovery.)
>
> --
> / Peter Schuller (@scode, http://worldmodscode.wordpress.com)
>
>


-- 
Jérémy