Re: Astyanax returns empty row
I ran the tests with only one machine, so the CL_ONE is not the problem. Am i right? 2013/1/15 Hiller, Dean dean.hil...@nrel.gov What is your consistency level set to? If you set it to CL_ONE, you could get different results or is your database constant and unchanging? Dean From: Sávio Teles savio.te...@lupa.inf.ufg.brmailto: savio.te...@lupa.inf.ufg.br Reply-To: user@cassandra.apache.orgmailto:user@cassandra.apache.org user@cassandra.apache.orgmailto:user@cassandra.apache.org Date: Tuesday, January 15, 2013 5:43 AM To: user@cassandra.apache.orgmailto:user@cassandra.apache.org user@cassandra.apache.orgmailto:user@cassandra.apache.org Subject: Astyanax returns empty row sometimes Astyanax returns a empty row for a specific key. For example, on first attempt Astyanax returns a empty row for a specific key, but on the second attempt it returns the desired row. -- Atenciosamente, Sávio S. Teles de Oliveira voice: +55 62 9136 6996 http://br.linkedin.com/in/savioteles Mestrando em Ciências da Computação - UFG Arquiteto de Software Laboratory for Ubiquitous and Pervasive Applications (LUPA) - UFG
Re: Astyanax returns empty row
We have multiple clients reading the same row key. It makes no sense fail in one machine. When we use Thrift, Cassandra always returns the correct result. 2013/1/16 Sávio Teles savio.te...@lupa.inf.ufg.br I ran the tests with only one machine, so the CL_ONE is not the problem. Am i right? -- Atenciosamente, Sávio S. Teles de Oliveira voice: +55 62 9136 6996 http://br.linkedin.com/in/savioteles Mestrando em Ciências da Computação - UFG Arquiteto de Software Laboratory for Ubiquitous and Pervasive Applications (LUPA) - UFG
Re: Astyanax returns empty row
If you think you have located a bug in Astyanax please submit it to https://github.com/Netflix/astyanax Cheers - Aaron Morton Freelance Cassandra Developer New Zealand @aaronmorton http://www.thelastpickle.com On 17/01/2013, at 3:44 AM, Sávio Teles savio.te...@lupa.inf.ufg.br wrote: We have multiple clients reading the same row key. It makes no sense fail in one machine. When we use Thrift, Cassandra always returns the correct result. 2013/1/16 Sávio Teles savio.te...@lupa.inf.ufg.br I ran the tests with only one machine, so the CL_ONE is not the problem. Am i right? -- Atenciosamente, Sávio S. Teles de Oliveira voice: +55 62 9136 6996 http://br.linkedin.com/in/savioteles Mestrando em Ciências da Computação - UFG Arquiteto de Software Laboratory for Ubiquitous and Pervasive Applications (LUPA) - UFG
Astyanax returns empty row
I'm currently using Astyanax 1.56.21 to retrieve a entire row. My code: ColumnListString result = keyspace.prepareQuery(cf_name) .getKey(key) .execute().getResult(); But, sometimes Astyanax returns a empty row for a specific key. For example, on first attempt Astyanax returns a empty row for a specific key, but on the second attempt it returns the desired row. Can someone help me? Thanks in advance. -- Atenciosamente, Sávio S. Teles de Oliveira voice: +55 62 9136 6996 http://br.linkedin.com/in/savioteles Mestrando em Ciências da Computação - UFG Arquiteto de Software Laboratory for Ubiquitous and Pervasive Applications (LUPA) - UFG
Re: Astyanax returns empty row
What is your consistency level set to? If you set it to CL_ONE, you could get different results or is your database constant and unchanging? Dean From: Sávio Teles savio.te...@lupa.inf.ufg.brmailto:savio.te...@lupa.inf.ufg.br Reply-To: user@cassandra.apache.orgmailto:user@cassandra.apache.org user@cassandra.apache.orgmailto:user@cassandra.apache.org Date: Tuesday, January 15, 2013 5:43 AM To: user@cassandra.apache.orgmailto:user@cassandra.apache.org user@cassandra.apache.orgmailto:user@cassandra.apache.org Subject: Astyanax returns empty row sometimes Astyanax returns a empty row for a specific key. For example, on first attempt Astyanax returns a empty row for a specific key, but on the second attempt it returns the desired row.