Re: Thrift CAS usage

2014-02-13 Thread Sylvain Lebresne
On Thu, Feb 13, 2014 at 12:11 AM, mahesh rajamani wrote: > Hi, > > I am using CAS feature through thrift cas api. > > I am able to set the expected column with some value and use cas through > thrift api. But I am sure what I should set for expected column list to > achieve IF NOT EXIST condition

Re: supervisord and cassandra

2014-02-13 Thread Tristan Seligmann
On 14 February 2014 03:03, David Montgomery wrote: > I only added the -f flag after the first time it did not work. If I dont > use the -f flag. > > cassandra_server:cassandra FATAL Exited too quickly (process log > may have details) Whoops, I got mixed up; the -f param to Cassand

Re: supervisord and cassandra

2014-02-13 Thread Michael Shuler
On 02/13/2014 07:03 PM, David Montgomery wrote: I only added the -f flag after the first time it did not work. If I dont use the -f flag. cassandra_server:cassandra FATAL Exited too quickly (process log may have details) From your original message: > Unrecognized VM option 'St

Re: supervisord and cassandra

2014-02-13 Thread David Montgomery
Hi, I only added the -f flag after the first time it did not work. If I dont use the -f flag. cassandra_server:cassandra FATAL Exited too quickly (process log may have details) On Thu, Feb 13, 2014 at 11:25 PM, Tristan Seligmann wrote: > On 13 February 2014 11:39, David Montg

Re: Dangers of "sudo swapoff --all"

2014-02-13 Thread Michael Shuler
If the machine was using zero bytes of swap, swapoff should be no problem. If it is really using zero swap, and turning it off causes issues, that would be a CentOS kernel bug. It might make better sense to configure the OS settings like sysctl settings, comment swap out in fstab, etc. and re

Re: Thrift CAS usage

2014-02-13 Thread Oleg Dulin
On 2014-02-12 23:11:01 +, mahesh rajamani said: Hi, I am using CAS feature through thrift cas api. I am able to set the expected column with some value and use cas through thrift api. But I am sure what I should set for expected column list to achieve IF NOT EXIST condition for a column.

RE: Dangers of "sudo swapoff --all"

2014-02-13 Thread Donald Smith
I meant to say "Doing "sudo swapon -a" on that node fixed the problem. From: Donald Smith [mailto:donald.sm...@audiencescience.com] Sent: Thursday, February 13, 2014 2:57 PM To: 'user@cassandra.apache.org' Subject: Dangers of "sudo swapoff --all" I followed the recommendations at http://www.data

Dangers of "sudo swapoff --all"

2014-02-13 Thread Donald Smith
I followed the recommendations at http://www.datastax.com/documentation/cassandra/2.0/webhelp/index.html#cassandra/install/installRecommendSettings.html and did: $ sudo swapoff -all on each of the cassandra servers in my test cluster. I noticed, though, that sometimes the cassandra server and

Re: Cass 1.2.11: Replacing a node procedure

2014-02-13 Thread Andrey Ilinykh
decommission http://www.datastax.com/docs/1.1/cluster_management#replacing-a-dead-node On Thu, Feb 13, 2014 at 2:28 PM, Oleg Dulin wrote: > Here is what I am thinking. > > 1) Add the new node with token-1 of the old one and let it bootstrap. > 2) Once it bootstrapped, remove the old node from t

Re: Cass 1.2.11: Replacing a node procedure

2014-02-13 Thread Oleg Dulin
Here is what I am thinking. 1) Add the new node with token-1 of the old one and let it bootstrap. 2) Once it bootstrapped, remove the old node from the ring Now, it is #2 that I need clarification on. Do I use "decommission" or "remove" ? How long should I expect those processes to run ? Reg

Cass 1.2.11: Replacing a node procedure

2014-02-13 Thread Oleg Dulin
Dear Distinguished Colleagues: I have a situation where in the production environment one of the machines is overheating and needs to be serviced. Now, the landscape looks like this: 4 machines in primary DC, 4 machiens in DR DC. Replication factor is 2. I also have a QA environment with 4 m

Re: Cassandra 2.0 with Hadoop 2.x?

2014-02-13 Thread Cyril Scetbon
+1 -- Cyril SCETBON On 07 Feb 2014, at 01:17, Clint Kelly wrote: > Okay neat, hopefully it will look reasonable by the end of the month or so! > :) > > On Thu, Feb 6, 2014 at 4:15 PM, Steven A Robenalt > wrote: >> I am as well. >> >> Thanks, >> Steve >> >> >> >> On Thu, Feb 6, 2014 at

Thrift Server Implementations

2014-02-13 Thread Christopher Wirt
TL;DR: Has anyone ever tried using the new thrift 0.9 TThreadSelectorServer for their thrift server? I did today and have found it performs pretty well. Is this something people would like to see in the C* trunk? Background: Yesterday we upgraded from Cass 1.2.14 to Cass 2.0.5. We

RE: Worse perf after Row Caching version 1.2.5:

2014-02-13 Thread PARASHAR, BHASKARJYA JAY
Thanks a lot Marcus. That explains it. From: Marcus Eriksson [mailto:krum...@gmail.com] Sent: Thursday, February 13, 2014 12:33 AM To: user@cassandra.apache.org Subject: Re: Worse perf after Row Caching version 1.2.5: "select * from " will not populate row cache, but if the row is cached, it wil

Re: Trying to understand why tombstone is being read

2014-02-13 Thread Machiel Groeneveld
We had a similar question, a column inserted with a null value also results in a tombstone. Also see the (closed) issue about this: https://issues.apache.org/jira/browse/CASSANDRA-6674 On 13 Feb 2014, at 16:35, Adam Patacchiola wrote: > I have a table defined in cql like this: > > CREATE TABL

Re: Intermittent long application pauses on nodes

2014-02-13 Thread Keith Wright
You’re running 2.0.* in production? May I ask what C* version and OS? Any hardware details would be appreciated as well. Thx! From: Joel Samuelsson mailto:samuelsson.j...@gmail.com>> Reply-To: "user@cassandra.apache.org" mailto:user@cassandra.apache.org>> Da

Re: Intermittent long application pauses on nodes

2014-02-13 Thread Joel Samuelsson
We have had similar issues and upgrading C* to 2.0.x and Java to 1.7 seems to have helped our issues. 2014-02-13 Keith Wright : > Frank did you ever file a ticket for this issue or find the root cause? I > believe we are seeing the same issues when attempting to bootstrap. > > Thanks > > From:

[Blog] : Storm and Cassandra : A Three Year Retrospective

2014-02-13 Thread Brian O'Neill
A community member asked for a blog post on Storm + Cassandra. FWIW, here was our journey. http://brianoneill.blogspot.com/2014/02/storm-and-cassandra-three-year.html -brian --- Brian O'Neill Chief Technology Officer Health Market Science The Science of Better Results 2700 Horizon Drive € Kin

TimedOutException in Java but not in cqlsh

2014-02-13 Thread Cyril Scetbon
Hi, I get a weird issue with cassandra 1.2.13. As written in the subject, a query executed by class CqlPagingRecordReader raises a TimedOutException exception in Java but I don't have any error when I use it with cqlsh. What's the difference between those 2 ways ? Does cqlsh bypass some configu

Re: How to transfer data from Oracle into Cassandra

2014-02-13 Thread Patricia Gorla
Hi Susheel, What kind of searching are you looking to do? What kind of data do you have stored currently? How much data are you looking to transfer? Cheers, On Thu, Feb 13, 2014 at 12:30 AM, Susheel Kumar < susheel.ku...@thedigitalgroup.net> wrote: > Hi, > > > > Can you please tell me how to

Cass 1.2.11 : java.lang.AssertionError: originally calculated column size

2014-02-13 Thread Oleg Dulin
I am getting these exceptions on one of the nodes, quite often, during compactions: "java.lang.AssertionError: originally calculated column size of 84562492 but now it is 84562600" Usually this is on the same column family. I believe this is preventing compactions from completing, and subs

Trying to understand why tombstone is being read

2014-02-13 Thread Adam Patacchiola
I have a table defined in cql like this: CREATE TABLE chatmessages ( usernamevarchar, spotnamevarchar, id varint, iv varchar, fromuservarchar, fromversion varchar, touser varchar, toversion varchar, datetimetimestamp, data

Re: supervisord and cassandra

2014-02-13 Thread Tristan Seligmann
On 13 February 2014 11:39, David Montgomery wrote: > [program:cassandra] > command = /var/apache-cassandra-<%=@version%>/bin/cassandra -f I'm not familiar with supervisor specifically, but most process supervisors want the supervised process not to fork; that is, remove the -f from the command he

Re: supervisord and cassandra

2014-02-13 Thread David Montgomery
Thanks, do you have a sample of the defaults? I just dont understand why from the command line it works but not from supervisor thanks [include] files = *.supervisor [supervisord] pidfile = /var/run/supervisord.pid nodaemon=false [supervisorctl] serverurl=unix:///var/run/supervisord.sock ;

Re: supervisord and cassandra

2014-02-13 Thread Robert S
Hi David, We've had no problems running C* with supervisor, and your conf.d file is broadly similar to ours. I don't think those errors are anything to do with supervisor. We did however have issues starting C* with the recommended resource limits

supervisord and cassandra

2014-02-13 Thread David Montgomery
omg..wow...can cassandra run under supervisor? this works from the command line as root /var/apache-cassandra-<%=@version%>/bin/cassandra -f this does not work. why? [program:cassandra] command = /var/apache-cassandra-<%=@version%>/bin/cassandra -f #environment=JVM_EXTRA_OPTS="-Dcom.sun.manage