Re: Upgrade 1.1.10 -> 1.2.4

2013-05-16 Thread Edward Capriolo
Please give an example of the code you are trying to execute. On Thu, May 16, 2013 at 6:26 PM, Everton Lima wrote: > But the problem is that I would like to use Cassandra embeeded? This is > not possible any more? > > > 2013/5/15 Edward Capriolo > >> >> You are doing something wrong. What I was

Re: Upgrade 1.1.10 -> 1.2.4

2013-05-16 Thread Everton Lima
But the problem is that I would like to use Cassandra embeeded? This is not possible any more? 2013/5/15 Edward Capriolo > > You are doing something wrong. What I was suggesting is only a hack for > unit tests. Your not supposed to interact with CassandraServer directly > like that as a client.

Re: Upgrade 1.1.10 -> 1.2.4

2013-05-15 Thread Edward Capriolo
You are doing something wrong. What I was suggesting is only a hack for unit tests. Your not supposed to interact with CassandraServer directly like that as a client. Download hector and use the correct client libraries. On Wed, May 15, 2013 at 5:13 PM, Everton Lima wrote: > But using this code:

Re: Upgrade 1.1.10 -> 1.2.4

2013-05-15 Thread Everton Lima
But using this code: ThriftSessionManager.instance.setCurrentSocket(new InetSocketAddress(9160)); I will need to execute this line every time that I need to do somiething in Cassandra? Like update a collunm family. Thanks for reply. 2013/5/15 Edward Capriolo > If you are using hector it can

Re: Upgrade 1.1.10 -> 1.2.4

2013-05-15 Thread Edward Capriolo
If you are using hector it can setup the embedded server properly. When using the server directly inside cassandra I have run into a similar problem.. https://github.com/edwardcapriolo/cassandra/blob/range-tombstone-thrift/test/unit/org/apache/cassandra/thrift/EndToEndTest.java @BeforeClass publ

Upgrade 1.1.10 -> 1.2.4

2013-05-15 Thread Everton Lima
Hello, someone can help me to use the Object CassandraServer() in version 1.2.4?? I was using this in version 1.1.10, and thats work, but was happening something that I can not solve (sometimes my cpu up to 100% and stay forever) so I decide to do the upgrade. I start the cassandra with EmbeededCa