RE: query statement return empty

2015-07-30 Thread 鄢来琼
The replication factor is 3, and we have tested it using “ALL”/ “QUORUM ”consistency level, the result are in-consistency. But we rewrite it using java or C#, the results are consistency. Thanks. 发件人: Jeff Jirsa [mailto:jeff.ji...@crowdstrike.com] 发送时间: Friday, July 31, 2015 9:15 AM 收件人: user@ca

答复: query statement return empty

2015-07-30 Thread 鄢来琼
Using java/C# rewrite the test case, the results are consistency. Is there any problem for the python driver? 发件人: 鄢来琼 发送时间: Friday, July 31, 2015 9:03 AM 收件人: 'user@cassandra.apache.org' 主题: query statement return empty Hi ALL The result of “select * from t_test where id = 1” statement is not c

Re: query statement return empty

2015-07-30 Thread Jeff Jirsa
What consistency level are you using with your query? What replication factor are you using on your keyspace? Have you run repair? The most likely explanation is that you wrote with low consistency (ANY, ONE, etc), and that one or more replicas does not have the cell. You’re then reading with lo

query statement return empty

2015-07-30 Thread 鄢来琼
Hi ALL The result of “select * from t_test where id = 1” statement is not consistency, Could you tell me why? test case, I = 0; While I < 5: result = cassandra_session.execute(“select ratio from t_test where id = 1”) print result testing result: [Row(ratio=Decimal('0.000'))] [] [Row(ratio=De

Re: AWS multi-region DCs fail to rebuild

2015-07-30 Thread Nate McCall
> > > This happens repeatedly when attempting to run the rebuild on just a > single node > in the US DC (pointing at the EU DC). I have not yet tried any other node > from the > US DC. > > Is this a bug or a configuration error perhaps? I know people out there > are using > AWS for Cassandra - how

Re: AWS multi-region DCs fail to rebuild

2015-07-30 Thread Robert Coli
On Thu, Jul 30, 2015 at 9:23 AM, James Vanns wrote: > Hi. First, some details; > Thanks for including the relevant details in your initial post, it helps a lot. Why are you using 2.2? In general Cassandra, like most software, can lack stability near the bleeding edge. error: Error while rebuil

Re: problem with write_survey

2015-07-30 Thread Robert Coli
On Wed, Jul 29, 2015 at 11:57 PM, wrote: > Do you see this log message? > > > > logger.info("Startup complete, but write survey mode is active, not > becoming an active ring member. Use JMX (StorageService->joinRing()) to > finalize ring joining."); > > > > > > ð Yes ! > If that's the case, I w

Timeout/Crash when insert more than 500 bytes chunks

2015-07-30 Thread noah chanmala
All, Would you please point me to location where I can adjust/reconfig, so that I can insert into Blob field more than 500 bytes chunks without Cluster crash on me. I read from the user forum and saw people were able to insert 50MB chunks. There must be some where that I can adjust. Thanks, Noa

AWS multi-region DCs fail to rebuild

2015-07-30 Thread James Vanns
Hi. First, some details; * Ubuntu 14.04.2 LTS. * Oracle Java 8 * Cassandra 2.2 (from datastax repo) * AWS VPC - two regions (Oregon, Ireland) * A pair of 3 node DCs in a single cluster - 1 DC per region as above * Ec2Snitch (NOT the Ec2MultiRegionSnitch - does not work in a VPC environment) In fo