Re: Jmx_exporter CPU spike

2018-07-09 Thread rajpal reddy
Thanks Ben!. will look into it
> On Jul 9, 2018, at 10:42 AM, Ben Bromhead  wrote:
> 
> Hi Rajpal
> 
> I'd invite you to have a look at 
> https://github.com/zegelin/cassandra-exporter 
>  
> 
> Significantly faster (bypasses JMX rpc stuff, 10ms to collect metrics for 300 
> tables vs 2-3 seconds via JMX), plus the naming/tagging fits far better into 
> the Prometheus world. Still missing a few stats like GC etc, but feel free to 
> submit a PR!
> 
> Ben
> 
> 
> 
> On Mon, Jul 9, 2018 at 12:03 AM Rahul Singh  > wrote:
> How often are you polling the JMX? How much of a spike are you seeing in CPU?
> 
> --
> Rahul Singh
> rahul.si...@anant.us 
> 
> Anant Corporation
> On Jul 5, 2018, 2:45 PM -0500, rajpal reddy  >, wrote:
>> 
>> we have Qualys security scan running causing the cpu spike. We are seeing 
>> the CPU spike only when Jmx metrics are exposed using Jmx_exporter. tried 
>> setting up imx authentication still see cpu spike. if i stop using jmx 
>> exporter we don’t see any cpu spike. is there any thing we have to tune to 
>> make work with Jmx_exporter?
>> 
>> 
>> -
>> To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org 
>> 
>> For additional commands, e-mail: user-h...@cassandra.apache.org 
>> 
>> 
> -- 
> Ben Bromhead
> CTO | Instaclustr 
> +1 650 284 9692
> Reliability at Scale
> Cassandra, Spark, Elasticsearch on AWS, Azure, GCP and Softlayer



Re: Jmx_exporter CPU spike

2018-07-09 Thread rajpal reddy
Hi Rahul,

we use prometheus to pull the metrics every 30 secs. cpu is spiking up to 100%. 
when a qualys scan runs net stat shows 100’s connections from the qualys 
server. if i don’t have imx_exporter it doesn’t open soma connections.
> On Jul 9, 2018, at 12:02 AM, Rahul Singh  wrote:
> 
> How often are you polling the JMX? How much of a spike are you seeing in CPU?
> 
> --
> Rahul Singh
> rahul.si...@anant.us
> 
> Anant Corporation
> On Jul 5, 2018, 2:45 PM -0500, rajpal reddy , wrote:
>> 
>> we have Qualys security scan running causing the cpu spike. We are seeing 
>> the CPU spike only when Jmx metrics are exposed using Jmx_exporter. tried 
>> setting up imx authentication still see cpu spike. if i stop using jmx 
>> exporter we don’t see any cpu spike. is there any thing we have to tune to 
>> make work with Jmx_exporter?
>> 
>> 
>> -
>> To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
>> For additional commands, e-mail: user-h...@cassandra.apache.org
>> 



Re: Installation

2018-07-09 Thread rajpal reddy
We have our infrastructure in cloud so opted for adding new dc with tar.gz then 
removed the old dc with package installation

Sent from my iPhone

> On Jul 9, 2018, at 2:23 PM, rajasekhar kommineni  wrote:
> 
> Hello All,
> 
> I have a cassandra cluster where package installation is done, I want to 
> convert it to tar.gz installation. Is there any procedure to follow.
> 
> Thanks,
> Rajasekhar Kommineni
> 
> 
> -
> To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
> For additional commands, e-mail: user-h...@cassandra.apache.org
> 

-
To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
For additional commands, e-mail: user-h...@cassandra.apache.org



Write Time of a Row in Multi DC Cassandra Cluster

2018-07-09 Thread Saladi Naidu
Cassandra is an eventual consistent DB, how to find when a row is actually 
written in multi DC environment? Here is the problem I am trying to solve 
- I have multi DC (3 DC's) Cassandra cluster/ring - One of the application 
wrote a row to DC1(using Local Quorum)  and within span of 50 ms, it tried to 
read same row from DC2 and could not find the row. Our both DC's have sub milli 
second latency at network level, usually <2 ms. We promised 20 ms consistency. 
In this case Application could not find the row in DC2 in 50 ms
I tried to use "selectWRITETIME(authorizations_json) from token_authorizations 
where " to find  when the Row is written in each DC, but both DC's returned 
same Timestamp. After further research I found that Client V3 onwards Timestamp 
is supplied at Client level so WRITETIME does not help 
"https://docs.datastax.com/en/developer/java-driver/3.4/manual/query_timestamps/;
So how to determine when the row is actually written in each DC?
 Naidu Saladi 


Installation

2018-07-09 Thread rajasekhar kommineni
Hello All,

I have a cassandra cluster where package installation is done, I want to 
convert it to tar.gz installation. Is there any procedure to follow.

Thanks,
Rajasekhar Kommineni


-
To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
For additional commands, e-mail: user-h...@cassandra.apache.org



Cassandra 2FA

2018-07-09 Thread Vitali Dyachuk
Hi,
There is a certificate validation based on the mutual CA this is a 1st
factor, the 2nd factor could be checking the common name of the client
certificate, probably this requires writing a patch, but probably some has
already done that ?

Vitali Djatsuk.


Re: Jmx_exporter CPU spike

2018-07-09 Thread Ben Bromhead
Hi Rajpal

I'd invite you to have a look at
https://github.com/zegelin/cassandra-exporter

Significantly faster (bypasses JMX rpc stuff, 10ms to collect metrics for
300 tables vs 2-3 seconds via JMX), plus the naming/tagging fits far better
into the Prometheus world. Still missing a few stats like GC etc, but feel
free to submit a PR!

Ben



On Mon, Jul 9, 2018 at 12:03 AM Rahul Singh 
wrote:

> How often are you polling the JMX? How much of a spike are you seeing in
> CPU?
>
> --
> Rahul Singh
> rahul.si...@anant.us
>
> Anant Corporation
> On Jul 5, 2018, 2:45 PM -0500, rajpal reddy ,
> wrote:
>
>
> we have Qualys security scan running causing the cpu spike. We are seeing
> the CPU spike only when Jmx metrics are exposed using Jmx_exporter. tried
> setting up imx authentication still see cpu spike. if i stop using jmx
> exporter we don’t see any cpu spike. is there any thing we have to tune to
> make work with Jmx_exporter?
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
> For additional commands, e-mail: user-h...@cassandra.apache.org
>
> --
Ben Bromhead
CTO | Instaclustr 
+1 650 284 9692
Reliability at Scale
Cassandra, Spark, Elasticsearch on AWS, Azure, GCP and Softlayer


Register now for ApacheCon and save $250

2018-07-09 Thread Rich Bowen

Greetings, Apache software enthusiasts!

(You’re getting this because you’re on one or more dev@ or users@ lists 
for some Apache Software Foundation project.)


ApacheCon North America, in Montreal, is now just 80 days away, and 
early bird prices end in just two weeks - on July 21. Prices will be 
going up from $550 to $800 so register NOW to save $250, at 
http://apachecon.com/acna18


And don’t forget to reserve your hotel room. We have negotiated a 
special rate and the room block closes August 24. 
http://www.apachecon.com/acna18/venue.html


Our schedule includes over 100 talks and we’ll be featuring talks from 
dozens of ASF projects.,  We have inspiring keynotes from some of the 
brilliant members of our community and the wider tech space, including:


 * Myrle Krantz, PMC chair for Apache Fineract, and leader in the open 
source financing space
 * Cliff Schmidt, founder of Literacy Bridge (now Amplio) and creator 
of the Talking Book project

 * Bridget Kromhout, principal cloud developer advocate at Microsoft
 * Euan McLeod, Comcast engineer, and pioneer in streaming video

We’ll also be featuring tracks for Geospatial science, Tomcat, 
Cloudstack, and Big Data, as well as numerous other fields where Apache 
software is leading the way. See the full schedule at 
http://apachecon.com/acna18/schedule.html


As usual we’ll be running our Apache BarCamp, the traditional ApacheCon 
Hackathon, and the Wednesday evening Lighting Talks, too, so you’ll want 
to be there.


Register today at http://apachecon.com/acna18 and we’ll see you in Montreal!

--
Rich Bowen
VP, Conferences, The Apache Software Foundation
h...@apachecon.com
@ApacheCon

-
To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
For additional commands, e-mail: user-h...@cassandra.apache.org