Re: repair performance

2017-03-19 Thread Roland Otta
good point! i did not (so far) i will do that - especially because i often see all compaction threads being used during repair (according to compactionstats). thank you also for your link recommendations. i will go through them. On Sat, 2017-03-18 at 16:54 +, Thakrar, Jayesh wrote: You cha

Re: Error of "You have to be logged in and not anonymous to perform this request"

2017-03-19 Thread Long Quanzheng
Thanks. Good to know that. But that's a little confusing for first time using Cassandra. 2017-03-19 19:16 GMT-07:00 Max Campos : > These commands don’t really mean anything unless you’re using > authentication. If you want to enable roles / authentication / etc, then > follow the instructions in

Re: Grouping time series data into blocks of times

2017-03-19 Thread Jesse Hodges
reading your description it seems like each data point you get is a self contained item, is that right? or are you recalculating some data for the entire block with each new message? On Sun, Mar 19, 2017 at 9:27 PM, Nate McCall wrote: > I think you would be better served by using a streaming sys

Re: Grouping time series data into blocks of times

2017-03-19 Thread Nate McCall
I think you would be better served by using a streaming system like Apache Flink (http://flink.apache.org) and checkpointing occasionally to Cassandra. This is a significant increase in complexity, but you are describing a real-time streaming use case with the need for watermarking time windows an

Re: Error of "You have to be logged in and not anonymous to perform this request"

2017-03-19 Thread Max Campos
These commands don’t really mean anything unless you’re using authentication. If you want to enable roles / authentication / etc, then follow the instructions in the manual: http://cassandra.apache.org/doc/latest/operating/security.html#authentication

Error of "You have to be logged in and not anonymous to perform this request"

2017-03-19 Thread Long Quanzheng
Hi I can't do any actions even with the superuser "cassandra". cassandra@cqlsh> list roles; Unauthorized: Error from server: code=2100 [Unauthorized] message="You have to be logged in and not anonymous to perform this request" cassandra@cqlsh> CREATE USER dba WITH PASSWORD 'bacon' SUPERUSER; Unau

Re: Running cassandra

2017-03-19 Thread Long Quanzheng
Hi I can start my cassandra but I can't do any actions even with the superuser "cassandra". cassandra@cqlsh> list roles; Unauthorized: Error from server: code=2100 [Unauthorized] message="You have to be logged in and not anonymous to perform this request" cassandra@cqlsh> CREATE USER dba WITH PAS

Re: Running cassandra

2017-03-19 Thread benjamin roth
You're welcome! 2017-03-19 18:41 GMT+01:00 Long Quanzheng : > You are RIGHT! > It's working after I remove the env variable GREP_OPTIONS. > > Thanks! > > 2017-03-19 10:08 GMT-07:00 benjamin roth : > >> I once had the same problem. In my case it was the coloured output of >> grep that injected ans

Re: Running cassandra

2017-03-19 Thread Long Quanzheng
You are RIGHT! It's working after I remove the env variable GREP_OPTIONS. Thanks! 2017-03-19 10:08 GMT-07:00 benjamin roth : > I once had the same problem. In my case it was the coloured output of grep > that injected ansi codes into the CS startup command. > > Am 19.03.2017 18:07 schrieb "Long

Re: Running cassandra

2017-03-19 Thread benjamin roth
I once had the same problem. In my case it was the coloured output of grep that injected ansi codes into the CS startup command. Am 19.03.2017 18:07 schrieb "Long Quanzheng" : > Hi > It still doesn't work. > > The real problem is this error: > > Error: Could not find or load main class -ea > > Th

Re: Running cassandra

2017-03-19 Thread Long Quanzheng
Hi It still doesn't work. The real problem is this error: Error: Could not find or load main class -ea Thanks Long On Sun, Mar 19, 2017 at 3:16 AM Vinci wrote: > You need to have a log directory to be able to run cassandra. > > mkdir logs > > then start the cassandra process. > > Ori

Re: How can I scale my read rate?

2017-03-19 Thread James Carman
Have you tried using PreparedStatements? On Sat, Mar 18, 2017 at 9:47 PM S G wrote: > ok, I gave the executeAsync() a try. > Good part is that it was really easy to write the code for that. > Bad part is that it did not had a huge effect on my throughput - I gained > about 5% increase in through

Re: How can I scale my read rate?

2017-03-19 Thread Alain Rastoul
On 19/03/2017 02:54, S G wrote: Forgot to mention that this vmstat picture is for the client-cluster reading from Cassandra. Hi SG, Your numbers are low, 15k req/sec would be ok for a single node, for a 12 nodes cluster, something goes wrong... how do you measure the throughput? As sugge